Enable update-repos for Leap 16.0

This commit is contained in:
Max Lin 2024-09-12 15:37:12 +08:00
parent 239a20527f
commit be44df8dd0
2 changed files with 44 additions and 0 deletions

View File

@ -108,3 +108,24 @@ pipelines:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory:RISCV
Update.Repos.Leap_16_0:
group: Leap
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_16.0:
resources:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Leap:16.0

View File

@ -56,4 +56,27 @@ pipelines:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
<% end -%>
Update.Repos.Leap_16_0:
group: Leap
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:16.0).each do |project| -%>
<%= project.gsub(':', '_') %>:
resources:
- repo-checker
tasks:
- script: python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos <%= project %>
<% end -%>