Skip to content

Commit

Permalink
Merge pull request #3075 from gleidi-suse/product-composer-sl-micro
Browse files Browse the repository at this point in the history
gocd: microos: Completely switch to product composer.
  • Loading branch information
gleidi-suse authored Apr 29, 2024
2 parents 58b3d97 + 6c5e720 commit 94b4fd3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gocd/microos.target.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ pipelines:
tasks:
- script: |-
set -e
for product in 000product SL-Micro; do
for product in 000productcompose SL-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
while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:ToTest/_result?view=summary&repository=product" | 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
osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:ToTest/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
- Release.Images.To.Publish:
approval: manual
Expand All @@ -61,8 +61,8 @@ pipelines:
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
while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:PUBLISH/_result?view=summary&repository=product" | 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
osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Marble:6.0:PUBLISH/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED

0 comments on commit 94b4fd3

Please sign in to comment.