openSUSE-release-tools/gocd/microos.target.gocd.yaml

309 lines
12 KiB
YAML
Raw Normal View History

2020-08-07 13:22:38 -03:00
format_version: 3
pipelines:
SL-Micro6.0.Images:
group: MicroOS
lock_behavior: unlockWhenFinished
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
2023-10-18 08:11:19 -03:00
- SUSE:ALP:Products:Marble: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
2023-10-18 08:11:19 -03:00
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:ALP:Products:Marble: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 SL-Micro; do
2023-10-18 08:11:19 -03:00
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=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=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: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=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=product" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
SL-Micro6.1.Images.To.Test:
group: MicroOS
lock_behavior: unlockWhenFinished
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- SUSE:SLFO:Products:SL-Micro:6.1_-_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:SL-Micro:6.1 -r images
- Release.Images:
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 SL-Micro; do
osc -A https://api.suse.de release SUSE:SLFO:Products:SL-Micro:6.1 $product
done
sleep 600
for repo in product images; do
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SL-Micro:6.1:ToTest/_result?view=summary&repository=${repo}" | 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:SL-Micro:6.1:ToTest/_result?view=summary&repository=${repo}" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
done
SL-Micro6.1.Images.To.Publish:
group: MicroOS
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- SUSE:SLFO:Products:SL-Micro:6.1_-_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:
- Release.Images:
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:SL-Micro:6.1:ToTest
sleep 600
for repo in product images; do
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SL-Micro:6.1:PUBLISH/_result?view=summary&repository=${repo}" | 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:SL-Micro:6.1:PUBLISH/_result?view=summary&repository=${repo}" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
done
2024-10-03 15:03:47 +02:00
SL-Micro6.2.Images.To.Test:
group: MicroOS
lock_behavior: unlockWhenFinished
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- SUSE:SLFO:Products:SL-Micro:6.2_-_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:SL-Micro:6.2 -r images
- Release.Images:
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 SL-Micro; do
osc -A https://api.suse.de release SUSE:SLFO:Products:SL-Micro:6.2 $product
done
sleep 600
for repo in product images; do
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SL-Micro:6.2:ToTest/_result?view=summary&repository=${repo}" | 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:SL-Micro:6.2:ToTest/_result?view=summary&repository=${repo}" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
done
SL-Micro6.2.Images.To.Publish:
group: MicroOS
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- SUSE:SLFO:Products:SL-Micro:6.2_-_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:
- Release.Images:
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:SL-Micro:6.2:ToTest
sleep 600
for repo in product images; do
while (osc -A https://api.suse.de/ api "/build/SUSE:SLFO:Products:SL-Micro:6.2:PUBLISH/_result?view=summary&repository=${repo}" | 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:SL-Micro:6.2:PUBLISH/_result?view=summary&repository=${repo}" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED
done
2024-05-15 14:19:21 +02:00
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
2024-05-15 15:42:41 +02:00
for product in 000productcompose; do
2024-05-15 14:19:21 +02:00
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