Skip to content

Commit

Permalink
Release SUSE:SLE-15-SP3:GA sles-image into :TEST and :PUBLISH
Browse files Browse the repository at this point in the history
Introduce a different route for publishing sles15-image.
  • Loading branch information
Vogtinator committed Apr 1, 2021
1 parent e6a45eb commit 6719fa5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gocd/sp3.target.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ pipelines:
osc -A https://api.suse.de release SUSE:SLE-15-SP3:GA $product
done
PRODUCTS_NDB=$(osc -A https://api.suse.de ls SUSE:SLE-15-SP3:GA | grep "^SLES15-SP3" | grep -v release)
for product_ndb in $PRODUCTS_NDB ; do
for product_ndb in sles15-image $PRODUCTS_NDB ; do
osc -A https://api.suse.de release SUSE:SLE-15-SP3:GA $product_ndb -r images-ndb --target-project SUSE:SLE-15-SP3:GA:TEST --target-repository images
done
# For backwards compat, to be removed
osc -A https://api.suse.de release SUSE:SLE-15-SP3:Update:CR sles15-image
sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLE-15-SP3:GA:TEST/_result?view=summary&repository=images" | grep "result project" | grep -v 'code="published" state="published">'); do
Expand Down Expand Up @@ -161,7 +162,7 @@ pipelines:
osc -A https://api.suse.de release SUSE:SLE-15-SP3:GA $product
done
PRODUCTS_NDB=$(osc -A https://api.suse.de ls SUSE:SLE-15-SP3:GA | grep "^SLES15-SP3" | grep -v release)
for product_ndb in $PRODUCTS_NDB ; do
for product_ndb in sles15-image $PRODUCTS_NDB ; do
osc -A https://api.suse.de release SUSE:SLE-15-SP3:GA $product_ndb -r images-ndb --target-project SUSE:SLE-15-SP3:GA:TEST --target-repository images
done
osc -A https://api.suse.de release SUSE:SLE-15-SP3:Update:CR sles15-image
Expand Down

0 comments on commit 6719fa5

Please sign in to comment.