From be44df8dd0059b2287987c415ab0fe1ce649a98f Mon Sep 17 00:00:00 2001 From: Max Lin Date: Thu, 12 Sep 2024 15:37:12 +0800 Subject: [PATCH] Enable update-repos for Leap 16.0 --- gocd/pkglistgen.opensuse.gocd.yaml | 21 +++++++++++++++++++++ gocd/pkglistgen.opensuse.gocd.yaml.erb | 23 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/gocd/pkglistgen.opensuse.gocd.yaml b/gocd/pkglistgen.opensuse.gocd.yaml index 389927ef4..114dcdb27 100644 --- a/gocd/pkglistgen.opensuse.gocd.yaml +++ b/gocd/pkglistgen.opensuse.gocd.yaml @@ -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 diff --git a/gocd/pkglistgen.opensuse.gocd.yaml.erb b/gocd/pkglistgen.opensuse.gocd.yaml.erb index b664ed6ff..b847354ea 100644 --- a/gocd/pkglistgen.opensuse.gocd.yaml.erb +++ b/gocd/pkglistgen.opensuse.gocd.yaml.erb @@ -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 -%>