Merge pull request #3067 from g7/target-errors
gocd: sp/micro-targets: ensure the pipeline exits on failures
This commit is contained in:
commit
b0862531f2
@ -37,6 +37,7 @@ pipelines:
|
|||||||
- staging-bot
|
- staging-bot
|
||||||
tasks:
|
tasks:
|
||||||
- script: |-
|
- script: |-
|
||||||
|
set -e
|
||||||
for product in 000product SLE-Micro; do
|
for product in 000product SLE-Micro; do
|
||||||
osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0 $product
|
osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0 $product
|
||||||
done
|
done
|
||||||
@ -57,6 +58,7 @@ pipelines:
|
|||||||
- staging-bot
|
- staging-bot
|
||||||
tasks:
|
tasks:
|
||||||
- script: |-
|
- script: |-
|
||||||
|
set -e
|
||||||
osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0:ToTest
|
osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0:ToTest
|
||||||
sleep 600
|
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
|
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
|
||||||
|
@ -74,6 +74,7 @@ pipelines:
|
|||||||
- staging-bot
|
- staging-bot
|
||||||
tasks:
|
tasks:
|
||||||
- script: |-
|
- script: |-
|
||||||
|
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-SP6: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-SP6:GA:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep -v 'code="published" state="published">'); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user