Merge pull request #3102 from gleidi-suse/decouple_to_test_publish

gocd: sl-micro: Decouple publishing to :PUBLISH project, from publishing to :ToTest.
This commit is contained in:
Giacomo Leidi 2024-06-10 14:41:03 +02:00 committed by GitHub
commit fe74cce047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ pipelines:
sleep 600 sleep 600
done done
osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:PUBLISH/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:PUBLISH/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
SL-Micro6.1.Images: SL-Micro6.1.Images.To.Test:
group: MicroOS group: MicroOS
lock_behavior: unlockWhenFinished lock_behavior: unlockWhenFinished
materials: materials:
@ -93,7 +93,7 @@ pipelines:
export PYTHONPATH=scripts export PYTHONPATH=scripts
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLFO:Products:SL-Micro:6.1 -r images ./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLFO:Products:SL-Micro:6.1 -r images
- Release.Images.To.Test: - Release.Images:
approval: manual approval: manual
roles: roles:
- SLE - SLE
@ -115,8 +115,25 @@ pipelines:
done done
osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SL-Micro:6.1:ToTest/_result?view=summary&repository=${repo}" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SL-Micro:6.1:ToTest/_result?view=summary&repository=${repo}" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
done done
SL-Micro6.1.Images.To.Publish:
- Release.Images.To.Publish: group: MicroOS
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- SUSE:SLFO:Products:SL-Micro:6.1_-_images.yaml
destination: repos
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
whitelist:
- DO_NOT_TRIGGER
destination: scripts
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
stages:
- Release.Images:
approval: manual approval: manual
roles: roles:
- SLE - SLE