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 2023-06-05 18:08:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old) and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools" Mon Jun 5 18:08:01 2023 rev:465 rq:1090854 version:20230605.bf97015 Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2023-06-03 00:07:00.165910661 +0200 +++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.15902/openSUSE-release-tools.changes 2023-06-05 18:08:17.387729681 +0200 @@ -1,0 +2,9 @@ +Mon Jun 05 08:56:20 UTC 2023 - opensuse-releaset...@opensuse.org + +- Update to version 20230605.bf97015: + * fixed pipe line name + * added ALP.Target group to the list + * dist: fix rpm scriptlets call to systemd_postun + * Add ALP Micro image release + +------------------------------------------------------------------- Old: ---- openSUSE-release-tools-20230602.41b6a00.obscpio New: ---- openSUSE-release-tools-20230605.bf97015.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-release-tools.spec ++++++ --- /var/tmp/diff_new_pack.srBMGr/_old 2023-06-05 18:08:18.111733957 +0200 +++ /var/tmp/diff_new_pack.srBMGr/_new 2023-06-05 18:08:18.115733981 +0200 @@ -20,7 +20,7 @@ %define source_dir openSUSE-release-tools %define announcer_filename factory-package-news Name: openSUSE-release-tools -Version: 20230602.41b6a00 +Version: 20230605.bf97015 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.srBMGr/_old 2023-06-05 18:08:18.155734217 +0200 +++ /var/tmp/diff_new_pack.srBMGr/_new 2023-06-05 18:08:18.159734241 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param> - <param name="changesrevision">41b6a00e92bb5d7e1f99926ae21ca2baa462299f</param> + <param name="changesrevision">bf970155e246c0400a25b46612abef53bbeabdac</param> </service> </servicedata> ++++++ openSUSE-release-tools-20230602.41b6a00.obscpio -> openSUSE-release-tools-20230605.bf97015.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20230602.41b6a00/gocd/alpmicro.target.gocd.yaml new/openSUSE-release-tools-20230605.bf97015/gocd/alpmicro.target.gocd.yaml --- old/openSUSE-release-tools-20230602.41b6a00/gocd/alpmicro.target.gocd.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/openSUSE-release-tools-20230605.bf97015/gocd/alpmicro.target.gocd.yaml 2023-06-05 10:54:01.000000000 +0200 @@ -0,0 +1,248 @@ +format_version: 3 +pipelines: + ALP.Micro.Images: + group: ALP.Target + lock_behavior: unlockWhenFinished + materials: + repos: + git: git://botmaster.suse.de/suse-repos.git + auto_update: true + whitelist: + - SUSE:ALP:Products:Micro:1.0_-_images.yaml + destination: repos + 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: + - Expect.Images.To.Finish: + resources: + - staging-bot + tasks: + - script: | + export PYTHONPATH=scripts + set -e + ./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:ALP:Products:Micro:1.0 -r images + + - Release.Images.To.Test: + approval: manual + roles: + - SLE + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-totest-manager + resources: + - staging-bot + tasks: + - script: |- + set -e + PRODUCTS=$(osc -A https://api.suse.de ls SUSE:ALP:Products:Micro:1.0 | grep "^ALP-Micro" | grep -v release | grep -v : ||:) + if [ -z "${PRODUCTS}" ]; then + echo "[WARNNING] There is no image to be released" + fi + for product in 000product $PRODUCTS; do + osc -A https://api.suse.de release SUSE:ALP:Products:Micro:1.0 $product + done + sleep 600 + while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Micro:1.0:ToTest/_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:ALP:Products:Micro:1.0:ToTest/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED + + - Release.Images.To.Publish: + approval: manual + roles: + - SLE + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-totest-manager + resources: + - staging-bot + tasks: + - script: |- + osc -A https://api.suse.de release SUSE:ALP:Products:Micro:1.0:ToTest + sleep 600 + while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Micro:1.0:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep -v 'code="published" state="published">'); do + echo PENDING + sleep 600 + done + osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Micro:1.0:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED + while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Micro:1.0:PUBLISH/_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:ALP:Products:Micro:1.0:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED + + ALP.Micro.Images.NEW: + group: ALP.Target + lock_behavior: unlockWhenFinished + materials: + repos: + git: git://botmaster.suse.de/suse-repos.git + auto_update: true + whitelist: + - SUSE:ALP:Products:Micro:1.0_-_images.yaml + destination: repos + 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: + - Expect.Images.To.Finish: + resources: + - staging-bot + tasks: + - script: | + export PYTHONPATH=scripts + set -e + ./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:ALP:Products:Micro:1.0 -r containerfile + ./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:ALP:Products:Micro:1.0 -r images + + - Release.Images.To.Test: + approval: manual + roles: + - SLE + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-totest-manager + JIRA_PAT: /home/go/config/jira-pat + JIRA_INSTANCE: /home/go/config/jira-instance + resources: + - staging-bot + tasks: + - script: |- + sle-prjmgr-tools --jira-instance $JIRA_INSTANCE --osc-config $OSC_CONFIG ibs_to_jira --jira-pat $JIRA_PAT -p SUSE:ALP:Products:Micro:1.0 + + - Release.Images.To.Publish: + approval: manual + roles: + - SLE + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-totest-manager + resources: + - staging-bot + tasks: + - script: |- + osc -A https://api.suse.de release SUSE:ALP:Products:Micro:1.0:ToTest + sleep 600 + while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Micro:1.0:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep -v 'code="published" state="published">'); do + echo PENDING + sleep 600 + done + osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Micro:1.0:PUBLISH/_result?view=summary&repository=containers" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED + while (osc -A https://api.suse.de/ api "/build/SUSE:ALP:Products:Micro:1.0:PUBLISH/_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:ALP:Products:Micro:1.0:PUBLISH/_result?view=summary&repository=images" | grep "result project" | grep 'code="published" state="published">' && echo PUBLISHED + + ALP.Micro.ImagesManual: + group: ALP.Target + lock_behavior: unlockWhenFinished + materials: + repos: + git: git://botmaster.suse.de/suse-repos.git + auto_update: true + whitelist: + - SUSE:ALP:Products:Micro:1.0_-_images.yaml + destination: repos + 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: + - Relase.Images.To.Test: + approval: manual + roles: + - SLE + jobs: + Check.Images.Finish: + resources: + - staging-bot + tasks: + - script: | + export PYTHONPATH=scripts + while (! ./scripts/gocd/verify-repo-built-successful.py -A https://api.suse.de -p SUSE:ALP:Products:Micro:1.0 -r images); do + sleep 300 + done + Release.To.Test: + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-totest-manager + resources: + - staging-bot + tasks: + - script: |- + set -e + PRODUCTS=$(osc -A https://api.suse.de ls SUSE:ALP:Products:Micro:1.0 | grep "^ALP-Micro" | grep -v release) + for product in 000product $PRODUCTS; do + osc -A https://api.suse.de release SUSE:ALP:Products:Micro:1.0 $product + done + + - Release.Images.To.Publish: + approval: manual + roles: + - SLE + environment_variables: + OSC_CONFIG: /home/go/config/oscrc-totest-manager + resources: + - staging-bot + tasks: + - script: osc -A https://api.suse.de release SUSE:ALP:Products:Micro:1.0:ToTest + + ALP.Micro.ReleaseScc: + group: ALP.Target + parameters: + product: alp-micro-1.0 + target: MyTarget + build: "0.0" + materials: + scripts: + auto_update: true + git: https://github.com/openSUSE/openSUSE-release-tools.git + whitelist: + - DO_NOT_TRIGGER + destination: scripts + stages: + # "ratt" is an alias for the internal IP of the API, only available on botmaster. + - Release.Images.Update: + approval: manual + roles: + - SLE + resources: + - staging-bot + tasks: + - script: curl --verbose --max-time 3600 "http://ratt:5000/update?product=#{product}&target=#{target}&build=#{build}" + - Release.Images.Rename: + approval: manual + roles: + - SLE + resources: + - staging-bot + tasks: + - script: curl --verbose --max-time 3600 "http://ratt:5000/rename?product=#{product}&target=#{target}" + - Release.Images.Sync: + approval: manual + roles: + - SLE + resources: + - staging-bot + tasks: + - script: curl --verbose --max-time 3600 "http://ratt:5000/sync?product=#{product}&target=#{target}" + - Release.Images.Release: + approval: manual + roles: + - SLE + resources: + - staging-bot + tasks: + - script: curl --verbose --max-time 3600 "http://ratt:5000/release?product=#{product}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20230602.41b6a00/gocd/generate.sh new/openSUSE-release-tools-20230605.bf97015/gocd/generate.sh --- old/openSUSE-release-tools-20230602.41b6a00/gocd/generate.sh 2023-06-02 12:12:07.000000000 +0200 +++ new/openSUSE-release-tools-20230605.bf97015/gocd/generate.sh 2023-06-05 10:54:01.000000000 +0200 @@ -14,7 +14,7 @@ grep group: *.yaml | cut -d: -f3 | sort -u | while read group; do case $group in - BCI|Factory|Leap|Admin|LEO|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers) + BCI|Factory|Leap|Admin|LEO|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers|ALP.Target) ;; *) echo "Do not create new groups without being admin and knowing the consequences - found $group" ++++++ openSUSE-release-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.srBMGr/_old 2023-06-05 18:08:18.935738823 +0200 +++ /var/tmp/diff_new_pack.srBMGr/_new 2023-06-05 18:08:18.939738847 +0200 @@ -1,5 +1,5 @@ name: openSUSE-release-tools -version: 20230602.41b6a00 -mtime: 1685700727 -commit: 41b6a00e92bb5d7e1f99926ae21ca2baa462299f +version: 20230605.bf97015 +mtime: 1685955241 +commit: bf970155e246c0400a25b46612abef53bbeabdac