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
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