Skip to content

Commit

Permalink
Merge pull request #3067 from g7/target-errors
Browse files Browse the repository at this point in the history
gocd: sp/micro-targets: ensure the pipeline exits on failures
  • Loading branch information
gyr committed Mar 15, 2024
2 parents 5f5f9db + 330aa29 commit b086253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gocd/microos.target.gocd.yaml
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions gocd/sp.target.gocd.yaml
Expand Up @@ -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
Expand Down

0 comments on commit b086253

Please sign in to comment.