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

54 lines
1.6 KiB
YAML
Raw Normal View History

2020-08-07 13:22:38 -03:00
format_version: 3
pipelines:
SLE-Micro.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: |-
for product in 000product SLE-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
- Release.Images.To.Publish:
approval: manual
roles:
- SLE
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-totest-manager
resources:
- staging-bot
tasks:
2023-10-18 08:11:19 -03:00
- script: osc -A https://api.suse.de release SUSE:ALP:Products:Marble:6.0:ToTest