5554 Commits

Author SHA1 Message Date
6f21ae6a8b BuildFailReminder: fix inversion of to and fullname 2019-10-07 06:53:49 +02:00
Stephan Kulow
c1cb6a0c0c
Merge pull request #2252 from gyr/fix_15sp2_JeOS
Replace kiwi-templates-SLES15-JeOS with kiwi-templates-JeOS
2019-10-07 06:52:10 +02:00
106d1655ca Replace kiwi-templates-SLES15-JeOS with kiwi-templates-JeOS. Package was
rename in SLE-15-SP2.
2019-10-01 13:02:18 -03:00
Ludwig Nussel
3d04dde8c0
Merge pull request #2250 from lnussel/check_source
check_source: avoid crash if filename is not set
2019-09-30 09:55:23 +02:00
Ludwig Nussel
f5fad72747 check_source: avoid crash if filename is not set 2019-09-27 14:34:18 +02:00
Stephan Kulow
6cbf1e6ac2
Merge pull request #2249 from coolo/sp2_enable
Enable images repo once 000product was updated
2019-09-27 12:13:53 +02:00
Stephan Kulow
101a4c8646 Enable images repo once 000product was updated
If installcheck or packagelists check fails, there is no point
(normally) to build the media - so let the release manager disable
the images repo (which also hides uninteresting fails) while the
checks are failing and have gocd enable the images repo afterwards
to start the build (and the openqa sync)
2019-09-27 08:25:18 +02:00
Stephan Kulow
456b203a64
Merge pull request #2248 from coolo/shorter_timeout
Kill review bots if they didn't output anything for 30 minutes
2019-09-26 18:56:27 +02:00
Stephan Kulow
40a88ace51
Merge pull request #2246 from coolo/fix_rebuildpacs
rebuildpacs: Ignore order of problems
2019-09-26 16:43:34 +02:00
Jimmy Berry
6ed04ab769
Merge pull request #2247 from jberry-suse/origin-listener-event-commit
osclib/origin_listener: change from package.update to package.commit event.
2019-09-26 09:36:34 -05:00
Stephan Kulow
d30a1c43e1 Kill review bots if they didn't output anything for 30 minutes
We start most jobs with --debug to generate output, but we had the
case that OBS network caused the connection to just get stuck and
then it 'paused' for 18 hours
2019-09-26 16:33:11 +02:00
Jimmy Berry
1942065bd2
Merge pull request #2243 from jberry-suse/origin-manager-invalid-annoation
osclib/origin: origin_annotation_load(): improve robustness by tolerating invalid data.
2019-09-26 08:58:33 -05:00
Jimmy Berry
3ec0f1730d osclib/origin_listener: change from package.update to package.commit event. 2019-09-26 08:54:22 -05:00
Jimmy Berry
b8ec607fb8
Merge pull request #2241 from jberry-suse/origin-manager-age-min
origin-manager: provide and utilize ReviewBot.request_age_wait().
2019-09-26 08:42:33 -05:00
Jimmy Berry
0acfbc288e
Merge pull request #2242 from jberry-suse/osclib-core-request_action_single_list-multiple-actions
osclib/core: request_action_single_list(): exclude sourced requests and handle miltiple actions.
2019-09-26 07:56:59 -05:00
Stephan Kulow
a037f08cb0 rebuildpacs: Ignore order of problems
If comparing 2 rebuild worthy problems, ignore order of the problems.

Fixes #2232
2019-09-26 14:17:40 +02:00
Jimmy Berry
0b34e1629b osclib/origin: origin_annotation_load(): only return dict annotation.
To improve robustness and handle invalid/corrupt data in the annotation
just return None if it is anything other than a dict after parsing. The
most likely occurrence is someone accepts the origin-manager review with
a plain-text message.
2019-09-25 15:41:02 -05:00
Jimmy Berry
bc0ec5c6c9 osclib/origin: origin_annotation_load(): only consider accepted reviews.
This excludes reviews that were added and never reviewed possibly because
the request was rejected before the review could be accepted. In such
cases the comment specified when adding the review will be loaded as the
annotation which is not desirable.
2019-09-25 15:40:43 -05:00
Jimmy Berry
cc03a35617 osclib/core: review_find_last(): provide states filter. 2019-09-25 15:33:20 -05:00
Jimmy Berry
c93d2d2ffa osclib/core: rename request_action_single_list() to request_action_simple_list(). 2019-09-25 14:40:56 -05:00
Jimmy Berry
542268af34 osclib/core: switch request_action_single_list() users to request_action_list(). 2019-09-25 14:40:38 -05:00
Jimmy Berry
0bc8a52aca osclib/core: request_action_single_list(): handle miltiple actions. 2019-09-25 14:37:24 -05:00
Jimmy Berry
341bae564d osclib/core: request_action_single_list(): exclude sourced requests. 2019-09-25 14:37:18 -05:00
Jimmy Berry
4c31f7754d origin-manager: utilize ReviewBot.request_age_wait().
Configure a default of 30 minutes to work well with staging-bot quick
strategy.
2019-09-25 14:17:24 -05:00
Jimmy Berry
7033044469 ReviewBot: provide request_age_wait().
Provides configurable default, config key, and config override value.
2019-09-25 14:17:21 -05:00
Jimmy Berry
438b38fc0f
Merge pull request #2240 from jberry-suse/gocd-restore-daily-origin-manager-full-run
gocd/checkers: revert Origin.Manager.Update frequency back to daily.
2019-09-25 13:17:35 -05:00
Jimmy Berry
b2f7fd816c gocd/checkers: revert Origin.Manager.Update frequency back to daily.
With the lack of events from OBS for SLE updates #2239 and the troubles
with the pika base class for IBS #2220 it seems best to keep the full
run daily to ensure expedient updates.
2019-09-25 12:17:37 -05:00
8a0e6ed339
Merge pull request #2237 from nilxam/fix_check_source_wrong_decline
check_source: when kind is None then it can be a new package
2019-09-25 20:00:19 +08:00
e8f00f8ad1 check_source: when kind is None then it can be a new package
if package_kind() returned None then the submission can be a new package
submission, check_source should continue the process instead of
decline the request.
2019-09-25 19:36:52 +08:00
Ludwig Nussel
9af682c9b3
Merge pull request #2231 from lnussel/check_source
check_source: don't enforce name for kiwi images
2019-09-25 11:17:50 +02:00
Jimmy Berry
e9a2774a45
Merge pull request #2234 from jberry-suse/review-package-kind
origin-manager: skip package of type not (None or source) and similar for check_source.
2019-09-24 16:18:23 -05:00
Jimmy Berry
faf6a82eea
Merge pull request #2235 from jberry-suse/origin-manager-cli-simpify
origin-manager: drop sub-classed CommandLineInterface as parent will suffice.
2019-09-24 11:59:01 -05:00
Jimmy Berry
40958d3460 origin-manager: drop sub-classed CommandLineInterface as parent will suffice. 2019-09-24 11:38:59 -05:00
Jimmy Berry
160225b5e9 origin-manager: skip package of type not (None or source).
Should skip review of meta packages and such. Although same logic would
seem to apply to deletes origin-manager is used to enforce manual review
of all deletes and as such even deleting of a meta package should be
included.
2019-09-24 11:29:45 -05:00
Jimmy Berry
afd288b87d check_source: decline package of kind not (meta or source). 2019-09-24 11:26:52 -05:00
Jimmy Berry
91aeaf1f55 check_source: replace meta check with package_kind() == meta. 2019-09-24 11:25:47 -05:00
Jimmy Berry
f63da476c2 osclib/core: package_kind(): include underscore as meta prefix.
Previously used by _product which is still used in SLE-12.
2019-09-24 11:25:18 -05:00
Jimmy Berry
96ca2080ef
Merge pull request #2233 from jberry-suse/staging-rebuild-log-tail
osclib/stagingapi: rebuild_check(): utilize -4096 offset for build log.
2019-09-24 10:00:36 -05:00
Jimmy Berry
88d83de9b1 osclib/stagingapi: rebuild_check(): utilize -4096 offset for build log.
Avoids streaming huge log files when only the end is needed.
2019-09-24 08:40:16 -05:00
Jimmy Berry
c8663d83af osclib/stagingapi: buildlog_get(): support negative offset.
Derive real offset from log size determined via additional API call.
2019-09-24 08:39:27 -05:00
Jimmy Berry
83f1d51c3b
Merge pull request #2230 from jberry-suse/osclib-util-rmtree-nfs-safe
osclib/cache: utilize rmtree_nfs_safe().
2019-09-23 18:45:31 -05:00
Ludwig Nussel
67fd2718b5 check_source: don't enforce name for kiwi images
The benefit of this check is unclear to me. It enforces the Name tag
inside he kiwi file to be the same as the package name in OBS while the
kiwi file name itself can be arbitrary.
So that means that kiwi package names end up encoding their distribution
and version (eg "openSUSE-Leap-15.2-Vagrant") and have to be renamed for
each release. Also means diffing between released versions isn't as
straight forward as it could be if the name was more flexibel.
If we wanted to enforce something then we should make sure the actual
kiwi file name is the same as the OBS package name. That is what the
spec file name check actually does after all (package hello needs to
have hello.spec ie srpm name hello).
2019-09-20 14:37:46 +02:00
Ludwig Nussel
155606e3d8
Merge pull request #2218 from ggardet/fix_factory_package_news_on_tw
factory-package-news: fixes for Tumbleweed
2019-09-20 13:02:48 +02:00
7b46636506 factory-package-news: fixes for Tumbleweed 2019-09-19 18:44:14 +02:00
Stephan Kulow
8df4450735
Merge pull request #2226 from jberry-suse/gocd-origin-manager-update-timeout
gocd/monitors: *.OriginManagerUpdate: set timeout to 10 minutes.
2019-09-19 09:49:14 +02:00
Jimmy Berry
5c96529c65 osclib/cache: utilize rmtree_nfs_safe(). 2019-09-18 21:37:51 -05:00
Jimmy Berry
81f8807cda osclib/util: provide rmtree_nfs_safe().
Still occurs and when in obs_operator context is even more annoying.
2019-09-18 21:10:49 -05:00
Jimmy Berry
c185be8c8d
Merge pull request #2227 from jberry-suse/ReviewBot-add-review-403
ReviewBot: add_review(): handle 403 as expected when superseded/rovoked.
2019-09-18 20:30:19 -05:00
Jimmy Berry
0930b8368e ReviewBot: add_review(): handle 403 as expected when superseded/rovoked. 2019-09-18 20:03:41 -05:00
Jimmy Berry
abb40adcd2
Merge pull request #2225 from jberry-suse/ReviewBot-handle-revoked-superseded
ReviewBot: _set_review(): handle review being revoked or superseded.
2019-09-18 19:52:17 -05:00