Merge pull request #3067 from g7/target-errors

gocd: sp/micro-targets: ensure the pipeline exits on failures
This commit is contained in:
Gustavo Yokoyama Ribeiro 2024-03-15 09:23:36 -03:00 committed by GitHub
commit b0862531f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@ pipelines:
- staging-bot
tasks:
- script: |-
set -e
for product in 000product SLE-Micro; do
osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0 $product
done
@ -57,6 +58,7 @@ pipelines:
- staging-bot
tasks:
- script: |-
set -e
osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0:ToTest
sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep -v 'code="published" state="published">'); do

View File

@ -74,6 +74,7 @@ pipelines:
- staging-bot
tasks:
- script: |-
set -e
osc -A https://api.suse.de release SUSE:SLE-15-SP6:GA:TEST
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