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
Jimmy Berry
b83793ab0c
gocd/monitors: *.OriginManagerUpdate: set timeout to 10 minutes.
2019-09-18 19:48:24 -05:00
Jimmy Berry
abd6f65fdd
Merge pull request #2224 from jberry-suse/osclib-core-delete-rework
...
osclib/core: request_create_delete(): utilize pusedo osc.core function.
2019-09-18 19:37:24 -05:00
Jimmy Berry
43067cf8e4
ReviewBot: _set_review(): handle review being revoked or superseded.
...
This can occur when the review state is changed during the review.
2019-09-18 18:22:56 -05:00
Jimmy Berry
db9f03338b
osclib/core: request_create_delete(): utilize pusedo osc.core function.
2019-09-18 18:04:43 -05:00
Jimmy Berry
2f99efe1b8
osclib/core: provide create_delete_request().
2019-09-18 18:03:57 -05:00
Jimmy Berry
d0e2b71ed1
Merge pull request #2223 from jberry-suse/origin_listener-patchinfo-skip
...
osclib/origin_listener: skip patchinfo packages.
2019-09-18 17:19:59 -05:00
Jimmy Berry
1d4c68365c
Merge pull request #2222 from jberry-suse/origin-manager-update-listener-thread-name
...
osclib/origin_listener: utilize apiurl as thread name for remote listener.
2019-09-18 16:59:51 -05:00
Jimmy Berry
6e9b33c5e6
osclib/origin_listener: skip patchinfo packages.
...
Not only are patchinfo packages never useful for origin updates, but they
cause an exception since the package is set to an empty string.
2019-09-18 16:48:36 -05:00
Jimmy Berry
3175c0d7f6
osclib/origin_listener: indicate when checking for update to package.
2019-09-18 16:26:29 -05:00
Jimmy Berry
841978d316
osc-origin: osrt_origin_update(): include thread name in logger format.
2019-09-18 16:25:43 -05:00
Jimmy Berry
43708de07d
osc-origin: osrt_origin_update(): remove duplicate logging import.
2019-09-18 11:41:00 -05:00
Jimmy Berry
c3a689ca01
osclib/origin_listener: utilize apiurl as thread name for remote listener.
2019-09-18 11:40:37 -05:00
Jimmy Berry
9d11907958
Merge pull request #2219 from jberry-suse/manager_42-packagehub-nuke
...
gocd: remove PackageHub15SP1.Manager42 as project is locked.
2019-09-13 11:24:23 -05:00
Jimmy Berry
bc377aa243
gocd: remove PackageHub15SP1.Manager42 as project is locked.
...
Leave a README file in config/manager_42 to preserve directory until ready
to remove leaper/manager_42 stack.
2019-09-13 11:09:06 -05:00
Stephan Kulow
d83c08a93f
Merge pull request #2215 from coolo/install_openqa_config
...
gocd: rabbit-openqa needs a config file installed
2019-09-13 07:12:08 +02:00
Stephan Kulow
38d8ab9210
gocd: rabbit-openqa needs a config file installed
...
So far we were mostly lucky as TTM pipelines installed it into the
docker images eventually
2019-09-13 07:11:37 +02:00
Jimmy Berry
9c45fc378b
Merge pull request #2214 from jberry-suse/origin-manager-update-listener-remote
...
osclib/origin_listener: start additional listeners for remote origins.
2019-09-12 10:29:38 -05:00
Jimmy Berry
ac6e61a15e
osclib/origin_listener: start additional listeners for remote origins.
...
For example, SLE-15-SP2 has openSUSE.org:openSUSE:Factory as an origin.
The events for that project are not included on the IBS message bus and
thus package updates to that project will be missed. When origins contain
a remote prefix another listener needs to be started pointing at the
remote OBS instance message bus. The resulting messages need to be
prefixed before being considered by the primary listener.
2019-09-12 09:52:28 -05:00
Jimmy Berry
791d449777
osclib/origin_listener: change skipping log message to mention origin.
2019-09-12 09:49:48 -05:00
Jimmy Berry
60f996efed
osclib/origin_listener: provide origin_updatable_map().
2019-09-12 09:48:52 -05:00
Jimmy Berry
f5a9538df2
Merge pull request #2212 from jsegitz/master
...
check_source: only log as info if we can't get build log.
2019-09-12 07:58:04 -05:00
Stephan Kulow
6dd6428d3d
Merge pull request #2213 from coolo/switch_resource
...
Move the monitors to a agent type of their own
2019-09-12 13:04:32 +02:00
Stephan Kulow
bc91b8c73a
Move the monitors to a agent type of their own
...
I enabled 6 of those and disabled 2 staging-bot resources
2019-09-12 12:59:47 +02:00
Johannes Segitz
7782fc73c9
check_source: only log as info if we can't get build log. This needs
...
a more general solution but for now we'll reduce the level to not pollute
the log
2019-09-12 11:51:38 +02:00
Stephan Kulow
49029a0ef0
Merge pull request #2211 from jberry-suse/origin-manager-update
...
origin-manager: provide event listener for updates
2019-09-12 11:22:03 +02:00
Jimmy Berry
3e6ec9bdff
gocd/checkers: reduce Origin.Manager.Update frequency to weekly.
...
With the addition of the event listener the full run should only be needed
as a fallback to catch missed events, deletes, or configuration changes.
2019-09-11 19:53:01 -05:00
Jimmy Berry
db0485d8e9
gocd/monitors: provide OriginManagerUpdate pipelines for listener.
2019-09-11 19:53:01 -05:00
Jimmy Berry
7188c791d4
osc-origin: update: provide --listen option.
...
Listens for source changes (both request creation and package updates) to
issue updates based on origin configuration.
2019-09-11 19:53:01 -05:00
Jimmy Berry
bf1a40ffa3
gocd: utilize origin update
without the need to indicate a project.
...
No longer need to maintain a list of active projects in gocd config.
2019-09-11 19:53:01 -05:00
Jimmy Berry
3b6ec5848e
osc-origin: support invoking update without a project.
2019-09-11 19:53:01 -05:00