Merge pull request #2631 from gyr/qr-setup

Add pipeline to setup QR home project
This commit is contained in:
Stephan Kulow 2021-09-14 07:37:37 +02:00 committed by GitHub
commit b25b3f35a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View File

@ -368,3 +368,26 @@ pipelines:
sed -e 's,home:maintenance-installcheck:15-SP3:QR,SUSE:SLE-15-SP3:Update:QR,' -i *
osc ci -m 'Fix repoid'
osc sr --yes SUSE:SLE-15-SP3:Update:QR -m 'Update Package List'
SLE15.SP3.QR.Setup:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-maintenance-installcheck
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
stages:
- Run:
approval:
type: manual
jobs:
Run:
resources:
- repo-checker
tasks:
- script: |-
osc -A https://api.suse.de bco SUSE:SLE-15-SP3:Update:QR 000package-groups home:maintenance-installcheck:15-SP3:QR
for package in 000product 000release-packages; do
osc -A https://api.suse.de copypac SUSE:SLE-15-SP3:GA $package home:maintenance-installcheck:15-SP3:QR
done

View File

@ -312,3 +312,28 @@ pipelines:
osc ci -m 'Fix repoid'
osc sr --yes SUSE:SLE-15-<%= servicepack %>:Update:QR -m 'Update Package List'
<% end -%>
<% ['SP3'].each do |servicepack| -%>
SLE15.<%= servicepack %>.QR.Setup:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-maintenance-installcheck
materials:
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
destination: scripts
stages:
- Run:
approval:
type: manual
jobs:
Run:
resources:
- repo-checker
tasks:
- script: |-
osc -A https://api.suse.de bco SUSE:SLE-15-<%= servicepack %>:Update:QR 000package-groups home:maintenance-installcheck:15-<%= servicepack %>:QR
for package in 000product 000release-packages; do
osc -A https://api.suse.de copypac SUSE:SLE-15-<%= servicepack %>:GA $package home:maintenance-installcheck:15-<%= servicepack %>:QR
done
<% end -%>