2020-08-07 13:22:38 -03:00
|
|
|
format_version: 3
|
|
|
|
pipelines:
|
2022-05-24 09:39:48 -03:00
|
|
|
SLE-Micro.RelPkgs:
|
2022-04-05 13:13:15 +02:00
|
|
|
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:
|
2023-07-07 08:45:28 -03:00
|
|
|
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve -p SUSE:SLE-15-SP5:Update:Products:Micro55 -s target --only-release-packages --force
|
2020-08-07 13:22:38 -03:00
|
|
|
|
2022-05-24 09:39:48 -03:00
|
|
|
SLE-Micro.Package.Lists:
|
2022-04-05 13:13:15 +02:00
|
|
|
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:
|
2023-07-07 08:45:28 -03:00
|
|
|
- SUSE:SLE-15-SP5:Update:Products:Micro55_-_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:
|
2023-07-07 08:45:28 -03:00
|
|
|
- script: ./scripts/pkglistgen.py -A https://api.suse.de --debug update_and_solve -p SUSE:SLE-15-SP5:Update:Products:Micro55 -s target --force
|
2020-09-02 14:15:53 -03:00
|
|
|
|
2022-05-24 09:39:48 -03:00
|
|
|
SLE-Micro.Images:
|
2022-04-05 13:13:15 +02:00
|
|
|
group: MicroOS
|
2020-09-02 14:15:53 -03:00
|
|
|
lock_behavior: unlockWhenFinished
|
|
|
|
materials:
|
|
|
|
repos:
|
|
|
|
git: git://botmaster.suse.de/suse-repos.git
|
|
|
|
auto_update: true
|
|
|
|
whitelist:
|
2023-07-07 08:45:28 -03:00
|
|
|
- SUSE:SLE-15-SP5:Update:Products:Micro55_-_images.yaml
|
2020-09-02 14:15:53 -03:00
|
|
|
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-07-07 08:45:28 -03:00
|
|
|
./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:SLE-15-SP5:Update:Products:Micro55 -r images
|
2020-09-02 14:15:53 -03:00
|
|
|
|
|
|
|
- Release.Images.To.Test:
|
|
|
|
approval: manual
|
|
|
|
roles:
|
|
|
|
- SLE
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
|
|
|
resources:
|
|
|
|
- staging-bot
|
|
|
|
tasks:
|
|
|
|
- script: |-
|
2022-05-24 09:39:48 -03:00
|
|
|
for product in 000product SLE-Micro; do
|
2023-07-07 08:45:28 -03:00
|
|
|
osc -A https://api.suse.de release SUSE:SLE-15-SP5:Update:Products:Micro55 $product
|
2020-09-02 14:15:53 -03:00
|
|
|
done
|
|
|
|
|
|
|
|
- Release.Images.To.Publish:
|
|
|
|
approval: manual
|
|
|
|
roles:
|
|
|
|
- SLE
|
|
|
|
environment_variables:
|
|
|
|
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
|
|
|
resources:
|
|
|
|
- staging-bot
|
|
|
|
tasks:
|
2023-07-07 08:45:28 -03:00
|
|
|
- script: osc -A https://api.suse.de release SUSE:SLE-15-SP5:Update:Products:Micro55:TEST
|