Add SLE15-SP3 setup.
This commit is contained in:
parent
d66b16f255
commit
7e8204b862
@ -42,6 +42,27 @@ pipelines:
|
|||||||
- repo-checker
|
- repo-checker
|
||||||
tasks:
|
tasks:
|
||||||
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP2:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP2:GA
|
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP2:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP2:GA
|
||||||
|
SLE15SP3.Project:
|
||||||
|
group: SLE.Checkers
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 0 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||||
|
stages:
|
||||||
|
- Run:
|
||||||
|
approval: manual
|
||||||
|
jobs:
|
||||||
|
SLE_15_SP3:
|
||||||
|
timeout: 30
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP3:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP3:GA
|
||||||
SLE.Origin.Manager:
|
SLE.Origin.Manager:
|
||||||
group: SLE.Checkers
|
group: SLE.Checkers
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
@ -119,6 +140,41 @@ pipelines:
|
|||||||
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA unselect --cleanup
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA unselect --cleanup
|
||||||
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA repair --cleanup
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA repair --cleanup
|
||||||
rm -rf $tempdir
|
rm -rf $tempdir
|
||||||
|
S15.SP3.Staging.Bot.Regular:
|
||||||
|
group: SLE.Checkers
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 0 * ? * *
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Run:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
Run:
|
||||||
|
timeout: 30
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
set -e
|
||||||
|
tempdir=$(mktemp -d)
|
||||||
|
mkdir -p $tempdir/.osc-plugins
|
||||||
|
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
|
||||||
|
ln -s $PWD/osclib $tempdir/.osc-plugins
|
||||||
|
export HOME=$tempdir
|
||||||
|
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA rebuild
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA list --supersede
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA adi --by-develproject
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA select --non-interactive --merge --try-strategies
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA unselect --cleanup
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA repair --cleanup
|
||||||
|
rm -rf $tempdir
|
||||||
S15.SP2.Staging.Bot.Report:
|
S15.SP2.Staging.Bot.Report:
|
||||||
group: SLE.Checkers
|
group: SLE.Checkers
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
@ -140,6 +196,27 @@ pipelines:
|
|||||||
- staging-bot
|
- staging-bot
|
||||||
tasks:
|
tasks:
|
||||||
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP2:GA
|
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP2:GA
|
||||||
|
S15.SP3.Staging.Bot.Report:
|
||||||
|
group: SLE.Checkers
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 */3 * ? * *
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Run:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
Run:
|
||||||
|
timeout: 30
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP3:GA
|
||||||
SLE.Source.Check:
|
SLE.Source.Check:
|
||||||
group: SLE.Checkers
|
group: SLE.Checkers
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
|
@ -42,6 +42,27 @@ pipelines:
|
|||||||
- repo-checker
|
- repo-checker
|
||||||
tasks:
|
tasks:
|
||||||
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP2:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP2:GA
|
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP2:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP2:GA
|
||||||
|
SLE15SP3.Project:
|
||||||
|
group: SLE.Checkers
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 0 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-repo-checker
|
||||||
|
stages:
|
||||||
|
- Run:
|
||||||
|
approval: manual
|
||||||
|
jobs:
|
||||||
|
SLE_15_SP3:
|
||||||
|
timeout: 30
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP3:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP3:GA
|
||||||
SLE.Origin.Manager:
|
SLE.Origin.Manager:
|
||||||
group: SLE.Checkers
|
group: SLE.Checkers
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
@ -119,6 +140,41 @@ pipelines:
|
|||||||
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA unselect --cleanup
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA unselect --cleanup
|
||||||
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA repair --cleanup
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP2:GA repair --cleanup
|
||||||
rm -rf $tempdir
|
rm -rf $tempdir
|
||||||
|
S15.SP3.Staging.Bot.Regular:
|
||||||
|
group: SLE.Checkers
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 0 * ? * *
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Run:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
Run:
|
||||||
|
timeout: 30
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
set -e
|
||||||
|
tempdir=$(mktemp -d)
|
||||||
|
mkdir -p $tempdir/.osc-plugins
|
||||||
|
ln -s $PWD/osc-staging.py $tempdir/.osc-plugins
|
||||||
|
ln -s $PWD/osclib $tempdir/.osc-plugins
|
||||||
|
export HOME=$tempdir
|
||||||
|
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA rebuild
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA list --supersede
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA adi --by-develproject
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA select --non-interactive --merge --try-strategies
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA unselect --cleanup
|
||||||
|
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP3:GA repair --cleanup
|
||||||
|
rm -rf $tempdir
|
||||||
S15.SP2.Staging.Bot.Report:
|
S15.SP2.Staging.Bot.Report:
|
||||||
group: SLE.Checkers
|
group: SLE.Checkers
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
@ -140,6 +196,27 @@ pipelines:
|
|||||||
- staging-bot
|
- staging-bot
|
||||||
tasks:
|
tasks:
|
||||||
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP2:GA
|
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP2:GA
|
||||||
|
S15.SP3.Staging.Bot.Report:
|
||||||
|
group: SLE.Checkers
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 */3 * ? * *
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Run:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
Run:
|
||||||
|
timeout: 30
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP3:GA
|
||||||
SLE.Source.Check:
|
SLE.Source.Check:
|
||||||
group: SLE.Checkers
|
group: SLE.Checkers
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
|
800
gocd/sle15sp3-stagings.gocd.yaml
Normal file
800
gocd/sle15sp3-stagings.gocd.yaml
Normal file
@ -0,0 +1,800 @@
|
|||||||
|
---
|
||||||
|
format_version: 3
|
||||||
|
pipelines:
|
||||||
|
SLE15.SP3.Stagings.RelPkgs:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 */10 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
scripts:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Generate.Release.Package:
|
||||||
|
approval: manual
|
||||||
|
jobs:
|
||||||
|
SLE.15.SP3.Staging.A:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:A
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.B:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:B
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.C:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:C
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.D:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:D
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.E:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:E
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.F:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:F
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.G:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:G
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.H:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:H
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.S:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:S
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.V:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:V
|
||||||
|
--only-release-packages --force
|
||||||
|
SLE.15.SP3.Staging.Y:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:Y
|
||||||
|
--only-release-packages --force
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.A:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:A
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:A_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.B:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:B
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:B_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.C:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:C
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:C_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.D:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:D
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:D_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.E:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:E
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:E_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.F:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:F
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:F_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.G:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:G
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:G_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.H:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:H
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:H_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.S:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:S
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:S_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.V:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:V
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:V_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
||||||
|
SLE15.SP3.Staging.Y:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:Y
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:Y_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
|
93
gocd/sle15sp3-stagings.gocd.yaml.erb
Normal file
93
gocd/sle15sp3-stagings.gocd.yaml.erb
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
---
|
||||||
|
<% stagings = %w(A B C D E F G H S V Y) -%>
|
||||||
|
format_version: 3
|
||||||
|
pipelines:
|
||||||
|
SLE15.SP3.Stagings.RelPkgs:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 */10 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
scripts:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Generate.Release.Package:
|
||||||
|
approval: manual
|
||||||
|
jobs:
|
||||||
|
<% stagings.each do |letter| -%>
|
||||||
|
SLE.15.SP3.Staging.<%= letter %>:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
|
||||||
|
--staging SUSE:SLE-15-SP3:GA:Staging:<%= letter %>
|
||||||
|
--only-release-packages --force
|
||||||
|
<% end -%>
|
||||||
|
<% stagings.each do |letter| %>
|
||||||
|
SLE15.SP3.Staging.<%= letter %>:
|
||||||
|
environment_variables:
|
||||||
|
STAGING_PROJECT: SUSE:SLE-15-SP3:GA:Staging:<%= letter %>
|
||||||
|
STAGING_API: https://api.suse.de
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
group: SLE15.SP3.Stagings
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
stagings:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA:Staging:<%= letter %>_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
stages:
|
||||||
|
- Checks:
|
||||||
|
jobs:
|
||||||
|
Check.Build.Succeeds:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s pending
|
||||||
|
./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
|
||||||
|
Repo.Checker:
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP3:GA -s $STAGING_PROJECT
|
||||||
|
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
export PYTHONPATH=$PWD/scripts
|
||||||
|
cd scripts/gocd
|
||||||
|
|
||||||
|
if ../pkglistgen.py --debug -A $STAGING_API update_and_solve --staging $STAGING_PROJECT --force; then
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s success
|
||||||
|
else
|
||||||
|
./report-status.py -A $STAGING_API -p $STAGING_PROJECT -n packagelists -r standard -s failure
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- Enable.images.repo:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
osc -A $STAGING_API api -X POST "/source/$STAGING_PROJECT?cmd=remove_flag&repository=images&flag=build"
|
||||||
|
|
||||||
|
<% end -%>
|
98
gocd/sp3.target.gocd.yaml
Normal file
98
gocd/sp3.target.gocd.yaml
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
format_version: 3
|
||||||
|
pipelines:
|
||||||
|
SLE15.SP3.RelPkgs:
|
||||||
|
group: SLE15.SP3.Target
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
timer:
|
||||||
|
spec: 0 10 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
stages:
|
||||||
|
- Create.Release.Packages:
|
||||||
|
approval: manual
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve -p SUSE:SLE-15-SP3:GA -s target --only-release-packages --force
|
||||||
|
|
||||||
|
SLE15.SP3.Package.Lists:
|
||||||
|
group: SLE15.SP3.Target
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
repos:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
destination: repos
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA_-_standard.yaml
|
||||||
|
scripts:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
auto_update: true
|
||||||
|
destination: scripts
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
stages:
|
||||||
|
- Update.000product:
|
||||||
|
resources:
|
||||||
|
- repo-checker
|
||||||
|
tasks:
|
||||||
|
- script: ./scripts/pkglistgen.py -A https://api.suse.de --debug update_and_solve -p SUSE:SLE-15-SP3:GA -s target --force
|
||||||
|
|
||||||
|
SLE15.SP3.Images:
|
||||||
|
group: SLE15.SP3.Target
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
materials:
|
||||||
|
repos:
|
||||||
|
git: git://botmaster.suse.de/suse-repos.git
|
||||||
|
auto_update: true
|
||||||
|
whitelist:
|
||||||
|
- SUSE:SLE-15-SP3:GA_-_images.yaml
|
||||||
|
destination: repos
|
||||||
|
scripts:
|
||||||
|
auto_update: true
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
whitelist:
|
||||||
|
- DO_NOT_TRIGGER
|
||||||
|
destination: scripts
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
stages:
|
||||||
|
- Expect.Images.To.Finish:
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |
|
||||||
|
export PYTHONPATH=scripts
|
||||||
|
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLE-15-SP3:GA -r images
|
||||||
|
|
||||||
|
- Release.Images.To.Test:
|
||||||
|
approval: manual
|
||||||
|
roles:
|
||||||
|
- SLE
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
PRODUCTS=$(osc -A https://api.suse.de ls SUSE:SLE-15-SP3:GA | grep "^SLE" | grep -v release)
|
||||||
|
for product in kiwi-templates-JeOS 000product $PRODUCTS; do
|
||||||
|
osc -A https://api.suse.de release SUSE:SLE-15-SP3:GA $product
|
||||||
|
done
|
||||||
|
|
||||||
|
- Release.Images.To.Publish:
|
||||||
|
approval: manual
|
||||||
|
roles:
|
||||||
|
- SLE
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: osc -A https://api.suse.de release SUSE:SLE-15-SP3:GA:TEST
|
Loading…
x
Reference in New Issue
Block a user