70 Commits

Author SHA1 Message Date
Fabian Vogt
718cb7748a ttm: Print all failing packages before exiting
Don't exit early but print all known issues instead.
2024-06-03 14:57:19 +02:00
Fabian Vogt
99d3f4cd57 ttm: Use _result of the whole project instead of separately for each pkg
It's much faster to fetch the _result for the whole project once instead
for each prj/pkg/repo/arch separately.
2024-06-03 14:57:18 +02:00
Dirk Müller
730630f06f
Use f-strings where possible 2024-05-07 21:52:32 +02:00
Fabian Vogt
e6cebf090e ttm: Remove livecd size checks
live-kiwi-hook and openQA already do that, let's not triplicate the check.
2024-02-12 10:19:20 +01:00
1afc29ba34 ttm: fix regexp to match 'livecd-x11' check 2023-12-01 10:30:54 +01:00
1926dc5a98 ttm: Allow bigger images for livecd-x11 on aarch64
since no CD will be used, but usb sticks
2023-11-29 17:32:02 +01:00
Fabian Vogt
f1667dd4eb ttm: Check for build success of containerfile_products before releasing
That was apparently forgotten when this product kind was introduced.
2023-09-25 15:46:20 +02:00
Fabian Vogt
9f58f14452 ttm: Print the full list of missing products before exiting
Check the rest as well instead of bailing early.
2023-09-25 15:45:28 +02:00
Stephan Kulow
b341b19392 TTM: Do not save SeenIssues if they didn't change 2022-09-01 14:44:07 +02:00
Stephan Kulow
3787e0242b TTM: Add log message for changing status 2022-09-01 13:38:03 +02:00
Stephan Kulow
f86579642b Target E501 - Line too long
https://www.flake8rules.com/rules/E501.html - but 79 characters is a
joke
2022-02-18 18:17:27 +01:00
Stephan Kulow
f38bd3a7ed Target E128 - Continuation line under-indented for visual indent
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
54079e949f Target E202 - Whitespace before ')'
https://www.flake8rules.com/rules/E202.html
2022-02-18 17:18:29 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
579145b52c Target F841 - Remove unused variables 2022-02-18 17:01:38 +01:00
Stephan Kulow
ae734ba555 Fix indent of statements E127
https://www.flake8rules.com/rules/E127.html
2022-02-18 14:23:59 +01:00
Stephan Kulow
e52dc6ce2b Harmonize imports on using lxml for XML parsing 2022-02-18 11:16:01 +01:00
Fabian Vogt
231bad39a8 Check whether the FTP trees contain OSRT:ProductVersion before releasing
Otherwise it might release a build which uses the wrong version.
2022-02-02 11:55:02 +01:00
Fabian Vogt
a93e4fa22a ttm/manager.py: Also find versions from plain tarballs
It already handled .docker.tar.xz, add plain tar.xz as well.
2021-06-18 14:03:48 +02:00
Fabian Vogt
d2b18fb07a ttm/publisher.py: If force is set, ignore QA and other checks 2021-06-18 14:00:57 +02:00
Fabian Vogt
4b84f7a9df Add containerfile_products type to totest-manager 2021-03-10 15:21:04 +01:00
Fabian Vogt
480a509c2a Add a readme about TTM 2020-09-16 15:30:38 +02:00
Fabian Vogt
e8ca1bf291 TTM: Ignore arch check for multibuild containers 2020-09-09 08:38:56 +02:00
Fabian Vogt
acc0ba0833 TTM: Verify that all successfully built products are mentioned in the config
This is to avoid that added container images or appliance flavors are never
released due to the missing config addition.
2020-09-04 11:31:09 +02:00
Fabian Vogt
bab96c2f30 Allow overriding the prefix for setrelease
Currently if set_snapshot_number is true, it uses "Snapshot" as prefix.
In some cases it's necessary to use a different one. This can now be configured
using the "snapshot_number_prefix" option.
2020-03-03 11:54:43 +01:00
c0ab2c6b6c
Merge pull request #2405 from DimStar77/ttm-parallelfailed
ttm: ignore parallel_failed jobs, but still list as failed
2020-02-19 13:40:39 +01:00
Stephan Kulow
a9f378044f
Merge pull request #2406 from coolo/change_release_order
Release FTP repos before ISOs
2020-02-17 15:40:00 +01:00
Stephan Kulow
3e12579d90 Release FTP repos before ISOs
It takes a long time to sync the repos but ISOs are very quick. This lead
to the problem that openQA already started syncing the build while the
repo was synced up. As the repository is set to unpublished in between
the calls, openQA has no chance to see that more is to come.

So if we release the slow products first, openqa has a better chance to
catch up.
2020-02-17 14:50:01 +01:00
5728167f14
ttm: ignore parallel_failed jobs, but still list as failed
Fixes https://github.com/openSUSE/openSUSE-release-tools/issues/2402
2020-02-14 13:55:44 +01:00
Ludwig Nussel
51c9fe7bb9 ttm: add appx support for WSL images 2020-01-29 17:17:45 +01:00
33111b0709
ttm: remove code to update pinned openQA comment
Fixes #2105
2019-06-05 09:32:54 +02:00
521a749825
TTM: Add new failed status 'timeout_exceeded' 2019-05-21 11:34:46 +02:00
Stephan Kulow
1d600077e9 Run ttm in python3 containers as well 2019-05-15 20:47:41 +02:00
2237c880a7 Only impose a maxsize for a selected list of packages
Currently everything needs to have a maxsize defined, but for most it doesn't
make sense. So only keep those which do and don't impose a limit by default.
2019-05-14 09:16:46 +02:00
Stephan Kulow
fec762e5a4 Avoid warning on using .warn (python3) 2019-05-11 14:25:02 +02:00
Michel Normand
9e248644f8 [ttm] do not wait publishing if dryrun
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2019-05-02 10:47:03 +02:00
Stephan Kulow
39960a3e96
Merge pull request #1956 from Vogtinator/appliances
Add option to release image_products into a separate repo
2019-04-17 09:30:34 +02:00
Stephan Kulow
e6ba56dde2 TTM: Remove confusing debug output
INFO:ttm.manager:Updating snapshot None
2019-04-16 15:10:05 +02:00
Stephan Kulow
ce8185ebf4 TTM: Fix another migration problem on publishing
Releaser waits for previous snapshot to be 'published', but the publisher
won't write this, but expects the wait_for_published command to write it.

But this won't be executed unless we return .passed once
2019-04-16 14:28:52 +02:00
256b8dd902 Add option to release image_products into a separate repo
totest_images_repo defaults to product_repo if unset.
That's not exactly the same behaviour as before (following the releasetarget),
but should cover all current projects.
2019-04-16 12:00:27 +02:00
0862a64043
Merge pull request #1954 from coolo/add_fixup_command
TTM: add fixup command to update attribute
2019-04-16 08:40:21 +02:00
Stephan Kulow
78a5365e3a TTM: add fixup command to update attribute
It may be necessary to fix the TTM Status to be aligned with reality, so
provide a command line to do so easily (osc is unfortunately useless for
multiline attributes)
2019-04-15 16:30:30 +02:00
Stephan Kulow
5d5c077ef4 TTM: Ignore bootstrap - user will have to use --force 2019-04-15 11:38:40 +02:00
Stephan Kulow
f33d79acfa Extend the migration code 2019-04-15 11:01:49 +02:00
Stephan Kulow
f5220af12d TTM: Add migration for the 'testing' status attribute 2019-04-15 10:42:21 +02:00
Stephan Kulow
bf6adfb782 TTM: Fix conversion of QAResult to string 2019-04-15 10:19:03 +02:00
Stephan Kulow
622990aa02 Fix exit handling of release and publish commands
If the commands can't proceed, exit 1 - actually triggering another
pipeline is not yet implemented
2019-04-10 07:39:38 +02:00
Stephan Kulow
0475cc8d6b TTM: Don't set 'published' snapshot before it's done
Publish stage of the TTM will wait for the ToTest project to be done
before setting 'published' - and that's what the Release stage waits
for.
2019-04-08 09:11:16 +02:00
Stephan Kulow
22e40f787a Add info log to wasted publish calls 2019-04-05 09:51:56 +02:00
Stephan Kulow
da3dfb709c TTM: reset failed status if no longer failing 2019-04-05 09:51:56 +02:00