Stephan Kulow
7c1a658f3d
Fix check_source on public cloud images
...
The check for bcntsynctag can be very misleading - just because we align
the build counters between 2 packages doesn't make them invalid submission
targets. Better rely on the link check which is already implemented as
fallback
And set a verbose decline reason for this case
2019-10-22 09:26:55 +02:00
Stephan Kulow
24a8cf2b2f
testenv: install shadow for useradd
2019-10-19 13:18:42 +02:00
Jimmy Berry
180e44641c
Merge pull request #2265 from jberry-suse/userscript-origin-conflict
...
userscript/origin: run in no-conflict mode.
2019-10-17 15:41:41 -05:00
16ae84dfac
Merge pull request #2267 from nilxam/decode_bytes_suppkg_rebuild
...
suppkg_rebuild: decode bytes before comparing
2019-10-17 19:03:22 +08:00
b894e97359
suppkg_rebuild: decode bytes before comparing
...
Compares bytes and string in Python is different, make both are strings
before comparing.
2019-10-17 18:41:25 +08:00
23d4c737d7
Merge pull request #2266 from DimStar77/bfn-greet
...
build-fail-notification: Fix how we address the user
2019-10-17 09:49:41 +02:00
128d95c56d
build-fail-notification: Fix how we address the user
...
In 6f21ae6 we fixed an inversion of to and fullname fields - but the
recipient was not fixed up here (resulting in addressing the user
by his email address)
Also fix a typo: recepient -> recipient
2019-10-17 09:32:38 +02:00
Jimmy Berry
1c8ca8c4be
userscript/origin: run in no-conflict mode.
...
Otherwise, conflicts with OBS jquery version and plugins.
2019-10-16 16:20:08 -05:00
Stephan Kulow
ad934285b1
Merge pull request #2262 from gyr/15sp2_vagrant
...
Added Vagrant box in 15-SP2 release tool
2019-10-16 19:41:21 +02:00
455c14289d
Merge pull request #2263 from nilxam/fix_project_status_path
...
build-fail-reminder: update api path to projects/:project/status
2019-10-16 17:30:40 +02:00
8bae3694e8
build-fail-reminder: update api path to projects/:project/status
2019-10-16 22:53:38 +08:00
980a0c52e2
Added Vagrant box in 15-SP2 release tool
...
Added new SLED-15-SP2-Vagrant and SLES-15-SP2-Vagrant in release to TEST
setup for SLE-15-SP2
2019-10-16 10:55:00 -03:00
0c4d62c582
Merge pull request #2259 from DimStar77/adi_images
...
adi: build kiwi images in a /images repository
2019-10-15 21:24:35 +08:00
35d7bf0ce3
Merge pull request #2260 from nilxam/locales_from_attribs
...
pkglistgen: fix wrong parsing way on pkglistgen-locale
2019-10-15 20:20:20 +08:00
7b8d295abd
pkglistgen: fix wrong parsing way on pkglistgen-locale
...
Since the data is from project attribute, pkglistgen should not parsing a string.
This change also renamed pkglistgen-local to pkglistgen-locale.
2019-10-15 19:17:57 +08:00
3f8e30931a
adi: build kiwi images in a /images repository
2019-10-15 10:48:54 +02:00
e7be100b44
Merge pull request #2256 from nilxam/suppkg_leap_152
...
rebuild_support: enable Leap 15.2
2019-10-14 15:05:54 +08:00
b46991c3c5
rebuild_support: enable Leap 15.2
2019-10-09 16:25:19 +08:00
Jimmy Berry
7451a6ad02
Merge pull request #2255 from jberry-suse/osc-staging-interactive-python3
...
osc-staging,issue-diff: open temporary file in write without binary mode.
2019-10-08 16:05:17 -05:00
Jimmy Berry
5b91d6bc84
osc-staging,issue-diff: open temporary file in write without binary mode.
...
Otherwise, all write calls complain about passing a string instead of
binary data. Given the yaml dump and subsequent comments are all strings
it makes more sense to change file mode.
2019-10-08 15:21:22 -05:00
Stephan Kulow
6c39d95da5
Merge pull request #2254 from DimStar77/reminders
...
BuildFailReminder: fix inversion of to and fullname
2019-10-07 06:55:05 +02:00
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