4952 Commits

Author SHA1 Message Date
Jimmy Berry
2c45688f2f obs_operator: extract osc environment setup as with object. 2019-03-20 19:18:05 -05:00
Jimmy Berry
3293a24a89 osc-origin: osrt_origin_lookup(): print time since generated. 2019-03-20 19:18:05 -05:00
Jimmy Berry
d5dff4d15c osc-origin: osrt_origin_lookup_file(): include project in cache file name. 2019-03-20 19:18:05 -05:00
Jimmy Berry
8cdc99c1be osc-origin: list: sort by package name. 2019-03-20 19:01:32 -05:00
Jimmy Berry
b6866e6456 osclib/origin: policy_input_evaluate(): only add additional review if not already set.
This allows for more cleanly adding additional_reviews to include fallback
review where it may already be added for a more specific reason.
2019-03-20 19:01:32 -05:00
Jimmy Berry
07ecf7b250 osclib/core: package_source_hash(): handle non-existant revision. 2019-03-20 19:01:32 -05:00
Stephan Kulow
d3c0e8ba7f
Merge pull request #1910 from coolo/add_progress_output
Avoid gocd warning on 9 minutes without print
2019-03-20 15:25:09 +01:00
Stephan Kulow
57f15a4609 Avoid gocd warning on 9 minutes without print
the weak remover code is a little slow, but it's also a lot of data
2019-03-20 15:04:23 +01:00
Stephan Kulow
2f35ae20ed Remove repository (not set for letter stagings) 2019-03-20 13:15:30 +01:00
Stephan Kulow
7fc7a530be
Merge pull request #1876 from coolo/staging_repochecker
Repo checker: work on staging projects as a whole
2019-03-20 13:03:27 +01:00
Stephan Kulow
9667892ca2 SI: upload the result to OBS and link that on failure
This avoids botmaster access being required
2019-03-20 11:38:08 +01:00
Stephan Kulow
96e5c96e24 SI: continue with other stagings on failures
Turn around the boolean expression
2019-03-20 08:39:27 +01:00
Stephan Kulow
128c5c1633 Package the osrt- symlink in bin 2019-03-20 08:39:27 +01:00
Stephan Kulow
7695528682 Allow project comments to ignore delete requests for listed packages 2019-03-20 08:39:27 +01:00
Stephan Kulow
04fde3b7a1 SI: exit 1 if there was an error 2019-03-20 08:39:27 +01:00
Stephan Kulow
9eb1afc852 Don't throw 404 on disappeared adi project 2019-03-20 08:39:27 +01:00
Stephan Kulow
2fc542b5a2 Do not repeated failed reports either 2019-03-20 08:39:27 +01:00
Stephan Kulow
e873ec05f7 SI: Cache existant problems - they are always the same 2019-03-20 08:39:27 +01:00
Stephan Kulow
3520efaaa8 SI: Go through all staging projects 2019-03-20 08:39:27 +01:00
Stephan Kulow
44990b4742 Refactor a little 2019-03-20 08:39:27 +01:00
Stephan Kulow
44c79cfd76 Repo checker: work on staging projects as a whole
Implement a new command that takes a target project and one of its
staging projects and will run the checks against that project (including
delete requests) and if all is fine approves all reviews selected in
that staging.

This is to be used as part of the staging pipeline (and has been tested
with Factory's staging projects)
2019-03-20 08:39:27 +01:00
Stephan Kulow
d9b4fee58f gocd: Fix PYTHONPATH for the monitor scripts 2019-03-20 08:30:21 +01:00
Stephan Kulow
c76e0d9281
Merge pull request #1907 from jberry-suse/origin-manager-pending-annotation-dump
origin-manager: include origin annotation in comment when waiting.
2019-03-20 08:20:57 +01:00
Stephan Kulow
84d4d970c2
Merge pull request #1909 from coolo/fix_1908
Fix compat with pyYaml 5.1
2019-03-20 08:20:21 +01:00
Stephan Kulow
ab8a614868
Merge pull request #1896 from coolo/add_repoid_monitor
Add repoid monitor for gocd support
2019-03-20 08:10:07 +01:00
Stephan Kulow
e48e0b4750 Fix compat with pyYaml 5.1
the changed the output style default from None to False

Fixes #1908
2019-03-20 08:08:26 +01:00
Stephan Kulow
67df42770d No longer package rabbit-openqa but add gocd config for it 2019-03-20 06:47:37 +01:00
Stephan Kulow
eb8a2265df Add rabbit-repoid
This is a rather small tool that monitors all repositories below given
namespaces and commits their repo ids to a git (has to run from the
checkout).

This git is then used as a trigger point for gocd pipelines
2019-03-20 06:47:37 +01:00
Stephan Kulow
fa6e49559b PubsubConsumer: Implement max runtime
To have a clean break and a limited log file for monitoring bots
2019-03-20 06:47:37 +01:00
Stephan Kulow
bb48831eca
Merge pull request #1900 from jberry-suse/origin-manager-pending-hide-reviews
osclib/origin: policy_input_evaluate(): do not list disallowed reviews.
2019-03-20 06:33:41 +01:00
Stephan Kulow
c42cadf9ad
Merge pull request #1903 from okurz/feature/maintenance_15.1
[openqa-maintenance] Add openSUSE Leap 15.1 configuration
2019-03-20 06:33:26 +01:00
Stephan Kulow
a13930afd4
Merge pull request #1906 from jberry-suse/yaml-safe-load
Replace deprecated (and not advised) yaml.load() with yaml.safe_load().
2019-03-20 06:32:48 +01:00
Jimmy Berry
20a476f6ed origin-manager: include origin annotation in comment when waiting.
A stop-gap to aid in human review.
2019-03-19 17:31:13 -05:00
Jimmy Berry
78bfdb872f Replace deprecated (and not advised) yaml.load() with yaml.safe_load(). 2019-03-19 17:13:11 -05:00
b7eeea5d98
Merge pull request #1889 from Mau-G/master
Added livecd-tumbleweed-xfce in livecd_products
2019-03-13 11:54:59 +01:00
Oliver Kurz
ecf02225d1 [openqa-maintenance] Add openSUSE Leap 15.1 configuration
Tested with

```
./openqa-maintenance.py --dry --debug --review=accept-onpass --group qam-openqa --openqa=https://openqa.opensuse.org review |& grep '\(15.1\|684360\)'
```

which yields

```
DEBUG: openSUSE:Leap:15.1:Update -- product in apimap
DEBUG: Pmap: {'distri': 'opensuse', 'flavor': 'DVD-Incidents', 'version': '15.1'} Posts: []
…
```

but not the test request https://build.opensuse.org/request/show/684360 I have created
2019-03-12 16:51:19 +01:00
Jimmy Berry
14b29bb221 osclib/origin: policy_input_evaluate(): do not list disallowed reviews.
In order to reduce comments, information that changes such as reviews
must be excluded to avoid having to update a comment or be left in an
inaccurate state.
2019-03-12 08:45:55 -05:00
Stephan Kulow
149e290fae
Merge pull request #1898 from coolo/dont_upper
pkglistgen: Don't upper case the staging letter
2019-03-11 15:33:58 +01:00
Stephan Kulow
b75f6c7f49 pkglistgen: Don't upper case the staging letter 2019-03-11 15:19:43 +01:00
Stephan Kulow
bb2cb5c6f0
Merge pull request #1894 from jberry-suse/devel-project-notify-smtp-exception-catch
devel-project: notify: catch smtp exceptions rather than crashing.
2019-03-09 07:45:07 +01:00
Stephan Kulow
4bef56eecf
Merge pull request #1895 from coolo/fix_adi
Fix adi command if there are actually checks
2019-03-09 07:44:27 +01:00
Stephan Kulow
ae5ccf31d4 Fix adi command if there are actually checks 2019-03-08 21:55:09 +01:00
Jimmy Berry
e855d915ed devel-project: notify: catch smtp exceptions rather than crashing. 2019-03-08 10:02:53 -06:00
Stephan Kulow
7f2195fb57
Merge pull request #1893 from coolo/remove_repo_checker
No longer add repo checker as reviewer for Factory
2019-03-08 13:48:06 +01:00
Stephan Kulow
854aefad8a No longer add repo checker as reviewer for Factory 2019-03-08 13:42:34 +01:00
88a9e142df
Merge pull request #1892 from Vogtinator/ttm151armimages
Remove 15.1:ARM:Live
2019-03-08 13:41:18 +01:00
e281651fbd Remove 15.1:ARM:Live
It's 15.1:ARM:Images now.
2019-03-08 11:34:34 +01:00
Stephan Kulow
44cbc3a14d
Merge pull request #1890 from coolo/add_required_checks
Add all checks from staging-required-checks-adi to main repo of adi p…
2019-03-08 07:44:34 +01:00
Stephan Kulow
93b9e9e7e5
Merge pull request #1891 from coolo/dont_accept_adi
Block adi command from accepting if checks aren't succeeding
2019-03-08 07:44:00 +01:00
Stephan Kulow
578d0a7ddc Block adi command from accepting if checks aren't succeeding 2019-03-07 20:03:06 +01:00