6062 Commits

Author SHA1 Message Date
1bfbf08fe7 stagingapi: do not add multibuild flavor package to the ring package list 2020-04-29 22:33:48 +08:00
6c087e8a86 stagingapi: allow multibuild package spreads across ring 2020-04-29 22:32:15 +08:00
50286efadd
dist: drop bogus python-enum34 dependency
The entire codebase has moved to python3; pulling in this one python2 package makese no sense.
The guard with %if %{without python3} does not work as intended, as there is no %bcond_without statement
in the .spec file, thus assuming 'without' unless overriden by any other rules.
2020-04-24 14:17:59 +02:00
Stephan Kulow
77a148335e
Merge pull request #2427 from coolo/wipe_multibuild
Wipe all multibuild flavors for delete requests
2020-03-25 17:26:22 +01:00
Stephan Kulow
f28b520a92 Wipe all multibuild flavors for delete requests
Fixes #1899
2020-03-25 16:07:19 +01:00
Stephan Kulow
2086954934
Merge pull request #2426 from coolo/allow_skip_dr
Allow to disable the check of delete requests per config
2020-03-24 09:31:16 +01:00
Stephan Kulow
b98500af39 Allow to disable the check of delete requests per config
SLE service packs are just too complex to check delete requests sanely,
so better disable it. For next SLE we would enable it though

Fixes #2221 and ##2282
2020-03-24 09:05:51 +01:00
Stephan Kulow
2e3dc21c85
Merge pull request #2425 from coolo/add_repo
Fix check_source for repository specific package names
2020-03-20 17:02:49 +01:00
Stephan Kulow
2f8c02e9e0 Fix check_source for repository specific package names
If the package name as reported by OBS does not match the one
we're expecting, then loop through all repositories and check
if we find one there.

This is weakening the policy a little as this will open the
door for false negatives - e.g. that got the right package name
only for another repository. But as we do submission between
code streams all the time, I can't limit the package parsing
to repositories building against the target. So the opened
hole is to be closed by sanity check on review-team - as a
matter of fact the policy is not to catch people playing
macro games around Name, but for people that use completely
different names in source and target.

Fixes #2274
2020-03-20 14:40:01 +01:00
Stephan Kulow
cdc271c26e
Merge pull request #2424 from coolo/required_pkgs
Support 'required' field for packages
2020-03-19 17:14:32 +01:00
Stephan Kulow
f5059c0e07 Support 'required' field for packages
Fixes #1844
2020-03-19 14:36:10 +01:00
Stephan Kulow
37498292f8
Merge pull request #2423 from coolo/fix_8994
Work around OBS issue 8994
2020-03-19 07:32:50 +01:00
Stephan Kulow
0cef959328 Work around OBS issue 8994
Instead of declining the by_project review, unselect the request and
decline the group review. This way we avoid the OBS problem
2020-03-18 22:40:47 +01:00
Stephan Kulow
74ecff5c05
Merge pull request #2422 from coolo/fix_repo_to_stop
Use the new API from openqa to sync the right repositories
2020-03-18 13:59:58 +01:00
Stephan Kulow
9e1e79eb95 Use the new API from openqa to sync the right repositories 2020-03-18 13:52:29 +01:00
Stephan Kulow
91ee0f414d
Merge pull request #2421 from coolo/fix_repo_to_stop
Take the interesting repos from the output for now
2020-03-17 07:37:33 +01:00
Stephan Kulow
eb0124064e Take the interesting repos from the output for now
As long as we don't know what's configured on openqa (the API is WIP),
we rely on existing data
2020-03-17 07:17:31 +01:00
Stephan Kulow
683bee4a32
Merge pull request #2420 from coolo/fix_repo_to_stop
Sync script for obs_rsync
2020-03-16 15:52:01 +01:00
Stephan Kulow
7ba26f666c Sync script for obs_rsync
This will be triggered on gocd if there are changes in the finished
repositories, checks the important repositories and notifies openQA
2020-03-16 15:27:27 +01:00
Stephan Kulow
08c8cd5d9e
Merge pull request #2419 from coolo/fix_repo_to_stop
No longer trigger obsrsync directly from rabbitmq messages
2020-03-16 11:22:38 +01:00
Stephan Kulow
18d3f20789 No longer trigger obsrsync directly from rabbitmq messages
Rely on rabbit-repoid git instead
2020-03-16 08:58:45 +01:00
Stephan Kulow
ed7d3ce245
Merge pull request #2418 from coolo/fix_repo_to_stop
Split the work done in rabbit-openqa into smaller chunks
2020-03-16 08:31:15 +01:00
Stephan Kulow
334862a372 Adopt fixture to changes in obs' xml output 2020-03-16 08:05:14 +01:00
Stephan Kulow
236cf1ab38 Split the work done in rabbit-openqa into smaller chunks
As the rabbitmq heartbeart interval is a hard limit, we need to make sure
we're not overloading the time in between
2020-03-13 15:20:01 +01:00
Stephan Kulow
d98dd90928
Merge pull request #2417 from coolo/switch_metrics
Switch metrics to use python3
2020-03-10 12:03:39 +01:00
Stephan Kulow
010ffd8a51 Switch metrics to use python3
influxdb is no longer provided for python2
2020-03-10 12:02:22 +01:00
Stephan Kulow
e25d3bfb3d
Merge pull request #2416 from coolo/add_debug_to_pkglist
Add error message in case upload fails
2020-03-10 10:49:02 +01:00
Stephan Kulow
ef1064e73b
Merge pull request #2415 from coolo/fix_repo_to_stop
Stop repo monitor earlier: 30 hours might be a little excessive
2020-03-06 13:26:18 +01:00
Stephan Kulow
e3c6ae5f36 Add error message in case upload fails 2020-03-06 10:04:25 +01:00
Stephan Kulow
3cd2623618 Stop repo monitor earlier: 30 hours might be a little excessive 2020-03-06 09:39:02 +01:00
Stephan Kulow
63aa406da3
Merge pull request #2057 from lnussel/requestfinder
requestfinder: print all actions
2020-03-05 12:20:54 +01:00
Stephan Kulow
1b338c6507
Merge pull request #2412 from nilxam/py3_cleanup_rings
cleanup_rings: fix python3 bytes/string type error
2020-03-05 12:20:31 +01:00
Stephan Kulow
3a8b42b001
Merge pull request #2414 from coolo/make_rabbit_repoid_stable
Make rabbit repoid stable
2020-03-05 12:20:08 +01:00
Stephan Kulow
bef4dc3083 Let the rabbit monitors run for 3 hours instead of one
This makes the startup time easier to justify
2020-03-04 13:00:43 +01:00
Stephan Kulow
6e84bae03a Make rabbit-repoid more stable
Instead of fetching all OBS repos in one loop and running into a timeout,
slice this into 25 repos every 5 seconds until it's done
2020-03-04 12:58:52 +01:00
fbc0a9e068
Merge pull request #2413 from Vogtinator/snapshot-override
Allow overriding the prefix for setrelease
2020-03-03 12:53:55 +01: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
2f980076cc cleanup_rings: fix python3 bytes/string type error 2020-03-03 15:55:40 +08:00
0c3764202c
Merge pull request #2411 from DimStar77/replace-declined
Replace declined requests
2020-03-02 16:56:32 +08:00
28d3767e81
Replace declined requests
A common workflow is:
* pkg is being marked for deletion by repo-checker [botdel]
* User comes to the rescue and fixes the package, Submits the fix
* Commonly, the delreq is being declined (by factory-maintainer)
* factory-auto declines SR, as pkg now has a delreq and subreq pending
* factory-auto does not consider the 'declined' request as replacable
  and complains that it should be revoked (or superseded). Since the
  del req was created by repo-checker, 'nobody' has the credentials to
  revoke the request. The user, not having a role in the old SR, has
  no permission to supersede

So let's just accept a delete request in statet 'declined' as something
  that can be replaced by a submit request for the same package.
2020-02-28 12:52:01 +01:00
Stephan Kulow
f8ecad1d46
Merge pull request #2409 from gyr/general_sp2_images
Make images release to TEST generic
2020-02-24 09:14:37 +01:00
7a06008735
Merge pull request #2403 from Vogtinator/dodmirror
Support DoD repos in project-installcheck
2020-02-24 08:48:25 +01:00
3b5f865031
Merge pull request #2407 from nilxam/fcc_submitter_152
fcc_submitter: update to 15.2
2020-02-20 18:02:49 +08:00
c809175200 Make images release to TEST generic
As image names have a pattern in 15-SP2 (SLE*), change the script that
release to TEST to use this image name pattern instead of list all
images.This will avoid frequently updates in script cause by new image
package submissions.
2020-02-19 17:14:09 -03:00
Fabian Vogt
5458650f71 Fix typos 2020-02-19 13:57:16 +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
0e34ca7a85
Merge pull request #2408 from nilxam/staging_wokrflow_url
stagingapi: replace staging project URL to staging workflow on adi project
2020-02-19 13:40:06 +01:00
7c86e7f219 stagingapi: replace staging project URL to staging workflow on adi project 2020-02-19 20:08:11 +08:00
c572940ac7 fcc_submitter: update to 15.2 2020-02-18 22:47:52 +08: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