Skip to content

Commit

Permalink
Merge pull request #3081 from fcrozat/slcs
Browse files Browse the repository at this point in the history
add SLCS 6.0
  • Loading branch information
fcrozat authored May 15, 2024
2 parents 7b5a3b7 + 767542c commit f2820d7
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions gocd/microos.target.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,69 @@ pipelines:
sleep 600
done
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
SLCS.Images:
group: MicroOS
lock_behavior: unlockWhenFinished
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- SUSE:SLFO:Products:SLCS:6.0_-_images.yaml
destination: repos
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
whitelist:
- DO_NOT_TRIGGER
destination: scripts
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
stages:
- Expect.Images.To.Finish:
resources:
- staging-bot
tasks:
- script: |
export PYTHONPATH=scripts
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLFO:Products:SLCS:6.0 -r images
- Release.Images.To.Test:
approval: manual
roles:
- SLE
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-totest-manager
resources:
- staging-bot
tasks:
- script: |-
set -e
for product in 000productcompose SLCS; do
osc -A https://api.suse.de release SUSE:SLFO:Products:SLCS:6.0 $product
done
sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLCS: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:SLFO:Products:SLCS:6.0:ToTest/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
- Release.Images.To.Publish:
approval: manual
roles:
- SLE
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-totest-manager
resources:
- staging-bot
tasks:
- script: |-
set -e
osc -A https://api.suse.de release SUSE:SLFO:Products:SLCS:6.0:ToTest
sleep 600
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SLCS: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:SLFO:Products:SLCS:6.0:PUBLISH/_result?view=summary&repository=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED

0 comments on commit f2820d7

Please sign in to comment.