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

98 lines
3.0 KiB
YAML
Raw Normal View History

2020-08-07 13:22:38 -03:00
format_version: 3
pipelines:
SLE-Micro.RelPkgs:
group: MicroOS
2020-08-07 13:22:38 -03:00
lock_behavior: unlockWhenFinished
timer:
spec: 0 10 * ? * *
only_on_changes: false
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
stages:
- Create.Release.Packages:
approval: manual
resources:
- repo-checker
tasks:
2022-11-17 08:40:17 -03:00
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s target --only-release-packages --force
2020-08-07 13:22:38 -03:00
SLE-Micro.Package.Lists:
group: MicroOS
2020-08-07 13:22:38 -03:00
lock_behavior: unlockWhenFinished
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
destination: repos
whitelist:
2022-11-17 08:40:17 -03:00
- SUSE:SLE-15-SP4:Update:Products:Micro54_-_standard.yaml
2020-08-07 13:22:38 -03:00
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
auto_update: true
destination: scripts
whitelist:
- DO_NOT_TRIGGER
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
stages:
- Update.000product:
resources:
- repo-checker
tasks:
2022-11-17 08:40:17 -03:00
- script: ./scripts/pkglistgen.py -A https://api.suse.de --debug update_and_solve -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s target --force
SLE-Micro.Images:
group: MicroOS
lock_behavior: unlockWhenFinished
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
2022-11-17 08:40:17 -03:00
- SUSE:SLE-15-SP4:Update:Products:Micro54_-_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
2022-11-17 08:40:17 -03:00
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLE-15-SP4:Update:Products:Micro54 -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
2022-11-17 08:40:17 -03:00
osc -A https://api.suse.de release SUSE:SLE-15-SP4:Update:Products:Micro54 $product
done
- Release.Images.To.Publish:
approval: manual
roles:
- SLE
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-totest-manager
resources:
- staging-bot
tasks:
2022-11-17 08:40:17 -03:00
- script: osc -A https://api.suse.de release SUSE:SLE-15-SP4:Update:Products:Micro54:TEST