29 Commits

Author SHA1 Message Date
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
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
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
Ludwig Nussel
51c9fe7bb9 ttm: add appx support for WSL images 2020-01-29 17:17:45 +01:00
Stephan Kulow
1d600077e9 Run ttm in python3 containers as well 2019-05-15 20:47:41 +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
8d34e24100 TTM: Do not touch attributes if dry run 2019-04-05 09:51:56 +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
0ba07f3a12 Add published comment to openqa
(not replace the old one, we want to see the history)
2019-04-04 15:11:29 +02:00
Stephan Kulow
ae786ec38f Split manager into publisher and release 2019-04-04 13:31:40 +02:00
Stephan Kulow
4f494e8495 Remove the special logic for 000product
If we release 000product with set_release the FTP tree is mis-named
2019-03-28 21:58:05 +01:00
69a8422e6e Release/Publish container_products first
In some cases releasing/publishing that failed, with unfortunate consequences:
- Other products were still released/published
- Snapshot version did not get updated
-> Endless retries

There should be a way to flag a "release/publish in-progress", but until that's
the case a workaround is better than nothing.
2019-03-28 13:58:23 +01:00
0e9bdbe4fe Fix yet another crash because of self.project 2019-03-28 13:54:41 +01:00
32a1174d9c Don't use version_images prefix for Images projects
They have their own 00Meta, so it's not necessary anymore.
2019-03-28 13:54:29 +01:00
Stephan Kulow
0a4ca45e48 Replace all left self.project with self.project.name 2019-03-28 10:05:44 +01:00
Stephan Kulow
1576a1cf46 Fix crash on images projects (openSUSE:Leap:15.0:Images)
And reduce debug output - it's hard to see the actual debug output
2019-03-28 08:34:26 +01:00
Stephan Kulow
32afd61501 Remove is_image_product all together 2019-03-27 17:23:59 +01:00
Stephan Kulow
f3b3549a35 Rename the snapshot functions and add gocd config 2019-03-27 17:20:20 +01:00
Stephan Kulow
7932e11134 Moved the config into OBS/IBS 2019-03-27 15:56:48 +01:00
Stephan Kulow
b35453b4bf Calculate is_image_product instead of configuring it 2019-03-27 15:56:48 +01:00
Stephan Kulow
86c507d668 Parse the config from yaml 2019-03-27 15:56:48 +01:00
Stephan Kulow
bb438bde4f Split totest manager into multiple files 2019-03-27 15:56:48 +01:00