gocd/checkers.suse: add S15.SP2.Origin.Manager.Update job.

This commit is contained in:
Jimmy Berry
2019-08-08 16:10:51 -05:00
parent 410ee5140a
commit 91b991e959
2 changed files with 48 additions and 0 deletions

View File

@@ -106,6 +106,30 @@ pipelines:
- staging-bot
tasks:
- script: ./origin-manager.py -A https://api.suse.de --debug review
S15.SP2.Origin.Manager.Update:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-origin-manager
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
timer:
spec: 0 7 * ? * *
only_on_changes: false
stages:
- Run:
approval: manual
resources:
- staging-bot
tasks:
- script: |-
tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-origin.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins
HOME=$tempdir osc -A https://api.suse.de origin -p SUSE:SLE-15-SP2:GA update
rm -rf $tempdir
S15.SP2.Staging.Bot.Regular:
group: SLE.Checkers
lock_behavior: unlockWhenFinished