4899 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
d9e7dcbe9c
Merge pull request #1953 from coolo/fix_ttm
Fix problems found during testing Factory's TTM
2019-04-15 14:32:58 +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
fcdd51b974 package: TTM needs python-enum34 (until we're on python3) 2019-04-15 10:20:47 +02:00
Stephan Kulow
bf6adfb782 TTM: Fix conversion of QAResult to string 2019-04-15 10:19:03 +02:00
Stephan Kulow
8911f2b76a
Merge pull request #1944 from coolo/split_ttm
Split manager into publisher and releaser
2019-04-15 09:55:58 +02:00
Stephan Kulow
989fecad8c
Merge pull request #1952 from lkocman/max_freeze
Improve error msg that the project was not frozen
2019-04-13 08:47:53 +02:00
082d37e36f Improve error msg that the project was not frozen
This change is trying to provide user more information
in case that he already froze project but date of last
freeze was not updated, since there were no changes for
last MAX_FROZEN_AGE days.

* Use osclib.freeze_command.MAX_FROZEN_AGE constant
* Avoid explicit proposal of --no-freeze bug suggest alternative
2019-04-12 13:48:51 +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
0016e77e71
Merge pull request #1948 from coolo/fix_si
Fix SI: Make the ignore whitelist always a set()
2019-04-04 07:34:16 +02:00
Stephan Kulow
2675121d4f Make the ignore whitelist always a set() 2019-04-04 07:28:17 +02:00
Stephan Kulow
36af69dc9b
Merge pull request #1945 from coolo/ignore_conflicts
Ignore packages listed in comments
2019-04-03 13:31:16 +02:00
Stephan Kulow
2096ac73f4 Ignore packages listed in comments 2019-04-01 20:15:35 +02:00
Jimmy Berry
d14cf59a53
Merge pull request #1939 from jberry-suse/ReviewBot-handle-crash
ReviewBot: handle any exception raised by check_one_request().
2019-03-29 14:50:24 -05:00
Jimmy Berry
d0e0f2aa3a ReviewBot: handle any exception raised by check_one_request().
Prevents a single failure from stopping all reviews.
2019-03-29 14:31:44 -05:00
Jimmy Berry
5c3f44b55b
Merge pull request #1938 from jberry-suse/origin-manager-delete-fallback
origin-manager: require fallback review for delete requests.
2019-03-29 14:29:00 -05:00
Jimmy Berry
b0371a1dca
Merge pull request #1940 from jberry-suse/osc-staging-select-proposal-ignore-nonfree
osc-staging: exclude NonFree requests from staging proposals.
2019-03-29 14:04:24 -05:00
456ec244a7
Merge pull request #1942 from coolo/dont_release_000product
Remove the special logic for 000product
2019-03-28 22:07:39 +01: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
Jimmy Berry
5f0f3f498a osc-staging: exclude NonFree requests from staging proposals.
- NonFree delete requests are never staged.
- NonFree submit requests are handled by adi command.
2019-03-28 09:54:24 -05:00
Jimmy Berry
9bb47b0106 origin-manager: require fallback review for delete requests.
Delete requests were intended to be handled in more detail along with
the update crawler re-write, but in the meantime always fallback.
2019-03-28 09:00:33 -05:00
Stephan Kulow
f449f810d8
Merge pull request #1937 from Vogtinator/somemorestuff
Some more ttm improvements/refactoring
2019-03-28 14:05:08 +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
f2f620e23d
Merge pull request #1936 from coolo/add_staging_bot
Fix indenting - this is really hard
2019-03-28 13:34:46 +01:00
Stephan Kulow
256c1b8411 Fix indenting - this is really hard :( 2019-03-28 13:33:56 +01:00
Stephan Kulow
486d0c405c
Merge pull request #1935 from coolo/add_staging_bot
Move some more pipelines from citest to official repo
2019-03-28 13:24:07 +01:00
Stephan Kulow
99299a1010 Move some more pipelines from citest to official repo 2019-03-28 12:16:33 +01:00
7f59878b02
Merge pull request #1931 from coolo/fix_makeurl
Fix one more crash in totest-manager on actual release
2019-03-28 10:08:02 +01:00
Stephan Kulow
0a4ca45e48 Replace all left self.project with self.project.name 2019-03-28 10:05:44 +01:00
Stephan Kulow
e80cf63aa0
Merge pull request #1930 from coolo/fix_no_release
Fix crash on images projects (openSUSE:Leap:15.0:Images)
2019-03-28 09:00:06 +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
1dc8e17785
Merge pull request #1919 from coolo/totest_manager_refact
Totest manager refactoring
2019-03-28 06:30:51 +01:00
Stephan Kulow
9e41f45f52 Skip ttm subdir in nosetests 2019-03-27 19:59:17 +01:00
Jimmy Berry
d8487cd417
Merge pull request #1925 from jberry-suse/obs_operator-k8s-cache
obs_operator: provide cache volume and origin-manager report cron.
2019-03-27 13:45:41 -05:00