add release package and packagelist bots for LEO

This commit is contained in:
Gustavo Yokoyama Ribeiro 2021-08-11 10:44:34 -03:00
parent 918f32ccfd
commit 3f9847b21d

42
gocd/leo.gocd.yaml Normal file
View File

@ -0,0 +1,42 @@
format_version: 3
pipelines:
LEO.RelPkgs:
group: LEO
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:
- script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve -p devel:LEO -s target --only-release-packages --force
Pkglistgen.LEO:
group: LEO
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
timer:
spec: 0 10 * ? * *
only_on_changes: false
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- pkglistgen:
approval:
type: manual
jobs:
LEO_target:
resources:
- repo-checker
tasks:
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p devel:LEO -s target