31 Commits

Author SHA1 Message Date
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
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
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
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
0938ebbcc7 TTM: Simplify (and fix) openqa status 2019-04-04 13:53:57 +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
Stephan Kulow
e66d5054d7 Add config 2019-03-27 15:56:48 +01:00