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
Jimmy Berry
3842548b45
osclib/origin: provide origin_updatable_map().
2019-09-11 19:53:01 -05:00
Jimmy Berry
929f8faff7
osclib/origin: provide origin_updatable().
2019-09-11 19:52:53 -05:00
Jimmy Berry
92b4ed430d
dist/obs: provide OSRT:OriginUpdateSkip attribute definition.
2019-09-11 18:55:36 -05:00
Jimmy Berry
2782c4245b
osc-origin: utilize osclib.core.RequestFuture.print_and_create().
2019-09-11 18:55:36 -05:00
Jimmy Berry
b41c44e7bb
osclib/core: provide RequestFuture.print_and_create().
2019-09-11 18:55:36 -05:00
Jimmy Berry
4329d42b75
osclib/core: provide RequestFuture.create_tolerant().
2019-09-11 18:55:36 -05:00
Jimmy Berry
97d1f968de
osclib/core: provide project_attributes_list().
2019-09-11 18:55:36 -05:00
Jimmy Berry
7e9bb0bc29
osclib/core: project_attribute_list(): provide locked parameter.
2019-09-11 18:55:36 -05:00
Jimmy Berry
52c857e5d8
osclib/core: project_attribute_list(): drop value parameter.
...
The value is not actually exposed by OBS xpath engine and the xpath would
be invalid if it was.
2019-09-11 18:55:36 -05:00
Jimmy Berry
f9e4d424d3
osclib/core: provide devel_projects().
2019-09-11 18:55:36 -05:00
Jimmy Berry
b68a46d352
Move PubSubConsumer to osclib.PubSubConsumer to allow for proper import.
2019-09-11 18:55:22 -05:00
Stephan Kulow
d06fa8afb3
Merge pull request #2210 from lnussel/master
...
build fail reminder: change mail address
2019-09-11 12:46:39 +02:00
Ludwig Nussel
f30964b69c
build fail reminder: change mail address
2019-09-11 11:17:09 +02:00
Jimmy Berry
9e21e7573c
Merge pull request #2202 from jsegitz/master
...
check_source: move checking of bad rpmlint entries to subprocess.
2019-09-10 09:31:00 -05:00
Johannes Segitz
b020a41a5c
check_source: We need to use the user supplied REs to check if one
...
of those match the list of entries we want to check
2019-09-10 12:04:30 +02:00
Jimmy Berry
514a0f5ea1
Merge pull request #2208 from jberry-suse/check_source-delete-repository
...
check_source: check_action_delete_repository(): gate behind conf.mail-release-list.
2019-09-09 17:29:19 -05:00
Jimmy Berry
031934d07c
Merge pull request #2204 from lnussel/master
...
osclib/git: describe(): drop python requirement to pre-3.7.
2019-09-09 17:27:49 -05:00
Jimmy Berry
4e4379a4d5
check_source: check_action_delete_repository(): simplify decline message.
2019-09-09 16:57:26 -05:00
Jimmy Berry
a7cf9026db
check_source: check_action_delete_repository(): gate behind conf.mail-release-list.
...
Works for SLE and maintenance properly with this option.
2019-09-09 16:56:44 -05:00
Jimmy Berry
2ca2925a58
Merge pull request #2207 from jberry-suse/osclib-request_splitter-python3-hash
...
osclib/request_splitter: utilize osclib.util.sha1_short() for encoding.
2019-09-09 16:07:44 -05:00
Jimmy Berry
ff5efd108d
osclib/request_splitter: utilize osclib.util.sha1_short() for encoding.
...
Without this, python 3 execution will fail with:
TypeError: Unicode-objects must be encoded before hashing
The requests strategy is the only strategy to utilize kwargs besides
custom so this code is not executed often which is why this has not been
encountered. In fact it was executed mistakenly and reported.
2019-09-09 15:31:24 -05:00