openSUSE-release-tools/gocd/sle15sp4-stagings.gocd.yaml

844 lines
31 KiB
YAML
Raw Normal View History

2020-07-03 10:11:53 -03:00
---
format_version: 3
pipelines:
2021-06-09 10:27:11 -03:00
SLE15.SP4.Stagings.RelPkgs:
2020-07-03 10:11:53 -03:00
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 * ? * *
2020-07-03 10:11:53 -03:00
only_on_changes: false
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Generate.Release.Package:
approval: manual
jobs:
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.A:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:A
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.B:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:B
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.C:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:C
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.D:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:D
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.E:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:E
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.F:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:F
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.G:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:G
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.H:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:H
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.S:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:S
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.V:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:V
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE.15.SP4.Staging.Y:
2020-07-03 10:11:53 -03:00
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
2021-06-09 10:27:11 -03:00
--staging SUSE:SLE-15-SP4:GA:Staging:Y
2020-07-03 10:11:53 -03:00
--only-release-packages --force
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.A:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:A
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:A_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.B:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:B
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:B_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.C:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:C
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:C_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.D:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:D
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:D_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.E:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:E
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:E_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.F:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:F
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:F_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.G:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:G
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:G_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.H:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:H
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:H_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.S:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:S
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:S_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.V:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:V
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:V_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
2020-07-03 10:11:53 -03:00
2021-06-09 10:27:11 -03:00
SLE15.SP4.Staging.Y:
2020-07-03 10:11:53 -03:00
environment_variables:
2021-06-09 10:27:11 -03:00
STAGING_PROJECT: SUSE:SLE-15-SP4:GA:Staging:Y
2020-07-03 10:11:53 -03:00
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
2021-06-09 10:27:11 -03:00
group: SLE15.SP4.Stagings
2020-07-03 10:11:53 -03:00
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2021-06-09 10:27:11 -03:00
- SUSE:SLE-15-SP4:GA:Staging:Y_-_standard.yaml
2020-07-03 10:11:53 -03:00
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: |-
2021-06-09 10:27:11 -03:00
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP4:GA -s $STAGING_PROJECT
2020-07-03 10:11:53 -03:00
- 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"
export PYTHONPATH=$PWD/scripts
while osc -A $STAGING_API api "/build/$STAGING_PROJECT/_result?view=summary&repository=images" | grep 'dirty=.true.'; do
sleep 60
done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success