gocd: to update weakremovers.inc via pkglistgen --only-update-weakremovers

This commit is contained in:
Max Lin 2024-09-23 23:15:18 +08:00 committed by Fabian Vogt
parent 6ce9d09938
commit a893eaaf7b
2 changed files with 44 additions and 0 deletions

View File

@ -129,3 +129,24 @@ pipelines:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:16.0
Update.Weakremovers.Leap_16_0:
group: Leap
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
timer:
spec: 0 0 0/4 ? * *
only_on_changes: false
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Update:
approval:
type: manual
jobs:
openSUSE_Leap_16.0:
resources:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:16.0 -s target --only-update-weakremovers

View File

@ -79,4 +79,27 @@ pipelines:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
<% end -%>
Update.Weakremovers.Leap_16_0:
group: Leap
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
timer:
spec: 0 0 0/4 ? * *
only_on_changes: false
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Update:
approval:
type: manual
jobs:
<% %w(openSUSE:Leap:16.0).each do |project| -%>
<%= project.gsub(':', '_') %>:
resources:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p <%= project %> -s target --only-update-weakremovers
<% end -%>