Skip to content

Commit

Permalink
Monitor the release of Mimimal-VM images in SLES16
Browse files Browse the repository at this point in the history
  • Loading branch information
gyr committed Jul 16, 2024
1 parent f3350aa commit d735bd9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gocd/sles.target.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ pipelines:
sleep 600
done
osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLES:16.0:TEST/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLES:16.0:TEST/_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:SLFO:Products:SLES:16.0:TEST/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
- Release.Images.To.Publish:
approval: manual
Expand All @@ -66,3 +71,8 @@ pipelines:
sleep 600
done
osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLES:16.0:PUBLISH/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLES:16.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:SLFO:Products:SLES:16.0:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED

0 comments on commit d735bd9

Please sign in to comment.