Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2022-12-08 16:52:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Thu Dec 8 16:52:06 2022 rev:456 rq:1041330 version:20221130.db5d69f
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2022-11-02 12:47:28.121667676 +0100
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1835/openSUSE-release-tools.changes
2022-12-08 16:52:14.555807901 +0100
@@ -1,0 +2,103 @@
+Thu Dec 01 08:02:15 UTC 2022 - [email protected]
+
+- Update to version 20221130.db5d69f:
+ * gocd: drop SUSE:ALP:ARM project from pkglistgen
+
+-------------------------------------------------------------------
+Tue Nov 29 12:54:11 UTC 2022 - [email protected]
+
+- Update to version 20221129.8ed5c06:
+ * Update publish_distro_conf/publish_leap155_appliances.config
+ * Limit flavors to just one
+ * Use correct Minimal-VM reference
+ * comment out 15.5 flavors that do not build yet
+
+-------------------------------------------------------------------
+Mon Nov 28 14:12:50 UTC 2022 - [email protected]
+
+- Update to version 20221128.1e849ff:
+ * ignore more jar version of yaml validator
+ * gocd: add more subprojects to ALP pkglistgen
+
+-------------------------------------------------------------------
+Fri Nov 25 19:04:14 UTC 2022 - [email protected]
+
+- Update to version 20221125.1eb9923:
+ * gocd: Add configuration for openSUSE:Factory:LegacyX86
+
+-------------------------------------------------------------------
+Thu Nov 24 17:26:00 UTC 2022 - [email protected]
+
+- Update to version 20221124.c0644df:
+ * readd ToTest 15.4_ARM manager
+
+-------------------------------------------------------------------
+Thu Nov 24 15:25:56 UTC 2022 - [email protected]
+
+- Update to version 20221124.fd471a3:
+ * ci: Adjust path to memcached as done in the package
+
+-------------------------------------------------------------------
+Thu Nov 24 13:21:15 UTC 2022 - [email protected]
+
+- Update to version 20221124.a808aa2:
+ * gocd/rabbit-openqa.py: Also try to match disk images (#2888)
+ * gocd/rabbit-openqa.py: Ignore isos which don't have an OpenQAMapping
+
+-------------------------------------------------------------------
+Wed Nov 23 15:06:38 UTC 2022 - [email protected]
+
+- Update to version 20221123.d483a44:
+ * gocd/rabbit-openqa.py: Ignore jobs in "Development" groups
+ * gocd/rabbit-openqa.py: Add --dry option
+ * gocd/rabbit-openqa.py: Remove unused parameters
+
+-------------------------------------------------------------------
+Thu Nov 17 13:47:56 UTC 2022 - [email protected]
+
+- Update to version 20221117.de9316e:
+ * gocd: fix another double quote in BCI
+
+-------------------------------------------------------------------
+Thu Nov 17 12:47:52 UTC 2022 - [email protected]
+
+- Update to version 20221117.db274c7:
+ * gocd: fix typo in BCI release pipeline
+
+-------------------------------------------------------------------
+Thu Nov 17 12:05:51 UTC 2022 - [email protected]
+
+- Update to version 20221117.6e6e1ec:
+ * Move comment out of the value block - script executor plugin doesn't like
it
+ * Update version of the config plugin
+ * Update SLE Micro to 5.4
+ * gocd: change erb template file and not just the generated file
+ * include review feedback and adapt script for SP5
+ * gocd: allow to publish SLE BCI repository using a token
+
+-------------------------------------------------------------------
+Fri Nov 11 11:22:42 UTC 2022 - [email protected]
+
+- Update to version 20221111.5c2645c:
+ * Improve bs_mirrorfull help text
+
+-------------------------------------------------------------------
+Fri Nov 11 10:24:20 UTC 2022 - [email protected]
+
+- Update to version 20221111.ffbab4f:
+ * Adapt check_source test to latest source validator output
+ * check_bugowner: Don't get tripped over trailing space
+
+-------------------------------------------------------------------
+Fri Nov 11 09:19:46 UTC 2022 - [email protected]
+
+- Update to version 20221111.8fe27f7:
+ * Move the copy & pasted bci blocks into a template
+
+-------------------------------------------------------------------
+Fri Nov 11 09:12:17 UTC 2022 - [email protected]
+
+- Update to version 20221111.37857f9:
+ * Added BCI 15SP5 parts
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20221025.1ef34941.obscpio
New:
----
openSUSE-release-tools-20221130.db5d69f.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.ISR9S1/_old 2022-12-08 16:52:15.335811901 +0100
+++ /var/tmp/diff_new_pack.ISR9S1/_new 2022-12-08 16:52:15.343811942 +0100
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20221025.1ef34941
+Version: 20221130.db5d69f
Release: 0
Summary: Tools to aid in staging and release work for openSUSE/SUSE
License: GPL-2.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ISR9S1/_old 2022-12-08 16:52:15.387812168 +0100
+++ /var/tmp/diff_new_pack.ISR9S1/_new 2022-12-08 16:52:15.391812188 +0100
@@ -1,7 +1,7 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param
name="changesrevision">1ef3494112b09f6c294bde5db13b1019ae3a6ad7</param>
+ <param
name="changesrevision">db5d69ffc61df5a51df915a0330bb5ce8c9e658f</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20221025.1ef34941.obscpio ->
openSUSE-release-tools-20221130.db5d69f.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/bs_mirrorfull
new/openSUSE-release-tools-20221130.db5d69f/bs_mirrorfull
--- old/openSUSE-release-tools-20221025.1ef34941/bs_mirrorfull 2022-10-25
14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/bs_mirrorfull 2022-11-30
10:50:01.000000000 +0100
@@ -32,7 +32,12 @@
shift @ARGV;
}
-die("uasge: bs_mirrorfull url dir\n") unless @ARGV == 2;
+if (@ARGV != 2) {
+ my $message = "Usage: $0 url dir
+
+ Example: $0
https://api.opensuse.org/public/build/YaST:Head/openSUSE_Tumbleweed/x86_64
my-mirror\n";
+ die($message);
+}
my ($url, $dir) = @ARGV;
$url =~ s/\/$//;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/check_bugowner.py
new/openSUSE-release-tools-20221130.db5d69f/check_bugowner.py
--- old/openSUSE-release-tools-20221025.1ef34941/check_bugowner.py
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/check_bugowner.py
2022-11-30 10:50:01.000000000 +0100
@@ -31,10 +31,10 @@
for line in self.request.description.splitlines():
matched_package = None
matched_maintainer = None
- m = re.match(r'\s*bugowner:\s*(\S*)\s*$', line)
+ m = re.match(r'\s*bugowner:\s*(\S+)\s*$', line)
if m:
matched_maintainer = m.group(1)
- m = re.match(r'\s*bugowner:\s(\S*)\s(\S*)\s*$', line)
+ m = re.match(r'\s*bugowner:\s(\S+)\s(\S+)\s*$', line)
if m:
matched_maintainer = m.group(2)
matched_package = m.group(1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/dist/ci/docker-compose.yml
new/openSUSE-release-tools-20221130.db5d69f/dist/ci/docker-compose.yml
--- old/openSUSE-release-tools-20221025.1ef34941/dist/ci/docker-compose.yml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/dist/ci/docker-compose.yml
2022-11-30 10:50:01.000000000 +0100
@@ -15,7 +15,7 @@
command: /usr/lib/mysql/mysql-systemd-helper start
cache:
<<: *obs
- command: /usr/sbin/memcached -u memcached
+ command: /usr/bin/memcached -u memcached
api:
<<: *obs
command: >
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/.gitignore
new/openSUSE-release-tools-20221130.db5d69f/gocd/.gitignore
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/.gitignore
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/.gitignore 2022-11-30
10:50:01.000000000 +0100
@@ -1 +1 @@
-yaml-config-plugin-0.9.0.jar
+yaml-config-plugin-0.*.jar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/alp.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/alp.gocd.yaml
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/alp.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/alp.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -1,24 +1,5 @@
format_version: 3
pipelines:
- ALP.RelPkgs:
- group: LEO
- lock_behavior: unlockWhenFinished
- timer:
- spec: 0 10 * ? * *
- only_on_changes: false
- materials:
- git:
- git: https://github.com/openSUSE/openSUSE-release-tools.git
- environment_variables:
- OSC_CONFIG: /home/go/config/oscrc-staging-bot
- stages:
- - Create.Release.Packages:
- approval: manual
- resources:
- - repo-checker
- tasks:
- - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
-p SUSE:ALP -s target --only-release-packages --force
-
Pkglistgen.ALP:
group: LEO
lock_behavior: unlockWhenFinished
@@ -35,8 +16,27 @@
approval:
type: manual
jobs:
- LEO_target:
+ SUSE_ALP_target:
+ resources:
+ - repo-checker
+ tasks:
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP -s target
--only-release-packages --force
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP -s target
+ SUSE_ALP_PowerPC:
+ resources:
+ - repo-checker
+ tasks:
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP:PowerPC -s target
--only-release-packages --force
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP:PowerPC -s target
+ SUSE_ALP_zSystems:
+ resources:
+ - repo-checker
+ tasks:
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP:zSystems -s target
--only-release-packages --force
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP:zSystems -s target
+ SUSE_ALP_RISCV:
resources:
- repo-checker
tasks:
- - script: python3 ./pkglistgen.py -d -A https://api.opensuse.org
update_and_solve -p SUSE:ALP -s target
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP:RISCV -s target
--only-release-packages --force
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p SUSE:ALP:RISCV -s target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/alp.gocd.yaml.erb
new/openSUSE-release-tools-20221130.db5d69f/gocd/alp.gocd.yaml.erb
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/alp.gocd.yaml.erb
1970-01-01 01:00:00.000000000 +0100
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/alp.gocd.yaml.erb
2022-11-30 10:50:01.000000000 +0100
@@ -0,0 +1,35 @@
+format_version: 3
+pipelines:
+ Pkglistgen.ALP:
+ group: LEO
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ timer:
+ spec: 0 10 * ? * *
+ only_on_changes: false
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ stages:
+ - pkglistgen:
+ approval:
+ type: manual
+ jobs:
+<% ['SUSE:ALP/target', 'SUSE:ALP:PowerPC', 'SUSE:ALP:zSystems',
'SUSE:ALP:RISCV'].each do |project|
+ project=project.split('/')
+ name=project[0].gsub(':', '_')
+ if project.size > 1
+ options=" -s #{project[1]}"
+ name = name + "_#{project[1]}"
+ else
+ options=" -s target"
+ end
+ -%>
+ <%= name %>:
+ resources:
+ - repo-checker
+ tasks:
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %>
--only-release-packages --force
+ - script: python3 -u ./pkglistgen.py -d -A
https://api.opensuse.org update_and_solve -p <%= project[0] %><%= options %>
+<% end -%>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/bci.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/bci.gocd.yaml
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/bci.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/bci.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -41,6 +41,7 @@
tasks:
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org
update_and_solve -p devel:BCI -s target
+
SLE_BCI_15SP3.RelPkgs:
group: BCI
lock_behavior: unlockWhenFinished
@@ -105,26 +106,27 @@
- SLE
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-totest-manager
+ BCI_TOKEN: '{{SECRET:[opensuse.secrets][BCI_TOKEN]}}'
resources:
- staging-bot
tasks:
+ # can't use osc command due to
https://github.com/openSUSE/osc/issues/1194
- script: |-
+ SPRJ=SUSE:SLE-15-SP3:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do
- SPRJ=SUSE:SLE-15-SP3:Update:BCI
PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP3:$arch"
- osc -A https://api.suse.de api -X POST
"/source/$SPRJ/$PKG?cmd=release&target_project=$PRJ&repository=images&target_repository=images"
+ curl -X POST -H "Authorization: Token $BCI_TOKEN"
"https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
done
for arch in aarch64 ppc64le s390x x86_64 ; do
sleep 600
- while (osc -A https://api.suse.de/ api
"/build/SUSE:Products:SLE-BCI:15-SP3:$arch/_result?view=summary&repository=images"
| grep "result project" | grep -v 'code="published" state="published">'); do
+ while (osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep -v 'code="published" state="published">'); do
echo PENDING
sleep 600
done
- osc -A https://api.suse.de/ api
"/build/SUSE:Products:SLE-BCI:15-SP3:$arch/_result?view=summary&repository=images"
| grep "result project" | grep 'code="published" state="published">' && echo
PUBLISHED
+ osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep 'code="published" state="published">' && echo PUBLISHED
done
-
SLE_BCI_15SP4.RelPkgs:
group: BCI
lock_behavior: unlockWhenFinished
@@ -189,21 +191,109 @@
- SLE
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-totest-manager
+ BCI_TOKEN: '{{SECRET:[opensuse.secrets][BCI_TOKEN]}}'
resources:
- staging-bot
tasks:
+ # can't use osc command due to
https://github.com/openSUSE/osc/issues/1194
- script: |-
+ SPRJ=SUSE:SLE-15-SP4:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do
- SPRJ=SUSE:SLE-15-SP4:Update:BCI
PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP4:$arch"
- osc -A https://api.suse.de api -X POST
"/source/$SPRJ/$PKG?cmd=release&target_project=$PRJ&repository=images&target_repository=images"
+ curl -X POST -H "Authorization: Token $BCI_TOKEN"
"https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
done
for arch in aarch64 ppc64le s390x x86_64 ; do
sleep 600
- while (osc -A https://api.suse.de/ api
"/build/SUSE:Products:SLE-BCI:15-SP4:$arch/_result?view=summary&repository=images"
| grep "result project" | grep -v 'code="published" state="published">'); do
+ while (osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep -v 'code="published" state="published">'); do
echo PENDING
sleep 600
done
- osc -A https://api.suse.de/ api
"/build/SUSE:Products:SLE-BCI:15-SP4:$arch/_result?view=summary&repository=images"
| grep "result project" | grep 'code="published" state="published">' && echo
PUBLISHED
+ osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep 'code="published" state="published">' && echo PUBLISHED
done
+
+ SLE_BCI_15SP5.RelPkgs:
+ group: BCI
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 10 * ? * *
+ only_on_changes: false
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ stages:
+ - Create.Release.Packages:
+ approval: manual
+ resources:
+ - repo-checker
+ tasks:
+ - script: ./pkglistgen.py -A https://api.suse.de update_and_solve -p
SUSE:SLE-15-SP5:Update:BCI -s target --only-release-packages --force
+
+ Pkglistgen.SLE_BCI_15SP5:
+ group: BCI
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 10 * ? * *
+ only_on_changes: false
+ materials:
+ repos:
+ git: git://botmaster.suse.de/suse-repos.git
+ auto_update: true
+ destination: repos
+ whitelist:
+ - SUSE:SLE-15-SP5:Update_-_standard.yaml
+ scripts:
+ auto_update: true
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ whitelist:
+ - DO_NOT_TRIGGER
+ destination: scripts
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ stages:
+ - pkglistgen:
+ approval:
+ type: manual
+ jobs:
+ BCI_target:
+ resources:
+ - repo-checker
+ tasks:
+ - script: ./scripts/pkglistgen.py -d -A https://api.suse.de
update_and_solve -p SUSE:SLE-15-SP5:Update:BCI -s target
+ - Expect.Images.To.Finish:
+ resources:
+ - staging-bot
+ tasks:
+ - script: |
+ export PYTHONPATH=scripts
+ ./scripts/gocd/verify-repo-built-successful.py -A
https://api.suse.de -p SUSE:SLE-15-SP5:Update:BCI -r images
+
+ - Release.Images.to.Product:
+ approval: manual
+ roles:
+ - SLE
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-totest-manager
+ BCI_TOKEN: '{{SECRET:[opensuse.secrets][BCI_TOKEN]}}'
+ resources:
+ - staging-bot
+ tasks:
+ # can't use osc command due to
https://github.com/openSUSE/osc/issues/1194
+ - script: |-
+ SPRJ=SUSE:SLE-15-SP5:Update:BCI
+ for arch in aarch64 ppc64le s390x x86_64 ; do
+ PKG="000product:SLE_BCI-ftp-POOL-$arch"
+ PRJ="SUSE:Products:SLE-BCI:15-SP5:$arch"
+ curl -X POST -H "Authorization: Token $BCI_TOKEN"
"https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
+ done
+ for arch in aarch64 ppc64le s390x x86_64 ; do
+ sleep 600
+ while (osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep -v 'code="published" state="published">'); do
+ echo PENDING
+ sleep 600
+ done
+ osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep 'code="published" state="published">' && echo PUBLISHED
+ done
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/bci.gocd.yaml.erb
new/openSUSE-release-tools-20221130.db5d69f/gocd/bci.gocd.yaml.erb
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/bci.gocd.yaml.erb
1970-01-01 01:00:00.000000000 +0100
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/bci.gocd.yaml.erb
2022-11-30 10:50:01.000000000 +0100
@@ -0,0 +1,129 @@
+format_version: 3
+pipelines:
+ BCI.RelPkgs:
+ group: BCI
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 10 * ? * *
+ only_on_changes: false
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ stages:
+ - Create.Release.Packages:
+ approval: manual
+ resources:
+ - repo-checker
+ tasks:
+ - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve
-p devel:BCI -s target --only-release-packages --force
+
+ Pkglistgen.BCI:
+ group: BCI
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ timer:
+ spec: 0 10 * ? * *
+ only_on_changes: false
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ stages:
+ - pkglistgen:
+ approval:
+ type: manual
+ jobs:
+ BCI_target:
+ resources:
+ - repo-checker
+ tasks:
+ - script: python3 ./pkglistgen.py -d -A https://api.opensuse.org
update_and_solve -p devel:BCI -s target
+
+<% ['SP3', 'SP4', 'SP5'].each do |sp| %>
+ SLE_BCI_15<%= sp %>.RelPkgs:
+ group: BCI
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 10 * ? * *
+ only_on_changes: false
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ stages:
+ - Create.Release.Packages:
+ approval: manual
+ resources:
+ - repo-checker
+ tasks:
+ - script: ./pkglistgen.py -A https://api.suse.de update_and_solve -p
SUSE:SLE-15-<%= sp %>:Update:BCI -s target --only-release-packages --force
+
+ Pkglistgen.SLE_BCI_15<%= sp %>:
+ group: BCI
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 10 * ? * *
+ only_on_changes: false
+ materials:
+ repos:
+ git: git://botmaster.suse.de/suse-repos.git
+ auto_update: true
+ destination: repos
+ whitelist:
+ - SUSE:SLE-15-<%= sp %>:Update_-_standard.yaml
+ scripts:
+ auto_update: true
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ whitelist:
+ - DO_NOT_TRIGGER
+ destination: scripts
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ stages:
+ - pkglistgen:
+ approval:
+ type: manual
+ jobs:
+ BCI_target:
+ resources:
+ - repo-checker
+ tasks:
+ - script: ./scripts/pkglistgen.py -d -A https://api.suse.de
update_and_solve -p SUSE:SLE-15-<%= sp %>:Update:BCI -s target
+ - Expect.Images.To.Finish:
+ resources:
+ - staging-bot
+ tasks:
+ - script: |
+ export PYTHONPATH=scripts
+ ./scripts/gocd/verify-repo-built-successful.py -A
https://api.suse.de -p SUSE:SLE-15-<%= sp %>:Update:BCI -r images
+
+ - Release.Images.to.Product:
+ approval: manual
+ roles:
+ - SLE
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-totest-manager
+ BCI_TOKEN: '{{SECRET:[opensuse.secrets][BCI_TOKEN]}}'
+ resources:
+ - staging-bot
+ tasks:
+ # can't use osc command due to
https://github.com/openSUSE/osc/issues/1194
+ - script: |-
+ SPRJ=SUSE:SLE-15-<%= sp %>:Update:BCI
+ for arch in aarch64 ppc64le s390x x86_64 ; do
+ PKG="000product:SLE_BCI-ftp-POOL-$arch"
+ PRJ="SUSE:Products:SLE-BCI:15-<%= sp %>:$arch"
+ curl -X POST -H "Authorization: Token $BCI_TOKEN"
"https://api.suse.de/trigger/release?project=${SPRJ}&package=${PKG}&targetproject=${PRJ}&targetrepository=images&filter_source_repository=images"
+ done
+ for arch in aarch64 ppc64le s390x x86_64 ; do
+ sleep 600
+ while (osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep -v 'code="published" state="published">'); do
+ echo PENDING
+ sleep 600
+ done
+ osc -A https://api.suse.de/ api
"/build/$PRJ/_result?view=summary&repository=images" | grep "result project" |
grep 'code="published" state="published">' && echo PUBLISHED
+ done
+<% end %>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/checkers.suse.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/checkers.suse.gocd.yaml
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/checkers.suse.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/checkers.suse.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -82,7 +82,7 @@
resources:
- repo-checker
tasks:
- - script: ./project-installcheck.py -A https://api.suse.de --debug
check --store SUSE:SLE-15-SP4:Update:Products:Micro53:Staging/dashboard
--no-rebuild SUSE:SLE-15-SP4:Update:Products:Micro53
+ - script: ./project-installcheck.py -A https://api.suse.de --debug
check --store SUSE:SLE-15-SP4:Update:Products:Micro54:Staging/dashboard
--no-rebuild SUSE:SLE-15-SP4:Update:Products:Micro54
SLE.Origin.Manager:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
@@ -163,11 +163,11 @@
ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 rebuild
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 list --supersede
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 select --non-interactive --merge
--try-strategies
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 unselect --cleanup
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 repair --cleanup
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 rebuild
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 list --supersede
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 select --non-interactive --merge
--try-strategies
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 unselect --cleanup
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 repair --cleanup
rm -rf $tempdir
S15.SP5.Staging.Bot.Report:
group: SLE.Checkers
@@ -210,7 +210,7 @@
resources:
- staging-bot
tasks:
- - script: ./staging-report.py --debug -A https://api.suse.de -p
SUSE:SLE-15-SP4:Update:Products:Micro53
+ - script: ./staging-report.py --debug -A https://api.suse.de -p
SUSE:SLE-15-SP4:Update:Products:Micro54
SLE.Source.Check:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/checkers.suse.gocd.yaml.erb
new/openSUSE-release-tools-20221130.db5d69f/gocd/checkers.suse.gocd.yaml.erb
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/checkers.suse.gocd.yaml.erb
2022-10-25 14:31:16.000000000 +0200
+++
new/openSUSE-release-tools-20221130.db5d69f/gocd/checkers.suse.gocd.yaml.erb
2022-11-30 10:50:01.000000000 +0100
@@ -82,7 +82,7 @@
resources:
- repo-checker
tasks:
- - script: ./project-installcheck.py -A https://api.suse.de --debug
check --store SUSE:SLE-15-SP4:Update:Products:Micro53:Staging/dashboard
--no-rebuild SUSE:SLE-15-SP4:Update:Products:Micro53
+ - script: ./project-installcheck.py -A https://api.suse.de --debug
check --store SUSE:SLE-15-SP4:Update:Products:Micro54:Staging/dashboard
--no-rebuild SUSE:SLE-15-SP4:Update:Products:Micro54
SLE.Origin.Manager:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
@@ -163,11 +163,11 @@
ln -s $PWD/osclib $tempdir/.osc-plugins
export HOME=$tempdir
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 rebuild
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 list --supersede
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 select --non-interactive --merge
--try-strategies
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 unselect --cleanup
- osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro53 repair --cleanup
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 rebuild
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 list --supersede
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 select --non-interactive --merge
--try-strategies
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 unselect --cleanup
+ osc -A https://api.suse.de staging -p
SUSE:SLE-15-SP4:Update:Products:Micro54 repair --cleanup
rm -rf $tempdir
S15.SP5.Staging.Bot.Report:
group: SLE.Checkers
@@ -210,7 +210,7 @@
resources:
- staging-bot
tasks:
- - script: ./staging-report.py --debug -A https://api.suse.de -p
SUSE:SLE-15-SP4:Update:Products:Micro53
+ - script: ./staging-report.py --debug -A https://api.suse.de -p
SUSE:SLE-15-SP4:Update:Products:Micro54
SLE.Source.Check:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/generate.sh
new/openSUSE-release-tools-20221130.db5d69f/gocd/generate.sh
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/generate.sh
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/generate.sh
2022-11-30 10:50:01.000000000 +0100
@@ -2,10 +2,11 @@
set -e
-if ! test -f yaml-config-plugin-0.9.0.jar; then
- wget
https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/0.9.0/yaml-config-plugin-0.9.0.jar
+version=0.13.0
+if ! test -f yaml-config-plugin-$version.jar; then
+ wget
https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/$version/yaml-config-plugin-$version.jar
fi
-sha1sum -c yaml-config-plugin-0.9.0.jar.sha1
+sha1sum -c yaml-config-plugin-$version.jar.sha1
for file in *.erb; do
erb -T - $file > $(basename $file .erb)
@@ -22,6 +23,6 @@
done
for file in *.gocd.yaml; do
- java -jar yaml-config-plugin-0.9.0.jar syntax $file
+ java -jar yaml-config-plugin-$version.jar syntax $file
done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/microos-stagings.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/microos-stagings.gocd.yaml
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/microos-stagings.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/microos-stagings.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -21,19 +21,19 @@
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
- --staging SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:A
+ --staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:A
--only-release-packages --force
SLE-Micro.Staging.B:
resources:
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
- --staging SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:B
+ --staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:B
--only-release-packages --force
SLE-Micro.Staging.A:
environment_variables:
- STAGING_PROJECT: SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:A
+ STAGING_PROJECT: SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:A
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: MicroOS
@@ -44,7 +44,7 @@
auto_update: true
destination: repos
whitelist:
- - SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:A_-_standard.yaml
+ - SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:A_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
@@ -70,7 +70,7 @@
- repo-checker
tasks:
- script: |-
- ./scripts/staging-installcheck.py -A $STAGING_API -p
SUSE:SLE-15-SP4:Update:Products:Micro53 -s $STAGING_PROJECT
+ ./scripts/staging-installcheck.py -A $STAGING_API -p
SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
- Update.000product:
resources:
@@ -96,7 +96,7 @@
SLE-Micro.Staging.B:
environment_variables:
- STAGING_PROJECT: SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:B
+ STAGING_PROJECT: SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:B
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: MicroOS
@@ -107,7 +107,7 @@
auto_update: true
destination: repos
whitelist:
- - SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:B_-_standard.yaml
+ - SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:B_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
@@ -133,7 +133,7 @@
- repo-checker
tasks:
- script: |-
- ./scripts/staging-installcheck.py -A $STAGING_API -p
SUSE:SLE-15-SP4:Update:Products:Micro53 -s $STAGING_PROJECT
+ ./scripts/staging-installcheck.py -A $STAGING_API -p
SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
- Update.000product:
resources:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/microos-stagings.gocd.yaml.erb
new/openSUSE-release-tools-20221130.db5d69f/gocd/microos-stagings.gocd.yaml.erb
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/microos-stagings.gocd.yaml.erb
2022-10-25 14:31:16.000000000 +0200
+++
new/openSUSE-release-tools-20221130.db5d69f/gocd/microos-stagings.gocd.yaml.erb
2022-11-30 10:50:01.000000000 +0100
@@ -23,13 +23,13 @@
- repo-checker
tasks:
- script: ./pkglistgen.py -A https://api.suse.de update_and_solve
- --staging SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:<%=
letter %>
+ --staging SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:<%=
letter %>
--only-release-packages --force
<% end -%>
<% stagings.each do |letter| %>
SLE-Micro.Staging.<%= letter %>:
environment_variables:
- STAGING_PROJECT: SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:<%=
letter %>
+ STAGING_PROJECT: SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:<%=
letter %>
STAGING_API: https://api.suse.de
OSC_CONFIG: /home/go/config/oscrc-staging-bot
group: MicroOS
@@ -40,7 +40,7 @@
auto_update: true
destination: repos
whitelist:
- - SUSE:SLE-15-SP4:Update:Products:Micro53:Staging:<%= letter
%>_-_standard.yaml
+ - SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:<%= letter
%>_-_standard.yaml
scripts:
auto_update: true
git: https://github.com/openSUSE/openSUSE-release-tools.git
@@ -66,7 +66,7 @@
- repo-checker
tasks:
- script: |-
- ./scripts/staging-installcheck.py -A $STAGING_API -p
SUSE:SLE-15-SP4:Update:Products:Micro53 -s $STAGING_PROJECT
+ ./scripts/staging-installcheck.py -A $STAGING_API -p
SUSE:SLE-15-SP4:Update:Products:Micro54 -s $STAGING_PROJECT
- Update.000product:
resources:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/microos.target.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/microos.target.gocd.yaml
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/microos.target.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/microos.target.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -17,7 +17,7 @@
resources:
- repo-checker
tasks:
- - script: ./pkglistgen.py -A https://api.suse.de update_and_solve -p
SUSE:SLE-15-SP4:Update:Products:Micro53 -s target --only-release-packages
--force
+ - script: ./pkglistgen.py -A https://api.suse.de update_and_solve -p
SUSE:SLE-15-SP4:Update:Products:Micro54 -s target --only-release-packages
--force
SLE-Micro.Package.Lists:
group: MicroOS
@@ -28,7 +28,7 @@
auto_update: true
destination: repos
whitelist:
- - SUSE:SLE-15-SP4:Update:Products:Micro53_-_standard.yaml
+ - SUSE:SLE-15-SP4:Update:Products:Micro54_-_standard.yaml
scripts:
git: https://github.com/openSUSE/openSUSE-release-tools.git
auto_update: true
@@ -42,7 +42,7 @@
resources:
- repo-checker
tasks:
- - script: ./scripts/pkglistgen.py -A https://api.suse.de --debug
update_and_solve -p SUSE:SLE-15-SP4:Update:Products:Micro53 -s target --force
+ - script: ./scripts/pkglistgen.py -A https://api.suse.de --debug
update_and_solve -p SUSE:SLE-15-SP4:Update:Products:Micro54 -s target --force
SLE-Micro.Images:
group: MicroOS
@@ -52,7 +52,7 @@
git: git://botmaster.suse.de/suse-repos.git
auto_update: true
whitelist:
- - SUSE:SLE-15-SP4:Update:Products:Micro53_-_images.yaml
+ - SUSE:SLE-15-SP4:Update:Products:Micro54_-_images.yaml
destination: repos
scripts:
auto_update: true
@@ -69,7 +69,7 @@
tasks:
- script: |
export PYTHONPATH=scripts
- ./scripts/gocd/verify-repo-built-successful.py -A
https://api.suse.de -p SUSE:SLE-15-SP4:Update:Products:Micro53 -r images
+ ./scripts/gocd/verify-repo-built-successful.py -A
https://api.suse.de -p SUSE:SLE-15-SP4:Update:Products:Micro54 -r images
- Release.Images.To.Test:
approval: manual
@@ -82,7 +82,7 @@
tasks:
- script: |-
for product in 000product SLE-Micro; do
- osc -A https://api.suse.de release
SUSE:SLE-15-SP4:Update:Products:Micro53 $product
+ osc -A https://api.suse.de release
SUSE:SLE-15-SP4:Update:Products:Micro54 $product
done
- Release.Images.To.Publish:
@@ -94,4 +94,4 @@
resources:
- staging-bot
tasks:
- - script: osc -A https://api.suse.de release
SUSE:SLE-15-SP4:Update:Products:Micro53:TEST
+ - script: osc -A https://api.suse.de release
SUSE:SLE-15-SP4:Update:Products:Micro54:TEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/pkglistgen.opensuse.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/pkglistgen.opensuse.gocd.yaml
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/pkglistgen.opensuse.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++
new/openSUSE-release-tools-20221130.db5d69f/gocd/pkglistgen.opensuse.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -44,6 +44,13 @@
- 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/pkglistgen.opensuse.gocd.yaml.erb
new/openSUSE-release-tools-20221130.db5d69f/gocd/pkglistgen.opensuse.gocd.yaml.erb
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/pkglistgen.opensuse.gocd.yaml.erb
2022-10-25 14:31:16.000000000 +0200
+++
new/openSUSE-release-tools-20221130.db5d69f/gocd/pkglistgen.opensuse.gocd.yaml.erb
2022-11-30 10:50:01.000000000 +0100
@@ -16,7 +16,7 @@
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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/rabbit-openqa.py
new/openSUSE-release-tools-20221130.db5d69f/gocd/rabbit-openqa.py
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/rabbit-openqa.py
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/rabbit-openqa.py
2022-11-30 10:50:01.000000000 +0100
@@ -48,19 +48,40 @@
new = parts[2]
new = new.replace('$LETTER', self.staging_letter(staging_project))
try:
- return re.compile(old).sub(new, iso)
+ stagingiso = re.compile(old).sub(new, iso)
except re.error:
self.logger.error(f"_MAP_ISO {self.replace_string} does not create
valid regexps in {self.name}")
- return iso
+ return None
+
+ if stagingiso == iso:
+ self.logger.info(f"{self.replace_string} did not map {iso}
properly, ignoring")
+ return None
+
+ return stagingiso
def gather_isos(self, name, repository):
+ ret = []
+
+ # Fetch /published/prj/repo/iso/*.iso
url = self.api.makeurl(['published', name, repository, 'iso'])
f = self.api.retried_GET(url)
root = ET.parse(f).getroot()
- ret = []
for entry in root.findall('entry'):
- if entry.get('name').endswith('iso'):
+ if entry.get('name').endswith('.iso'):
ret.append(self.map_iso(name, entry.get('name')))
+
+ # Fetch /published/prj/repo/iso/*.qcow2
+ url = self.api.makeurl(['published', name, repository])
+ f = self.api.retried_GET(url)
+ root = ET.parse(f).getroot()
+ for entry in root.findall('entry'):
+ filename = entry.get('name')
+ if filename.endswith('.qcow2') or filename.endswith('.raw.xz'):
+ ret.append(self.map_iso(name, filename))
+
+ # Filter out isos which couldn't be mapped
+ ret = [iso for iso in ret if iso]
+
return ret
def gather_buildid(self, name, repository):
@@ -113,7 +134,10 @@
for info in openqa_infos.values():
xml = self.openqa_check_xml(info['url'], info['state'], 'openqa:'
+ info['name'])
try:
- http_POST(url, data=xml)
+ if self.listener.dryrun:
+ print(f"Would POST to {url}: {xml}")
+ else:
+ http_POST(url, data=xml)
except HTTPError:
self.logger.error('failed to post status to ' + url)
@@ -160,11 +184,12 @@
class Listener(PubSubConsumer):
- def __init__(self, amqp_prefix, openqa_url):
+ def __init__(self, amqp_prefix, openqa_url, dryrun):
super(Listener, self).__init__(amqp_prefix,
logging.getLogger(__name__))
self.projects = []
self.amqp_prefix = amqp_prefix
self.openqa_url = openqa_url
+ self.dryrun = dryrun
self.openqa = OpenQA_Client(server=openqa_url)
self.projects_to_check = set()
@@ -209,15 +234,30 @@
self.check_some_projects()
super(Listener, self).still_alive()
+ def is_production_job(self, job):
+ if '/' in job['settings'].get('BUILD', '/') or \
+ 'Development' in job['group']:
+ return False
+
+ return True
+
def jobs_for_iso(self, iso):
+ # Try ISO= matching first
values = {
'iso': iso,
'scope': 'current',
'latest': '1',
}
jobs = self.openqa.openqa_request('GET', 'jobs', values)['jobs']
+
+ # If no matches, try HDD_1=
+ if len(jobs) == 0:
+ del values['iso']
+ values['hdd_1'] = iso
+ jobs = self.openqa.openqa_request('GET', 'jobs', values)['jobs']
+
# Ignore PR verification runs (and jobs without 'BUILD')
- return [job for job in jobs if '/' not in job['settings'].get('BUILD',
'/')]
+ return [job for job in jobs if self.is_production_job(job)]
def get_step_url(self, testurl, modulename):
failurl = testurl +
'/modules/{!s}/fails'.format(quote_plus(modulename))
@@ -250,7 +290,10 @@
data = json.loads(body)
if '/' in data.get('BUILD'):
return # Ignore PR verification runs
- self.on_openqa_job(data.get('ISO'))
+ if data.get('ISO'):
+ self.on_openqa_job(data.get('ISO'))
+ elif data.get('HDD_1'):
+ self.on_openqa_job(data.get('HDD_1'))
else:
self.logger.warning("unknown rabbitmq message
{}".format(method.routing_key))
@@ -259,14 +302,10 @@
parser = argparse.ArgumentParser(
description='Bot to sync openQA status to OBS')
parser.add_argument("--apiurl", '-A', type=str, help='API URL of OBS')
- parser.add_argument('-s', '--staging', type=str, default=None,
- help='staging project letter')
- parser.add_argument('-f', '--force', action='store_true', default=False,
- help='force the write of the comment')
- parser.add_argument('-p', '--project', type=str, default='Factory',
- help='openSUSE version to make the check (Factory,
13.2)')
parser.add_argument('-d', '--debug', action='store_true', default=False,
help='enable debug information')
+ parser.add_argument('--dry', action='store_true', default=False,
+ help='do not perform changes')
args = parser.parse_args()
@@ -284,7 +323,7 @@
logging.basicConfig(level=logging.INFO)
- listener = Listener(amqp_prefix, openqa_url)
+ listener = Listener(amqp_prefix, openqa_url, dryrun=args.dry)
url = makeurl(apiurl, ['search', 'project', 'id'], {'match':
'attribute/@name="OSRT:OpenQAMapping"'})
f = http_GET(url)
root = ET.parse(f).getroot()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/rebuild-trigger.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/rebuild-trigger.gocd.yaml
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/rebuild-trigger.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/rebuild-trigger.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -20,6 +20,26 @@
- 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/totestmanager.gocd.yaml
new/openSUSE-release-tools-20221130.db5d69f/gocd/totestmanager.gocd.yaml
--- old/openSUSE-release-tools-20221025.1ef34941/gocd/totestmanager.gocd.yaml
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/gocd/totestmanager.gocd.yaml
2022-11-30 10:50:01.000000000 +0100
@@ -42,6 +42,27 @@
- 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
@@ -210,6 +231,27 @@
- 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:Leap:15.4:Images
+ TTM.Leap_15.4_ARM:
+ 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:Leap:15.4:ARM
TTM.Leap_15.4_ARM_Images:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/totestmanager.gocd.yaml.erb
new/openSUSE-release-tools-20221130.db5d69f/gocd/totestmanager.gocd.yaml.erb
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/totestmanager.gocd.yaml.erb
2022-10-25 14:31:16.000000000 +0200
+++
new/openSUSE-release-tools-20221130.db5d69f/gocd/totestmanager.gocd.yaml.erb
2022-11-30 10:50:01.000000000 +0100
@@ -3,6 +3,7 @@
<% for project in %w(
openSUSE:Factory
openSUSE:Factory:ARM
+ openSUSE:Factory:LegacyX86
openSUSE:Factory:PowerPC
openSUSE:Factory:zSystems
openSUSE:Leap:15.3:ARM
@@ -11,6 +12,7 @@
openSUSE:Leap:15.3:WSL
openSUSE:Leap:15.3:Update:Respin
openSUSE:Leap:15.4:Images
+ openSUSE:Leap:15.4:ARM
openSUSE:Leap:15.4:ARM:Images
openSUSE:Leap:15.5
openSUSE:Leap:15.5:Images
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/yaml-config-plugin-0.13.0.jar.sha1
new/openSUSE-release-tools-20221130.db5d69f/gocd/yaml-config-plugin-0.13.0.jar.sha1
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/yaml-config-plugin-0.13.0.jar.sha1
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20221130.db5d69f/gocd/yaml-config-plugin-0.13.0.jar.sha1
2022-11-30 10:50:01.000000000 +0100
@@ -0,0 +1 @@
+560f360411e67f49faa0c37b533feaa2b6c9a166 yaml-config-plugin-0.13.0.jar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/gocd/yaml-config-plugin-0.9.0.jar.sha1
new/openSUSE-release-tools-20221130.db5d69f/gocd/yaml-config-plugin-0.9.0.jar.sha1
---
old/openSUSE-release-tools-20221025.1ef34941/gocd/yaml-config-plugin-0.9.0.jar.sha1
2022-10-25 14:31:16.000000000 +0200
+++
new/openSUSE-release-tools-20221130.db5d69f/gocd/yaml-config-plugin-0.9.0.jar.sha1
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-99b9818d4cffb2e10f748afb34fc918ff04ff01a yaml-config-plugin-0.9.0.jar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/publish_distro_conf/publish_leap155_appliances.config
new/openSUSE-release-tools-20221130.db5d69f/publish_distro_conf/publish_leap155_appliances.config
---
old/openSUSE-release-tools-20221025.1ef34941/publish_distro_conf/publish_leap155_appliances.config
2022-10-25 14:31:16.000000000 +0200
+++
new/openSUSE-release-tools-20221130.db5d69f/publish_distro_conf/publish_leap155_appliances.config
2022-11-30 10:50:01.000000000 +0100
@@ -5,7 +5,7 @@
synclog="${logfile_base}.log"
deletelog="${logfile_base}-deletes.log"
path="/distribution/leap/$leap_version/appliances"
-flavors=(kvm-and-xen MS-HyperV OpenStack-Cloud VMware)
+flavors=(kvm-and-xen)
#flavors=()
repos=()
extra_repos=()
@@ -14,7 +14,7 @@
get_version() {
# get expected version from first flavor
if [ -z "$version" ]; then
- version=`echo
$stage/openSUSE-Leap-$leap_version-JeOS.x86_64-$leap_version-$flavor-Build*.qcow2`
+ version=`echo
$stage/openSUSE-Leap-$leap_version-Minimal-VM.x86_64-$flavor-Build*.qcow2`
version=${version##*Build}
version=${version%.*}
if [ -z "$version" ]; then
@@ -33,8 +33,7 @@
elif [ "$flavor" = 'VMware' ]; then
suffix=vmdk.xz
fi
-# echo
"openSUSE-Leap-$leap_version-JeOS.x86_64-$leap_version.0-$flavor-$snapshot.$suffix"
- echo
"openSUSE-Leap-$leap_version-JeOS.x86_64-$leap_version-$flavor-$snapshot.$suffix"
+ echo
"openSUSE-Leap-$leap_version-Minimal-VM.x86_64-$flavor-$snapshot.$suffix"
}
get_iso()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/tests/check_bugowner_tests.py
new/openSUSE-release-tools-20221130.db5d69f/tests/check_bugowner_tests.py
--- old/openSUSE-release-tools-20221025.1ef34941/tests/check_bugowner_tests.py
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/tests/check_bugowner_tests.py
2022-11-30 10:50:01.000000000 +0100
@@ -82,6 +82,19 @@
self.assertReview(req_id, by_user=(self.bot_user, 'accepted'))
@pytest.mark.usefixtures("default_config")
+ def test_valid_bugowner_with_space(self):
+ """Accept request with valid maintainer with space"""
+ self.wf.create_user('thegirl')
+ req_id = self.wf.create_submit_request('devel:wine', 'merlot',
description="bugowner: thegirl ").reqid
+
+ self.assertReview(req_id, by_user=(self.bot_user, 'new'))
+
+ self.review_bot.set_request_ids([req_id])
+ self.review_bot.check_requests()
+
+ self.assertReview(req_id, by_user=(self.bot_user, 'accepted'))
+
+ @pytest.mark.usefixtures("default_config")
def test_valid_bugowner_group(self):
"""Accept request with valid group maintainer"""
self.wf.create_group('coldpool')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20221025.1ef34941/tests/check_source_tests.py
new/openSUSE-release-tools-20221130.db5d69f/tests/check_source_tests.py
--- old/openSUSE-release-tools-20221025.1ef34941/tests/check_source_tests.py
2022-10-25 14:31:16.000000000 +0200
+++ new/openSUSE-release-tools-20221130.db5d69f/tests/check_source_tests.py
2022-11-30 10:50:01.000000000 +0100
@@ -364,7 +364,7 @@
self.review_bot.check_requests()
review = self.assertReview(req_id, by_user=(self.bot_user, 'declined'))
- self.assertEqual("Attention, README is not mentioned in spec files as
source or patch.", review.comment)
+ self.assertEqual("Attention, \"README\" is not mentioned in spec files
as source or patch.", review.comment)
@pytest.mark.usefixtures("default_config")
def test_source_urls(self):
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.ISR9S1/_old 2022-12-08 16:52:16.219816435 +0100
+++ /var/tmp/diff_new_pack.ISR9S1/_new 2022-12-08 16:52:16.223816455 +0100
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20221025.1ef34941
-mtime: 1666701076
-commit: 1ef3494112b09f6c294bde5db13b1019ae3a6ad7
+version: 20221130.db5d69f
+mtime: 1669801801
+commit: db5d69ffc61df5a51df915a0330bb5ce8c9e658f