Merge pull request #3172 from gleidi-suse/micro-6.2-pipelines
gocd: Add pipelines for Micro 6.2.
This commit is contained in:
commit
d0f75c36cc
@ -153,6 +153,93 @@ pipelines:
|
|||||||
done
|
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
|
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
|
done
|
||||||
|
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
|
||||||
SLCS.Images:
|
SLCS.Images:
|
||||||
group: MicroOS
|
group: MicroOS
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
|
Loading…
x
Reference in New Issue
Block a user