Merge pull request #3043 from gyr/MarbleTarget
Add timer to monitor release finished for SLE-Micro
This commit is contained in:
commit
6478168ac7
@ -40,6 +40,12 @@ pipelines:
|
|||||||
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
|
||||||
|
sleep 600
|
||||||
|
while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:ToTest/_result?view=summary&repository=images" | grep "result project" | grep -v 'code="published" state="published">'); do
|
||||||
|
echo PENDING
|
||||||
|
sleep 600
|
||||||
|
done
|
||||||
|
osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:ToTest/_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
|
||||||
@ -50,4 +56,11 @@ pipelines:
|
|||||||
resources:
|
resources:
|
||||||
- staging-bot
|
- staging-bot
|
||||||
tasks:
|
tasks:
|
||||||
- script: osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0:ToTest
|
- script: |-
|
||||||
|
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
|
||||||
|
echo PENDING
|
||||||
|
sleep 600
|
||||||
|
done
|
||||||
|
osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user