From ef3614884839da9dfc2f187022571ce10b0bdb6e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 31 May 2019 18:56:36 +0200 Subject: [PATCH 1/2] The last leaper service from packagelists --- gocd/checkers.opensuse.gocd.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gocd/checkers.opensuse.gocd.yaml b/gocd/checkers.opensuse.gocd.yaml index ad589e94..df517951 100644 --- a/gocd/checkers.opensuse.gocd.yaml +++ b/gocd/checkers.opensuse.gocd.yaml @@ -189,3 +189,21 @@ pipelines: - staging-bot tasks: - script: ./check_source_in_factory.py --factory openSUSE:Factory --factory openSUSE:Leap:15.0:Update --factory openSUSE:Leap:15.0 --factory openSUSE:Leap:15.0:Update --factory openSUSE:Leap:15.0 --review-mode=fallback-onfail --fallback-group=backports-reviewers --verbose review + Leaper: + group: openSUSE.Checkers + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-leaper + materials: + script: + git: https://github.com/openSUSE/openSUSE-release-tools.git + timer: + spec: 0 */5 * ? * * + only_on_changes: false + stages: + - Run: + approval: manual + resources: + - staging-bot + tasks: + - script: ./leaper.py -A https://api.opensuse.org --verbose --manual-version-updates --manual-maintenance-updates review From 918a0f978b006831ece1440046a6a4751e859f5a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 31 May 2019 19:01:56 +0200 Subject: [PATCH 2/2] Reuse the staging-bot container for manager_42 We don't need globally installed config - it's in git --- config/manager_42/SUSE:SLE-15-SP1:GA.yml | 10 ++++++++++ gocd/checkers.suse.gocd.yaml.erb | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 config/manager_42/SUSE:SLE-15-SP1:GA.yml diff --git a/config/manager_42/SUSE:SLE-15-SP1:GA.yml b/config/manager_42/SUSE:SLE-15-SP1:GA.yml new file mode 100644 index 00000000..02e29050 --- /dev/null +++ b/config/manager_42/SUSE:SLE-15-SP1:GA.yml @@ -0,0 +1,10 @@ +--- +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 + diff --git a/gocd/checkers.suse.gocd.yaml.erb b/gocd/checkers.suse.gocd.yaml.erb index 4abfdefd..b4701ee6 100644 --- a/gocd/checkers.suse.gocd.yaml.erb +++ b/gocd/checkers.suse.gocd.yaml.erb @@ -65,9 +65,9 @@ pipelines: Run: timeout: 0 resources: - - leaper + - staging-bot tasks: - - script: python3 /usr/bin/osrt-manager_42 -A https://api.suse.de -c /etc/openSUSE-release-tools/manager_42/SUSE:SLE-15-SP1:GA.yml + - script: ./manager_42.py -A https://api.suse.de -c config/manager_42/SUSE:SLE-15-SP1:GA.yml SLE.Repochecker: group: SLE.Checkers lock_behavior: unlockWhenFinished