pkglistgen needs to run in the python3 container
Merge leap and factory pkglistgen config - they are very much the same
This commit is contained in:
parent
03a548021a
commit
531173bdc3
@ -1,74 +0,0 @@
|
|||||||
format_version: 3
|
|
||||||
pipelines:
|
|
||||||
Pkglistgen.openSUSE_Factory:
|
|
||||||
group: Factory.pkglistgen
|
|
||||||
lock_behavior: unlockWhenFinished
|
|
||||||
environment_variables:
|
|
||||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
||||||
timer:
|
|
||||||
spec: 0 40 * ? * *
|
|
||||||
only_on_changes: false
|
|
||||||
materials:
|
|
||||||
git:
|
|
||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
||||||
stages:
|
|
||||||
- pkglistgen:
|
|
||||||
approval:
|
|
||||||
type: manual
|
|
||||||
jobs:
|
|
||||||
openSUSE_Factory_target:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory -s target
|
|
||||||
openSUSE_Factory_rings:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory -s rings
|
|
||||||
openSUSE_Factory_ARM:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:ARM
|
|
||||||
openSUSE_Factory_PowerPC:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:PowerPC
|
|
||||||
openSUSE_Factory_zSystems:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:zSystems
|
|
||||||
Update.Repos.Factory:
|
|
||||||
group: Factory.pkglistgen
|
|
||||||
lock_behavior: unlockWhenFinished
|
|
||||||
environment_variables:
|
|
||||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
||||||
timer:
|
|
||||||
spec: 0 0 21 ? * *
|
|
||||||
only_on_changes: false
|
|
||||||
materials:
|
|
||||||
git:
|
|
||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
||||||
stages:
|
|
||||||
- Update:
|
|
||||||
approval:
|
|
||||||
type: manual
|
|
||||||
jobs:
|
|
||||||
openSUSE_Factory:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory
|
|
||||||
openSUSE_Factory_ARM:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:ARM
|
|
||||||
openSUSE_Factory_PowerPC:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:PowerPC
|
|
@ -1,55 +0,0 @@
|
|||||||
format_version: 3
|
|
||||||
pipelines:
|
|
||||||
Pkglistgen.openSUSE_Factory:
|
|
||||||
group: Factory.pkglistgen
|
|
||||||
lock_behavior: unlockWhenFinished
|
|
||||||
environment_variables:
|
|
||||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
||||||
timer:
|
|
||||||
spec: 0 40 * ? * *
|
|
||||||
only_on_changes: false
|
|
||||||
materials:
|
|
||||||
git:
|
|
||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
||||||
stages:
|
|
||||||
- pkglistgen:
|
|
||||||
approval:
|
|
||||||
type: manual
|
|
||||||
jobs:
|
|
||||||
<% ['openSUSE:Factory/target', 'openSUSE:Factory/rings', 'openSUSE:Factory:ARM', 'openSUSE:Factory:PowerPC', 'openSUSE:Factory:zSystems'].each do |project|
|
|
||||||
project=project.split('/')
|
|
||||||
name=project[0].gsub(':', '_')
|
|
||||||
if project.size > 1
|
|
||||||
options="-s #{project[1]}"
|
|
||||||
name = name + "_#{project[1]}"
|
|
||||||
end
|
|
||||||
-%>
|
|
||||||
<%= name %>:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %> <%= options %>
|
|
||||||
<% end -%>
|
|
||||||
Update.Repos.Factory:
|
|
||||||
group: Factory.pkglistgen
|
|
||||||
lock_behavior: unlockWhenFinished
|
|
||||||
environment_variables:
|
|
||||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
||||||
timer:
|
|
||||||
spec: 0 0 21 ? * *
|
|
||||||
only_on_changes: false
|
|
||||||
materials:
|
|
||||||
git:
|
|
||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
||||||
stages:
|
|
||||||
- Update:
|
|
||||||
approval:
|
|
||||||
type: manual
|
|
||||||
jobs:
|
|
||||||
<% %w(openSUSE:Factory openSUSE:Factory:ARM openSUSE:Factory:PowerPC).each do |project| -%>
|
|
||||||
<%= project.gsub(':', '_') %>:
|
|
||||||
resources:
|
|
||||||
- repo-checker3
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
|
|
||||||
<% end -%>
|
|
@ -1,63 +0,0 @@
|
|||||||
format_version: 3
|
|
||||||
pipelines:
|
|
||||||
Pkglistgen.openSUSE_Leap:
|
|
||||||
group: Leap.15.1.pkglistgen
|
|
||||||
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:
|
|
||||||
openSUSE_Leap_15.1:
|
|
||||||
resources:
|
|
||||||
- repo-checker
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1 -s target
|
|
||||||
openSUSE_Leap_15.1_Ring:
|
|
||||||
resources:
|
|
||||||
- repo-checker
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1 -s rings
|
|
||||||
openSUSE_Leap_15.1_ARM:
|
|
||||||
resources:
|
|
||||||
- repo-checker
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1:ARM
|
|
||||||
openSUSE_Leap_15.1_PowerPC:
|
|
||||||
resources:
|
|
||||||
- repo-checker
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1:PowerPC
|
|
||||||
Update.Repos.Leap:
|
|
||||||
group: Leap.15.1.pkglistgen
|
|
||||||
lock_behavior: unlockWhenFinished
|
|
||||||
environment_variables:
|
|
||||||
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
|
||||||
timer:
|
|
||||||
spec: 0 0 21 ? * *
|
|
||||||
only_on_changes: false
|
|
||||||
materials:
|
|
||||||
git:
|
|
||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
|
||||||
stages:
|
|
||||||
- Update:
|
|
||||||
approval:
|
|
||||||
type: manual
|
|
||||||
jobs:
|
|
||||||
Leap:
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1
|
|
||||||
Leap_ARM:
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1:ARM
|
|
||||||
Leap_PowerPC:
|
|
||||||
tasks:
|
|
||||||
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1:PowerPC
|
|
141
gocd/pkglistgen.opensuse.gocd.yaml
Normal file
141
gocd/pkglistgen.opensuse.gocd.yaml
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
format_version: 3
|
||||||
|
pipelines:
|
||||||
|
Pkglistgen.openSUSE_Factory:
|
||||||
|
group: Factory.pkglistgen
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
timer:
|
||||||
|
spec: 0 40 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- pkglistgen:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
openSUSE_Factory_target:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory -s target
|
||||||
|
openSUSE_Factory_rings:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory -s rings
|
||||||
|
openSUSE_Factory_ARM:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:ARM
|
||||||
|
openSUSE_Factory_PowerPC:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:PowerPC
|
||||||
|
openSUSE_Factory_zSystems:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:zSystems
|
||||||
|
Update.Repos.Factory:
|
||||||
|
group: Factory.pkglistgen
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
timer:
|
||||||
|
spec: 0 0 21 ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Update:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
openSUSE_Factory:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory
|
||||||
|
openSUSE_Factory_ARM:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:ARM
|
||||||
|
openSUSE_Factory_PowerPC:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:PowerPC
|
||||||
|
Pkglistgen.openSUSE_Leap:
|
||||||
|
group: Leap.15.1.pkglistgen
|
||||||
|
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:
|
||||||
|
openSUSE_Leap_15.1_target:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1 -s target
|
||||||
|
openSUSE_Leap_15.1_rings:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1 -s rings
|
||||||
|
openSUSE_Leap_15.1_ARM:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1:ARM
|
||||||
|
openSUSE_Leap_15.1_PowerPC:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:15.1:PowerPC
|
||||||
|
Update.Repos.Leap:
|
||||||
|
group: Leap.15.1.pkglistgen
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
timer:
|
||||||
|
spec: 0 0 21 ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Update:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
openSUSE_Leap_15.1:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1
|
||||||
|
openSUSE_Leap_15.1_ARM:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1:ARM
|
||||||
|
openSUSE_Leap_15.1_PowerPC:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:15.1:PowerPC
|
107
gocd/pkglistgen.opensuse.gocd.yaml.erb
Normal file
107
gocd/pkglistgen.opensuse.gocd.yaml.erb
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
format_version: 3
|
||||||
|
pipelines:
|
||||||
|
Pkglistgen.openSUSE_Factory:
|
||||||
|
group: Factory.pkglistgen
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
timer:
|
||||||
|
spec: 0 40 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- pkglistgen:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
<% ['openSUSE:Factory/target', 'openSUSE:Factory/rings', 'openSUSE:Factory:ARM', 'openSUSE:Factory:PowerPC', 'openSUSE:Factory:zSystems'].each do |project|
|
||||||
|
project=project.split('/')
|
||||||
|
name=project[0].gsub(':', '_')
|
||||||
|
if project.size > 1
|
||||||
|
options=" -s #{project[1]}"
|
||||||
|
name = name + "_#{project[1]}"
|
||||||
|
end
|
||||||
|
-%>
|
||||||
|
<%= name %>:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %>
|
||||||
|
<% end -%>
|
||||||
|
Update.Repos.Factory:
|
||||||
|
group: Factory.pkglistgen
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
timer:
|
||||||
|
spec: 0 0 21 ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Update:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
<% %w(openSUSE:Factory openSUSE:Factory:ARM openSUSE:Factory:PowerPC).each do |project| -%>
|
||||||
|
<%= project.gsub(':', '_') %>:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
|
||||||
|
<% end -%>
|
||||||
|
Pkglistgen.openSUSE_Leap:
|
||||||
|
group: Leap.15.1.pkglistgen
|
||||||
|
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:
|
||||||
|
<% ['openSUSE:Leap:15.1/target', 'openSUSE:Leap:15.1/rings', 'openSUSE:Leap:15.1:ARM', 'openSUSE:Leap:15.1:PowerPC'].each do |project|
|
||||||
|
project=project.split('/')
|
||||||
|
name=project[0].gsub(':', '_')
|
||||||
|
if project.size > 1
|
||||||
|
options=" -s #{project[1]}"
|
||||||
|
name = name + "_#{project[1]}"
|
||||||
|
end -%>
|
||||||
|
<%= name %>:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %>
|
||||||
|
<% end -%>
|
||||||
|
Update.Repos.Leap:
|
||||||
|
group: Leap.15.1.pkglistgen
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-staging-bot
|
||||||
|
timer:
|
||||||
|
spec: 0 0 21 ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
materials:
|
||||||
|
git:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
stages:
|
||||||
|
- Update:
|
||||||
|
approval:
|
||||||
|
type: manual
|
||||||
|
jobs:
|
||||||
|
<% %w(openSUSE:Leap:15.1 openSUSE:Leap:15.1:ARM openSUSE:Leap:15.1:PowerPC).each do |project| -%>
|
||||||
|
<%= project.gsub(':', '_') %>:
|
||||||
|
resources:
|
||||||
|
- repo-checker3
|
||||||
|
tasks:
|
||||||
|
- script: python3 ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
|
||||||
|
<% end -%>
|
Loading…
x
Reference in New Issue
Block a user