From f219beb5b0ce064b22fac1042872cd4720788481 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 24 Nov 2022 13:47:14 +0100 Subject: [PATCH] gocd: Add configuration for openSUSE:Factory:LegacyX86 https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/4OIMNHRDMSRLUNZRA5OPHMVSPXRRQVSB/ --- gocd/pkglistgen.opensuse.gocd.yaml | 7 +++++++ gocd/pkglistgen.opensuse.gocd.yaml.erb | 2 +- gocd/rebuild-trigger.gocd.yaml | 20 ++++++++++++++++++++ gocd/totestmanager.gocd.yaml | 21 +++++++++++++++++++++ gocd/totestmanager.gocd.yaml.erb | 1 + 5 files changed, 50 insertions(+), 1 deletion(-) diff --git a/gocd/pkglistgen.opensuse.gocd.yaml b/gocd/pkglistgen.opensuse.gocd.yaml index b98546d1..60442643 100644 --- a/gocd/pkglistgen.opensuse.gocd.yaml +++ b/gocd/pkglistgen.opensuse.gocd.yaml @@ -44,6 +44,13 @@ pipelines: - script: | python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:ARM -s ring1 --only-release-packages --force python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:ARM -s ring1 + openSUSE_Factory_LegacyX86_target: + resources: + - repo-checker + tasks: + - script: | + python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:LegacyX86 -s target --only-release-packages --force + python3 -u ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory:LegacyX86 -s target openSUSE_Factory_PowerPC: resources: - repo-checker diff --git a/gocd/pkglistgen.opensuse.gocd.yaml.erb b/gocd/pkglistgen.opensuse.gocd.yaml.erb index 8048191c..eccabedf 100644 --- a/gocd/pkglistgen.opensuse.gocd.yaml.erb +++ b/gocd/pkglistgen.opensuse.gocd.yaml.erb @@ -16,7 +16,7 @@ pipelines: approval: type: manual jobs: -<% ['openSUSE:Factory/target', 'openSUSE:Factory/ring1', 'openSUSE:Factory:ARM/target', 'openSUSE:Factory:ARM/ring1', 'openSUSE:Factory:PowerPC', 'openSUSE:Factory:zSystems', 'openSUSE:Factory:RISCV'].each do |project| +<% ['openSUSE:Factory/target', 'openSUSE:Factory/ring1', 'openSUSE:Factory:ARM/target', 'openSUSE:Factory:ARM/ring1', 'openSUSE:Factory:LegacyX86/target', 'openSUSE:Factory:PowerPC', 'openSUSE:Factory:zSystems', 'openSUSE:Factory:RISCV'].each do |project| project=project.split('/') name=project[0].gsub(':', '_') if project.size > 1 diff --git a/gocd/rebuild-trigger.gocd.yaml b/gocd/rebuild-trigger.gocd.yaml index 6382b92c..762fa7a8 100644 --- a/gocd/rebuild-trigger.gocd.yaml +++ b/gocd/rebuild-trigger.gocd.yaml @@ -20,6 +20,26 @@ pipelines: - script: |- echo "openSUSE:Factory" ./project-installcheck.py --debug check --add-comments --store openSUSE:Factory:Staging/dashboard openSUSE:Factory + Trigger.Rebuild.Factory.LegacyX86: + group: openSUSE.Checkers + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-factory-maintainer + materials: + script: + git: https://github.com/openSUSE/openSUSE-release-tools.git + timer: + spec: 0 0 * ? * * + only_on_changes: false + stages: + - Run: + approval: manual + resources: + - repo-checker + tasks: + - script: |- + echo "openSUSE:Factory:LegacyX86" + ./project-installcheck.py --debug check --store home:repo-checker/rebuilds openSUSE:Factory:LegacyX86 Trigger.Rebuild.Factory.Power: group: openSUSE.Checkers lock_behavior: unlockWhenFinished diff --git a/gocd/totestmanager.gocd.yaml b/gocd/totestmanager.gocd.yaml index 1d869edb..2f38c2aa 100644 --- a/gocd/totestmanager.gocd.yaml +++ b/gocd/totestmanager.gocd.yaml @@ -42,6 +42,27 @@ pipelines: - script: |- install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Factory:ARM + TTM.Factory_LegacyX86: + group: openSUSE.Checkers + lock_behavior: unlockWhenFinished + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-totest-manager + materials: + script: + git: https://github.com/openSUSE/openSUSE-release-tools.git + destination: scripts + timer: + spec: 0 */15 * ? * * + only_on_changes: false + stages: + - Run: + approval: manual + resources: + - staging-bot + tasks: + - script: |- + install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf + scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Factory:LegacyX86 TTM.Factory_PowerPC: group: openSUSE.Checkers lock_behavior: unlockWhenFinished diff --git a/gocd/totestmanager.gocd.yaml.erb b/gocd/totestmanager.gocd.yaml.erb index 9ebfa13c..5850c0dc 100644 --- a/gocd/totestmanager.gocd.yaml.erb +++ b/gocd/totestmanager.gocd.yaml.erb @@ -3,6 +3,7 @@ pipelines: <% for project in %w( openSUSE:Factory openSUSE:Factory:ARM + openSUSE:Factory:LegacyX86 openSUSE:Factory:PowerPC openSUSE:Factory:zSystems openSUSE:Leap:15.3:ARM