Merge pull request #2149 from jberry-suse/origin-manager-update-gocd

origin-manager: switch away from manager_42 and drop old configs
This commit is contained in:
Jimmy Berry 2019-08-09 10:29:01 -05:00 committed by GitHub
commit d73531de78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 66 deletions

View File

@ -1,10 +0,0 @@
---
factory: openSUSE.org:openSUSE:Factory
from_prj: SUSE:SLE-15-SP1:GA
project_preference_order:
- openSUSE.org:openSUSE:Factory
- openSUSE.org:openSUSE:Factory:NonFree
#- openSUSE.org:openSUSE:Leap:15.0:SLE-workarounds
#- openSUSE.org:openSUSE:Leap:15.0
#- openSUSE.org:openSUSE:Leap:15.0:NonFree

View File

@ -1,16 +0,0 @@
---
from_prj: openSUSE:Leap:15.2
project_preference_order:
- SUSE:SLE-15-SP2:GA
- SUSE:SLE-15-SP1:Update
- openSUSE:Leap:15.1:Update
- openSUSE:Leap:15.1
- openSUSE:Leap:15.1:NonFree:Update
- openSUSE:Leap:15.1:NonFree
- openSUSE:Factory
- openSUSE:Factory:NonFree
- openSUSE:Leap:15.2:SLE-workarounds
drop_if_vanished_from:
- SUSE:SLE-15-SP2:GA
- openSUSE:Factory
- openSUSE:Factory:NonFree

View File

@ -48,26 +48,6 @@ pipelines:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-12-SP5:GA:Staging/dashboard --no-rebuild SUSE:SLE-12-SP5:GA
SLE-SP2.Manager42:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */30 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-leaper
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval: manual
jobs:
Run:
timeout: 0
resources:
- staging-bot
tasks:
- script: ./manager_42.py -A https://api.suse.de -c config/manager_42/SUSE:SLE-15-SP2:GA.yml
SLE.Leaper:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
@ -106,6 +86,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

View File

@ -48,26 +48,6 @@ pipelines:
- repo-checker
tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-12-SP5:GA:Staging/dashboard --no-rebuild SUSE:SLE-12-SP5:GA
SLE-SP2.Manager42:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 */30 * ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-leaper
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval: manual
jobs:
Run:
timeout: 0
resources:
- staging-bot
tasks:
- script: ./manager_42.py -A https://api.suse.de -c config/manager_42/SUSE:SLE-15-SP2:GA.yml
SLE.Leaper:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
@ -106,6 +86,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