gocd: add more subprojects to ALP pkglistgen
This commit is contained in:
parent
1eb9923a9f
commit
bde2b8abae
@ -1,24 +1,5 @@
|
||||
format_version: 3
|
||||
pipelines:
|
||||
ALP.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 SUSE:ALP -s target --only-release-packages --force
|
||||
|
||||
Pkglistgen.ALP:
|
||||
group: LEO
|
||||
lock_behavior: unlockWhenFinished
|
||||
@ -35,8 +16,33 @@ pipelines:
|
||||
approval:
|
||||
type: manual
|
||||
jobs:
|
||||
LEO_target:
|
||||
SUSE_ALP_target:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP -s target
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP -s target
|
||||
SUSE_ALP_ARM_target:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:ARM -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:ARM -s target
|
||||
SUSE_ALP_PowerPC:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:PowerPC -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:PowerPC -s target
|
||||
SUSE_ALP_zSystems:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:zSystems -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:zSystems -s target
|
||||
SUSE_ALP_RISCV:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:RISCV -s target --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p SUSE:ALP:RISCV -s target
|
||||
|
35
gocd/alp.gocd.yaml.erb
Normal file
35
gocd/alp.gocd.yaml.erb
Normal file
@ -0,0 +1,35 @@
|
||||
format_version: 3
|
||||
pipelines:
|
||||
Pkglistgen.ALP:
|
||||
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:
|
||||
<% ['SUSE:ALP/target', 'SUSE:ALP:ARM/target', 'SUSE:ALP:PowerPC', 'SUSE:ALP:zSystems', 'SUSE:ALP:RISCV'].each do |project|
|
||||
project=project.split('/')
|
||||
name=project[0].gsub(':', '_')
|
||||
if project.size > 1
|
||||
options=" -s #{project[1]}"
|
||||
name = name + "_#{project[1]}"
|
||||
else
|
||||
options=" -s target"
|
||||
end
|
||||
-%>
|
||||
<%= name %>:
|
||||
resources:
|
||||
- repo-checker
|
||||
tasks:
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %> --only-release-packages --force
|
||||
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %>
|
||||
<% end -%>
|
Loading…
x
Reference in New Issue
Block a user