commit openSUSE-release-tools for openSUSE:Factory
Hello community, here is the log from the commit of package openSUSE-release-tools for openSUSE:Factory checked in at 2020-09-30 19:55:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old) and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "openSUSE-release-tools" Wed Sep 30 19:55:10 2020 rev:296 rq:838721 version:20200923.c33e6a9e Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2020-09-16 19:43:41.135079083 +0200 +++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.4249/openSUSE-release-tools.changes 2020-09-30 19:55:17.564833057 +0200 @@ -1,0 +2,20 @@ +Wed Sep 23 08:34:49 UTC 2020 - opensuse-releaseteam@opensuse.org + +- Update to version 20200923.c33e6a9e: + * Change SP2 QU job to run on Thursday + * Remove 15SP1 QU settings + * Add setup for 15SP2 quarterly updates + +------------------------------------------------------------------- +Mon Sep 21 11:54:33 UTC 2020 - opensuse-releaseteam@opensuse.org + +- Update to version 20200921.26408ca6: + * Dashboard: be more precise in percentage to avoid to display 'done' with few jobs remaining + +------------------------------------------------------------------- +Fri Sep 18 09:27:06 UTC 2020 - opensuse-releaseteam@opensuse.org + +- Update to version 20200918.4b77ae84: + * Add a readme about TTM + +------------------------------------------------------------------- Old: ---- openSUSE-release-tools-20200909.0bb0f971.obscpio New: ---- openSUSE-release-tools-20200923.c33e6a9e.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-release-tools.spec ++++++ --- /var/tmp/diff_new_pack.q2GK1H/_old 2020-09-30 19:55:19.392834691 +0200 +++ /var/tmp/diff_new_pack.q2GK1H/_new 2020-09-30 19:55:19.396834694 +0200 @@ -20,7 +20,7 @@ %define source_dir openSUSE-release-tools %define announcer_filename factory-package-news Name: openSUSE-release-tools -Version: 20200909.0bb0f971 +Version: 20200923.c33e6a9e 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.q2GK1H/_old 2020-09-30 19:55:19.452834744 +0200 +++ /var/tmp/diff_new_pack.q2GK1H/_new 2020-09-30 19:55:19.456834749 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param> - <param name="changesrevision">0bb0f971cc69883e3f053a1e1416f4ca4731191a</param> + <param name="changesrevision">c33e6a9e9fac56e8b318b1b805439723cb1b017e</param> </service> </servicedata> ++++++ openSUSE-release-tools-20200909.0bb0f971.obscpio -> openSUSE-release-tools-20200923.c33e6a9e.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20200909.0bb0f971/dashboard/generate.py new/openSUSE-release-tools-20200923.c33e6a9e/dashboard/generate.py --- old/openSUSE-release-tools-20200909.0bb0f971/dashboard/generate.py 2020-09-09 15:43:50.000000000 +0200 +++ new/openSUSE-release-tools-20200923.c33e6a9e/dashboard/generate.py 2020-09-23 10:33:51.000000000 +0200 @@ -96,7 +96,7 @@ unresolvable = 0 if building + failed + succeeded == 0: return {'building': -1} - return { 'building': 1000 - int(building * 1000 / (building + failed + succeeded + broken)), + return { 'building': 10000 - int(building * 10000 / (building + failed + succeeded + broken)), 'failed': failed, 'broken': broken, 'unresolvable': unresolvable } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20200909.0bb0f971/dashboard/templates/repository.html new/openSUSE-release-tools-20200923.c33e6a9e/dashboard/templates/repository.html --- old/openSUSE-release-tools-20200909.0bb0f971/dashboard/templates/repository.html 2020-09-09 15:43:50.000000000 +0200 +++ new/openSUSE-release-tools-20200923.c33e6a9e/dashboard/templates/repository.html 2020-09-23 10:33:51.000000000 +0200 @@ -1,7 +1,7 @@ {% set progress = project.build_summary(repository) %} {% if progress['building'] >= 0 %} - {% if progress['building'] < 1000 %} - {{ progress['building'] / 10}}% done + {% if progress['building'] < 10000 %} + {{ progress['building'] / 100}}% done {% else %} done {% endif %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20200909.0bb0f971/gocd/checkers.suse.gocd.yaml new/openSUSE-release-tools-20200923.c33e6a9e/gocd/checkers.suse.gocd.yaml --- old/openSUSE-release-tools-20200909.0bb0f971/gocd/checkers.suse.gocd.yaml 2020-09-09 15:43:50.000000000 +0200 +++ new/openSUSE-release-tools-20200923.c33e6a9e/gocd/checkers.suse.gocd.yaml 2020-09-23 10:33:51.000000000 +0200 @@ -281,13 +281,13 @@ - staging-bot tasks: - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse) - SLE15.SP1.QR: + SLE15.SP2.QR: group: SLE.Checkers lock_behavior: unlockWhenFinished environment_variables: OSC_CONFIG: /home/go/config/oscrc-maintenance-installcheck timer: - spec: 0 0 0 ? * SUN + spec: 0 0 0 ? * THU materials: scripts: git: https://github.com/openSUSE/openSUSE-release-tools.git @@ -304,9 +304,9 @@ tasks: - script: |- cd scripts - ./pkglistgen.py -A https://api.suse.de --debug update_and_solve -p home:maintenance-installcheck:15-SP1:QR -s target --force - osc -A https://api.suse.de co home:maintenance-installcheck:15-SP1:QR 000product - cd home:maintenance-installcheck:15-SP1:QR/000product - sed -e 's,home:maintenance-installcheck:15-SP1:QR,SUSE:SLE-15-SP1:Update:QR,' -i * + ./pkglistgen.py -A https://api.suse.de --debug update_and_solve -p home:maintenance-installcheck:15-SP2:QR -s target --force + osc -A https://api.suse.de co home:maintenance-installcheck:15-SP2:QR 000product + cd home:maintenance-installcheck:15-SP2:QR/000product + sed -e 's,home:maintenance-installcheck:15-SP2:QR,SUSE:SLE-15-SP2:Update:QR,' -i * osc ci -m 'Fix repoid' - osc sr --yes SUSE:SLE-15-SP1:Update:QR -m 'Update Package List' + osc sr --yes SUSE:SLE-15-SP2:Update:QR -m 'Update Package List' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20200909.0bb0f971/gocd/checkers.suse.gocd.yaml.erb new/openSUSE-release-tools-20200923.c33e6a9e/gocd/checkers.suse.gocd.yaml.erb --- old/openSUSE-release-tools-20200909.0bb0f971/gocd/checkers.suse.gocd.yaml.erb 2020-09-09 15:43:50.000000000 +0200 +++ new/openSUSE-release-tools-20200923.c33e6a9e/gocd/checkers.suse.gocd.yaml.erb 2020-09-23 10:33:51.000000000 +0200 @@ -281,13 +281,13 @@ - staging-bot tasks: - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse) - SLE15.SP1.QR: + SLE15.SP2.QR: group: SLE.Checkers lock_behavior: unlockWhenFinished environment_variables: OSC_CONFIG: /home/go/config/oscrc-maintenance-installcheck timer: - spec: 0 0 0 ? * SUN + spec: 0 0 0 ? * THU materials: scripts: git: https://github.com/openSUSE/openSUSE-release-tools.git @@ -304,9 +304,9 @@ tasks: - script: |- cd scripts - ./pkglistgen.py -A https://api.suse.de --debug update_and_solve -p home:maintenance-installcheck:15-SP1:QR -s target --force - osc -A https://api.suse.de co home:maintenance-installcheck:15-SP1:QR 000product - cd home:maintenance-installcheck:15-SP1:QR/000product - sed -e 's,home:maintenance-installcheck:15-SP1:QR,SUSE:SLE-15-SP1:Update:QR,' -i * + ./pkglistgen.py -A https://api.suse.de --debug update_and_solve -p home:maintenance-installcheck:15-SP2:QR -s target --force + osc -A https://api.suse.de co home:maintenance-installcheck:15-SP2:QR 000product + cd home:maintenance-installcheck:15-SP2:QR/000product + sed -e 's,home:maintenance-installcheck:15-SP2:QR,SUSE:SLE-15-SP2:Update:QR,' -i * osc ci -m 'Fix repoid' - osc sr --yes SUSE:SLE-15-SP1:Update:QR -m 'Update Package List' + osc sr --yes SUSE:SLE-15-SP2:Update:QR -m 'Update Package List' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20200909.0bb0f971/ttm/README.md new/openSUSE-release-tools-20200923.c33e6a9e/ttm/README.md --- old/openSUSE-release-tools-20200909.0bb0f971/ttm/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/openSUSE-release-tools-20200923.c33e6a9e/ttm/README.md 2020-09-23 10:33:51.000000000 +0200 @@ -0,0 +1,71 @@ +ToTest-Manager +============== + +ToTest-Manager has two stages: + +* Releaser: Release a built product from the main project into the test subproject +* Publisher: Publish the tested product in the test subproject + +Both stages can run independently, but they communicate using the `ToTestManagerStatus` attribute to avoid races, like releasing a product while it's being published or overwriting a product while it's being tested. The releaser publish disables the test subproject before releasing a product. + +Products +-------- + +There are various kinds of product types: + +* main: Built in the main project in the `product_repo` for the given architectures and released into the `product_repo` in the test subproject. Optionally, it uses the OBS `set_release` option to set the build number of the products on release. On publish, the `product_repo` in the test subproject is publish enabled. +* livecd: Like main, but uses the `:Live` subproject's `livecd_repo` as source. +* ftp: Like main, but does not use `set_release`. +* image: Like main, but released into the `totest_images_repo` in the test subproject. On publishing, the `totest_images_repo` is publish enabled. +* container: Like main, but released into the `totest_container_repo` instead, which is always publish enabled so that they can be fetched from the OBS registry during testing. For publishing, those products are released into the releasetarget of `totest_container_repo`. This is best combined with a `kind="maintenance_release"` as the target project, to keep older builds instead of overwriting them. For long-living projects, `container-cleaner.py` is run which deletes older images. + +Every product can have multiple architectures defined, those are only used to check for build success before doing a release. If any of the listed architectures failed to build, a release is blocked. + +OBS does not allow to release a multibuild container without all of its flavors, so mentioning a multibuild container itself can be used instead of listing all flavors explicitly. In that case, there is no check for build success for the individual flavors, unless they are listed in addition. + +There is a check to ensure that every successful build in the `product_repo` maps to a product. If this is not the case, an error is printed and the release is blocked. + +set_release +----------- + +The `set_release` mechanism can be enabled for main, livecd and image products, where their build number is overwritten by `snapshot_number_prefix` + a number. If `take_source_from_product` is set, that number is taken from the first main product (`product_repo` + `product_arch`) or if that doesn't exist, the first image product (first arch). Otherwise, the `000release-packages:(base)-release` package from the main project's `standard` repo and `arch` is looked at. + +Configuration +------------- + +The configuration is stored in the `ToTestManagerConfig` attribute in YAML format. + +``` +base: openSUSE # Defaults to the toplevel project name +test_subproject: ToTest +do_not_release: False # If set, publishing is a noop (and the releaser doesn't publish disable!) +need_same_build_number: False # See set_release above +set_snapshot_number: False # See set_release above +snapshot_number_prefix: Snapshot # See set_release above +take_source_from_product: False # See set_release above +arch: x86_64 # See set_release above +jobs_num: 42 # Minimum number of openQA jobs before publishing is possible + +product_repo: images +product_arch: local # See set_release above +livecd_repo: images +totest_container_repo: containers +totest_images_repo: images # Repo for image_products. If not set, uses product_repo. + +products: + main: + - foo:dvd + livecd: + - livecd-foo: + - x86_64 + ftp: + - foo:ftp + image: + - foo:kvm: + - x86_64 + - foo-container-image:lxc: + - x86_64 + container: + - foo-container-image:docker: + - x86_64 +``` ++++++ openSUSE-release-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.q2GK1H/_old 2020-09-30 19:55:20.248835457 +0200 +++ /var/tmp/diff_new_pack.q2GK1H/_new 2020-09-30 19:55:20.248835457 +0200 @@ -1,5 +1,5 @@ name: openSUSE-release-tools -version: 20200909.0bb0f971 -mtime: 1599659030 -commit: 0bb0f971cc69883e3f053a1e1416f4ca4731191a +version: 20200923.c33e6a9e +mtime: 1600850031 +commit: c33e6a9e9fac56e8b318b1b805439723cb1b017e
participants (1)
-
root