openSUSE-release-tools/gocd/sle15sp2-stagings.gocd.yaml
2019-07-04 21:39:54 +02:00

602 lines
21 KiB
YAML

---
format_version: 3
pipelines:
SLE15.SP2.Stagings.RelPkgs:
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.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.SP2.Staging.A:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:A
--only-release-packages --force
SLE.15.SP2.Staging.B:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:B
--only-release-packages --force
SLE.15.SP2.Staging.C:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:C
--only-release-packages --force
SLE.15.SP2.Staging.D:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:D
--only-release-packages --force
SLE.15.SP2.Staging.E:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:E
--only-release-packages --force
SLE.15.SP2.Staging.F:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:F
--only-release-packages --force
SLE.15.SP2.Staging.G:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:G
--only-release-packages --force
SLE.15.SP2.Staging.H:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:H
--only-release-packages --force
SLE.15.SP2.Staging.S:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:S
--only-release-packages --force
SLE.15.SP2.Staging.V:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:V
--only-release-packages --force
SLE.15.SP2.Staging.Y:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP2:GA:Staging:Y
--only-release-packages --force
SLE15.SP2.Staging.A:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:A
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.B:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:B
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.C:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:C
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.D:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:D
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.E:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:E
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.F:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:F
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.G:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:G
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.H:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:H
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.S:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:S
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.V:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:V
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi
SLE15.SP2.Staging.Y:
environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP2:GA:Staging:Y
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.SP2.Stagings
lock_behavior: unlockWhenFinished
materials:
stagings:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
- SUSE:SLE-15-SP2: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:
- Check.Build.Succeeds:
resources:
- staging-bot
tasks:
- script: |-
export PYTHONPATH=$PWD/scripts
cd scripts/gocd
python3 ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s pending
python3 ./verify-repo-built-successful.py -A $STAGING_API -p $STAGING_PROJECT -r standard
- 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
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s success
else
python ./report-status.py -A $STAGING_API -p $STAGING_PROJECT -r standard -s failure
exit 1
fi