24 Commits

Author SHA1 Message Date
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
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
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +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
4b84f7a9df Add containerfile_products type to totest-manager 2021-03-10 15:21:04 +01: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
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
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
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
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
Stephan Kulow
5d5c077ef4 TTM: Ignore bootstrap - user will have to use --force 2019-04-15 11:38:40 +02:00
Stephan Kulow
f5220af12d TTM: Add migration for the 'testing' status attribute 2019-04-15 10:42:21 +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
21b36d7dbc TTM: Fix release_package to be available to publisher as well
The containers are released as part of the publishing
2019-04-05 09:51:56 +02:00
Stephan Kulow
4db377ff8a TTM: Check the publish state in releaser 2019-04-04 15:38:04 +02:00
Stephan Kulow
39b9653091 Set the 'testing' status in releaser 2019-04-04 15:16:42 +02:00
Stephan Kulow
ae786ec38f Split manager into publisher and release 2019-04-04 13:31:40 +02:00