Skip to content

Commit

Permalink
gocd: to update weakremovers.inc via pkglistgen --only-update-weakrem…
Browse files Browse the repository at this point in the history
…overs
  • Loading branch information
nilxam committed Sep 24, 2024
1 parent d1857c3 commit 70df3c7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
21 changes: 21 additions & 0 deletions gocd/pkglistgen.opensuse.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 23 additions & 0 deletions gocd/pkglistgen.opensuse.gocd.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>

0 comments on commit 70df3c7

Please sign in to comment.