Merge pull request #2473 from gyr/microos-release

Add release to TEST and PUBLIC for MicroOS
This commit is contained in:
Max Lin 2020-09-03 15:27:18 +08:00 committed by GitHub
commit 1a4894ef0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,3 +43,55 @@ pipelines:
- repo-checker
tasks:
- script: ./scripts/pkglistgen.py -A https://api.suse.de --debug update_and_solve -p SUSE:SLE-15-SP2:Update:Products:MicroOS -s target --force
MicroOS.Images:
group: MicroOS.Target
lock_behavior: unlockWhenFinished
materials:
repos:
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- SUSE:SLE-15-SP2:Update:Products:MicroOS_-_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:SLE-15-SP2:Update:Products:MicroOS -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 SUSE-MicroOS; do
osc -A https://api.suse.de release SUSE:SLE-15-SP2:Update:Products:MicroOS $product
done
- Release.Images.To.Publish:
approval: manual
roles:
- SLE
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-totest-manager
resources:
- staging-bot
tasks:
- script: osc -A https://api.suse.de release SUSE:SLE-15-SP2:Update:Products:MicroOS:TEST