Skip to content

Commit

Permalink
Merge pull request #3043 from gyr/MarbleTarget
Browse files Browse the repository at this point in the history
Add timer to monitor release finished for SLE-Micro
  • Loading branch information
gyr authored Jan 3, 2024
2 parents 8a4e3e1 + 2a72809 commit 6478168
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion gocd/microos.target.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ pipelines:
for product in 000product SLE-Micro; do
osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0 $product
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:
approval: manual
Expand All @@ -50,4 +56,11 @@ pipelines:
resources:
- staging-bot
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

0 comments on commit 6478168

Please sign in to comment.