Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify project and repository when release SLES16 #3179

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions gocd/sles.target.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ pipelines:
tasks:
- script: |-
set -e
for product in kiwi-templates-Minimal 000productcompose agama-installer-SLES; do
osc -A https://api.suse.de release SUSE:SLFO:Products:SLES:16.0 $product
for image in agama-installer-SLES kiwi-templates-Minimal; do
osc -A https://api.suse.de release --target-project=SUSE:SLFO:Products:SLES:16.0:TEST --target-repository=images -r images SUSE:SLFO:Products:SLES:16.0 $image
done
osc -A https://api.suse.de release --target-project=SUSE:SLFO:Products:SLES:16.0:TEST --target-repository=product -r product SUSE:SLFO:Products:SLES:16.0 000productcompose
sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLES:16.0:TEST/_result?view=summary&repository=product" | grep "result project" | grep -v 'code="published" state="published">'); do
echo PENDING
Expand All @@ -64,9 +65,10 @@ pipelines:
tasks:
- script: |-
set -e
for product in kiwi-templates-Minimal 000productcompose agama-installer-SLES; do
osc -A https://api.suse.de release SUSE:SLFO:Products:SLES:16.0:TEST $product
for image in agama-installer-SLES kiwi-templates-Minimal; do
osc -A https://api.suse.de release --target-project=SUSE:SLFO:Products:SLES:16.0:PUBLISH --target-repository=images -r images SUSE:SLFO:Products:SLES:16.0:TEST $image
done
osc -A https://api.suse.de release --target-project=SUSE:SLFO:Products:SLES:16.0:PUBLISH --target-repository=product -r product SUSE:SLFO:Products:SLES:16.0:TEST 000productcompose
sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLES:16.0:PUBLISH/_result?view=summary&repository=product" | grep "result project" | grep -v 'code="published" state="published">'); do
echo PENDING
Expand Down Expand Up @@ -108,9 +110,10 @@ pipelines:
tasks:
- script: |-
set -e
for product in kiwi-templates-Minimal 000productcompose agama-installer-SLES; do
osc -A https://api.suse.de release SUSE:SLFO:Products:SLES:16.0:TEST $product
for image in agama-installer-SLES kiwi-templates-Minimal; do
osc -A https://api.suse.de release --target-project=SUSE:SLFO:Products:SLES:16.0:PUBLISH --target-repository=images -r images SUSE:SLFO:Products:SLES:16.0:TEST $image
done
osc -A https://api.suse.de release --target-project=SUSE:SLFO:Products:SLES:16.0:PUBLISH --target-repository=product -r product SUSE:SLFO:Products:SLES:16.0:TEST 000productcompose
sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLES:16.0:PUBLISH/_result?view=summary&repository=product" | grep "result project" | grep -v 'code="published" state="published">'); do
echo PENDING
Expand Down
Loading