Merge pull request #3120 from Volkano28/sle15sp7

gocd: changes to checkers, stagings and target for SLE15SP7
This commit is contained in:
Eugenio Paolantonio 2024-07-10 11:49:50 +02:00 committed by GitHub
commit b7e71a0af4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 112 additions and 112 deletions

View File

@ -42,7 +42,7 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: ./check_bugowner.py -A https://api.suse.de --verbose --user=bugowner-checker review - script: ./check_bugowner.py -A https://api.suse.de --verbose --user=bugowner-checker review
SLE15SP6.Project: SLE15SP7.Project:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer: timer:
@ -57,11 +57,11 @@ pipelines:
- Run: - Run:
approval: manual approval: manual
jobs: jobs:
SLE_15_SP6: SLE_15_SP7:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP6:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP6:GA - script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP7:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP7:GA
SL-Micro.Project: SL-Micro.Project:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -102,7 +102,7 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: ./origin-manager.py -A https://api.suse.de --debug review - script: ./origin-manager.py -A https://api.suse.de --debug review
S15.SP6.Staging.Bot.Regular: S15.SP7.Staging.Bot.Regular:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer: timer:
@ -130,10 +130,10 @@ pipelines:
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA rebuild osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA list --supersede osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA unselect --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA repair --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA repair --cleanup
rm -rf $tempdir rm -rf $tempdir
SL-Micro.Staging.Bot.Regular: SL-Micro.Staging.Bot.Regular:
group: SLE.Checkers group: SLE.Checkers
@ -169,7 +169,7 @@ pipelines:
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 unselect --cleanup osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 repair --cleanup osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 repair --cleanup
rm -rf $tempdir rm -rf $tempdir
S15.SP6.Staging.Bot.Report: S15.SP7.Staging.Bot.Report:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer: timer:
@ -189,7 +189,7 @@ pipelines:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP6:GA - script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP7:GA
SL-Micro.Staging.Bot.Report: SL-Micro.Staging.Bot.Report:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished

View File

@ -42,7 +42,7 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: ./check_bugowner.py -A https://api.suse.de --verbose --user=bugowner-checker review - script: ./check_bugowner.py -A https://api.suse.de --verbose --user=bugowner-checker review
SLE15SP6.Project: SLE15SP7.Project:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer: timer:
@ -57,11 +57,11 @@ pipelines:
- Run: - Run:
approval: manual approval: manual
jobs: jobs:
SLE_15_SP6: SLE_15_SP7:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP6:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP6:GA - script: ./project-installcheck.py -A https://api.suse.de --debug check --store SUSE:SLE-15-SP7:GA:Staging/dashboard --no-rebuild SUSE:SLE-15-SP7:GA
SL-Micro.Project: SL-Micro.Project:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
@ -102,7 +102,7 @@ pipelines:
- staging-bot - staging-bot
tasks: tasks:
- script: ./origin-manager.py -A https://api.suse.de --debug review - script: ./origin-manager.py -A https://api.suse.de --debug review
S15.SP6.Staging.Bot.Regular: S15.SP7.Staging.Bot.Regular:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer: timer:
@ -130,10 +130,10 @@ pipelines:
ln -s $PWD/osclib $tempdir/.osc-plugins ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir export HOME=$tempdir
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA rebuild osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA rebuild
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA list --supersede osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA list --supersede
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA unselect --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:SLE-15-SP6:GA repair --cleanup osc -A https://api.suse.de staging -p SUSE:SLE-15-SP7:GA repair --cleanup
rm -rf $tempdir rm -rf $tempdir
SL-Micro.Staging.Bot.Regular: SL-Micro.Staging.Bot.Regular:
group: SLE.Checkers group: SLE.Checkers
@ -169,7 +169,7 @@ pipelines:
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 unselect --cleanup osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 unselect --cleanup
osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 repair --cleanup osc -A https://api.suse.de staging -p SUSE:ALP:Products:Marble:6.0 repair --cleanup
rm -rf $tempdir rm -rf $tempdir
S15.SP6.Staging.Bot.Report: S15.SP7.Staging.Bot.Report:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
timer: timer:
@ -189,7 +189,7 @@ pipelines:
resources: resources:
- staging-bot - staging-bot
tasks: tasks:
- script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP6:GA - script: ./staging-report.py --debug -A https://api.suse.de -p SUSE:SLE-15-SP7:GA
SL-Micro.Staging.Bot.Report: SL-Micro.Staging.Bot.Report:
group: SLE.Checkers group: SLE.Checkers
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished

View File

@ -1,7 +1,7 @@
--- ---
format_version: 3 format_version: 3
pipelines: pipelines:
SLE15.SP6.Stagings.RelPkgs: SLE15.SP7.Stagings.RelPkgs:
environment_variables: environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -16,87 +16,87 @@ pipelines:
- Generate.Release.Package: - Generate.Release.Package:
approval: manual approval: manual
jobs: jobs:
SLE.15.SP6.Staging.A: SLE.15.SP7.Staging.A:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:A --staging SUSE:SLE-15-SP7:GA:Staging:A
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.B: SLE.15.SP7.Staging.B:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:B --staging SUSE:SLE-15-SP7:GA:Staging:B
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.C: SLE.15.SP7.Staging.C:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:C --staging SUSE:SLE-15-SP7:GA:Staging:C
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.D: SLE.15.SP7.Staging.D:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:D --staging SUSE:SLE-15-SP7:GA:Staging:D
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.E: SLE.15.SP7.Staging.E:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:E --staging SUSE:SLE-15-SP7:GA:Staging:E
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.F: SLE.15.SP7.Staging.F:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:F --staging SUSE:SLE-15-SP7:GA:Staging:F
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.G: SLE.15.SP7.Staging.G:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:G --staging SUSE:SLE-15-SP7:GA:Staging:G
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.H: SLE.15.SP7.Staging.H:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:H --staging SUSE:SLE-15-SP7:GA:Staging:H
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.S: SLE.15.SP7.Staging.S:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:S --staging SUSE:SLE-15-SP7:GA:Staging:S
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.V: SLE.15.SP7.Staging.V:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:V --staging SUSE:SLE-15-SP7:GA:Staging:V
--only-release-packages --force --only-release-packages --force
SLE.15.SP6.Staging.Y: SLE.15.SP7.Staging.Y:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:Y --staging SUSE:SLE-15-SP7:GA:Staging:Y
--only-release-packages --force --only-release-packages --force
SLE15.SP6.Staging.A: SLE15.SP7.Staging.A:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:A STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:A
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -107,7 +107,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:A_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:A_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -133,7 +133,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -162,9 +162,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.B: SLE15.SP7.Staging.B:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:B STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:B
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -175,7 +175,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:B_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:B_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -201,7 +201,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -230,9 +230,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.C: SLE15.SP7.Staging.C:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:C STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:C
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -243,7 +243,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:C_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:C_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -269,7 +269,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -298,9 +298,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.D: SLE15.SP7.Staging.D:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:D STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:D
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -311,7 +311,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:D_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:D_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -337,7 +337,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -366,9 +366,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.E: SLE15.SP7.Staging.E:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:E STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:E
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -379,7 +379,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:E_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:E_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -405,7 +405,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -434,9 +434,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.F: SLE15.SP7.Staging.F:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:F STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:F
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -447,7 +447,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:F_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:F_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -473,7 +473,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -502,9 +502,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.G: SLE15.SP7.Staging.G:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:G STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:G
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -515,7 +515,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:G_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:G_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -541,7 +541,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -570,9 +570,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.H: SLE15.SP7.Staging.H:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:H STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:H
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -583,7 +583,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:H_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:H_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -609,7 +609,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -638,9 +638,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.S: SLE15.SP7.Staging.S:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:S STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:S
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -651,7 +651,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:S_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:S_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -677,7 +677,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -706,9 +706,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.V: SLE15.SP7.Staging.V:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:V STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:V
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -719,7 +719,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:V_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:V_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -745,7 +745,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:
@ -774,9 +774,9 @@ pipelines:
done done
./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success ./scripts/gocd/report-status.py -A $STAGING_API -p $STAGING_PROJECT -n images:enabled -r standard -s success
SLE15.SP6.Staging.Y: SLE15.SP7.Staging.Y:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:Y STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:Y
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -787,7 +787,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:Y_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:Y_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -813,7 +813,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:

View File

@ -2,7 +2,7 @@
<% stagings = %w(A B C D E F G H S V Y) -%> <% stagings = %w(A B C D E F G H S V Y) -%>
format_version: 3 format_version: 3
pipelines: pipelines:
SLE15.SP6.Stagings.RelPkgs: SLE15.SP7.Stagings.RelPkgs:
environment_variables: environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -18,18 +18,18 @@ pipelines:
approval: manual approval: manual
jobs: jobs:
<% stagings.each do |letter| -%> <% stagings.each do |letter| -%>
SLE.15.SP6.Staging.<%= letter %>: SLE.15.SP7.Staging.<%= letter %>:
resources: resources:
- repo-checker - repo-checker
tasks: tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve - script: ./pkglistgen.py -A https://api.suse.de update_and_solve
--staging SUSE:SLE-15-SP6:GA:Staging:<%= letter %> --staging SUSE:SLE-15-SP7:GA:Staging:<%= letter %>
--only-release-packages --force --only-release-packages --force
<% end -%> <% end -%>
<% stagings.each do |letter| %> <% stagings.each do |letter| %>
SLE15.SP6.Staging.<%= letter %>: SLE15.SP7.Staging.<%= letter %>:
environment_variables: environment_variables:
STAGING_PROJECT: SUSE:SLE-15-SP6:GA:Staging:<%= letter %> STAGING_PROJECT: SUSE:SLE-15-SP7:GA:Staging:<%= letter %>
STAGING_API: https://api.suse.de STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: SLE15.Stagings group: SLE15.Stagings
@ -40,7 +40,7 @@ pipelines:
auto_update: true auto_update: true
destination: repos destination: repos
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA:Staging:<%= letter %>_-_standard.yaml - SUSE:SLE-15-SP7:GA:Staging:<%= letter %>_-_standard.yaml
scripts: scripts:
auto_update: true auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git git: https://github.com/openSUSE/openSUSE-release-tools.git
@ -66,7 +66,7 @@ pipelines:
- repo-checker - repo-checker
tasks: tasks:
- script: |- - script: |-
./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP6:GA -s $STAGING_PROJECT ./scripts/staging-installcheck.py -A $STAGING_API -p SUSE:SLE-15-SP7:GA -s $STAGING_PROJECT
- Update.000product: - Update.000product:
resources: resources:

View File

@ -1,6 +1,6 @@
format_version: 3 format_version: 3
pipelines: pipelines:
SLE15.SP6.Images: SLE15.SP7.Images:
group: SLE15.Target group: SLE15.Target
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
materials: materials:
@ -8,7 +8,7 @@ pipelines:
git: git://botmaster.suse.de/suse-repos.git git: git://botmaster.suse.de/suse-repos.git
auto_update: true auto_update: true
whitelist: whitelist:
- SUSE:SLE-15-SP6:GA_-_images.yaml - SUSE:SLE-15-SP7:GA_-_images.yaml
destination: repos destination: repos
scripts: scripts:
auto_update: true auto_update: true
@ -26,8 +26,8 @@ pipelines:
- script: | - script: |
export PYTHONPATH=scripts export PYTHONPATH=scripts
set -e set -e
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLE-15-SP6:GA -r containerfile ./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLE-15-SP7:GA -r containerfile
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLE-15-SP6:GA -r images ./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLE-15-SP7:GA -r images
- Release.Images.To.Test: - Release.Images.To.Test:
approval: manual approval: manual
@ -40,29 +40,29 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
set -e set -e
CONTAINERS=$(osc -A https://api.suse.de ls SUSE:SLE-15-SP6:GA | grep "^\(cdi\|virt\)-.*-container") CONTAINERS=$(osc -A https://api.suse.de ls SUSE:SLE-15-SP7:GA | grep "^\(cdi\|virt\)-.*-container")
for container in $CONTAINERS; do for container in $CONTAINERS; do
osc -A https://api.suse.de release --target-project=SUSE:SLE-15-SP6:GA:TEST --target-repository=containers -r containerfile SUSE:SLE-15-SP6:GA $container osc -A https://api.suse.de release --target-project=SUSE:SLE-15-SP7:GA:TEST --target-repository=containers -r containerfile SUSE:SLE-15-SP7:GA $container
done done
osc -A https://api.suse.de release --target-project=SUSE:SLE-15-SP6:GA:TEST --target-repository=containers -r images SUSE:SLE-15-SP6:GA sles15-image osc -A https://api.suse.de release --target-project=SUSE:SLE-15-SP7:GA:TEST --target-repository=containers -r images SUSE:SLE-15-SP7:GA sles15-image
PRODUCTS=$(osc -A https://api.suse.de ls SUSE:SLE-15-SP6:GA | grep "^SLES15-SP6" | grep -v release | grep -v : ||:) PRODUCTS=$(osc -A https://api.suse.de ls SUSE:SLE-15-SP7:GA | grep "^SLES15-SP7" | grep -v release | grep -v : ||:)
if [ -z "${PRODUCTS}" ]; then if [ -z "${PRODUCTS}" ]; then
echo "[WARNNING] There is no cloud image to be released" echo "[WARNNING] There is no cloud image to be released"
fi fi
for product in kiwi-templates-Minimal kiwi-templates-Minimal-s390x 000product $PRODUCTS; do for product in kiwi-templates-Minimal kiwi-templates-Minimal-s390x 000product $PRODUCTS; do
osc -A https://api.suse.de release SUSE:SLE-15-SP6:GA $product osc -A https://api.suse.de release SUSE:SLE-15-SP7:GA $product
done done
sleep 600 sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:TEST/_result?view=summary&repository=containers" | grep "result project" | grep -v 'code="published" state="published">'); do while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:TEST/_result?view=summary&repository=containers" | grep "result project" | grep -v 'code="published" state="published">'); do
echo PENDING echo PENDING
sleep 600 sleep 600
done done
osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:TEST/_result?view=summary&repository=containers" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:TEST/_result?view=summary&repository=containers" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:TEST/_result?view=summary&repository=images" | grep "result project" | grep -v 'code="published" state="published">'); do while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:TEST/_result?view=summary&repository=images" | grep "result project" | grep -v 'code="published" state="published">'); do
echo PENDING echo PENDING
sleep 600 sleep 600
done done
osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:TEST/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:TEST/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
- Release.Images.To.Publish: - Release.Images.To.Publish:
approval: manual approval: manual
@ -75,16 +75,16 @@ pipelines:
tasks: tasks:
- script: |- - script: |-
set -e set -e
osc -A https://api.suse.de release SUSE:SLE-15-SP6:GA:TEST osc -A https://api.suse.de release SUSE:SLE-15-SP7:GA:TEST
sleep 600 sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep -v 'code="published" state="published">'); do while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep -v 'code="published" state="published">'); do
echo PENDING echo PENDING
sleep 600 sleep 600
done done
osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep -v 'code="published" state="published">'); do while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep -v 'code="published" state="published">'); do
echo PENDING echo PENDING
sleep 600 sleep 600
done done
osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP6:GA:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP7:GA:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED