Jimmy Berry
1e34a8f47e
repo_checker: filter repository published check by arch.
2018-10-24 18:00:09 -05:00
Jimmy Berry
30a42af6ca
repo_checker: repository_state_last(): switch to simulate_merge as arg.
...
For the sake of consistency now that repository_state() also requires it.
2018-10-24 17:59:40 -05:00
Jimmy Berry
12c9819614
repo_checker: repository_state(): limit meta revision to simulate merge.
...
Only staging projects are allowed to have psuedometa that makes it relevant
to include the project meta revision.
2018-10-24 17:56:49 -05:00
Jimmy Berry
ff722f03b8
repo_checker: repository_state(): filter by relevant archs.
2018-10-24 17:55:04 -05:00
Jimmy Berry
dc91518b0a
repo_checker: extract arch determination as target_archs_from_prairs().
2018-10-24 17:52:18 -05:00
Jimmy Berry
83688cf0ed
osclib/core: provide archs filter for repository state and published queries.
2018-10-24 17:50:19 -05:00
Jimmy Berry
0449d1f5a1
manager_42: remove extra newline to avoid flake8 E301.
2018-10-24 16:34:20 -05:00
Jimmy Berry
4c8ade1a93
flake8: utilize raw strings to avoid invalid escape character warnings.
2018-10-24 16:34:16 -05:00
Jimmy Berry
e68e348781
flake8: ignore W504.
2018-10-24 16:27:10 -05:00
Jimmy Berry
7250d09b3d
osc-staging: handle None value for --filter-from.
2018-10-24 13:34:30 -05:00
Stephan Kulow
f7ea85ee8f
Merge pull request #1742 from coolo/add_openqa_sync
...
Fix deployment problems on rabbit-openqa
2018-10-23 09:55:54 +02:00
Stephan Kulow
6d9436c372
Fix deployment problems on rabbit-openqa
...
- 2 python modules required
- apiurl shouldn't take the default from config not from getopt
- fix typo in user name
2018-10-23 08:28:52 +02:00
Stephan Kulow
9b1618e7c5
Merge pull request #1720 from coolo/add_openqa_sync
...
Add helper bot to listen to rabbit bus and feed OBS with openQA Status
2018-10-23 06:38:17 +02:00
Stephan Kulow
75306457da
If OBS or openQA raise an exception, restart
2018-10-22 06:46:25 +02:00
Stephan Kulow
14837b3657
Merge pull request #1738 from jberry-suse/staging-filter-from
...
osc-staging: select: replace --from with --filter-from.
2018-10-21 16:48:02 +02:00
Stephan Kulow
17bd660d39
Merge pull request #1741 from nilxam/corect_call_update_repos
...
pkglistgen: fix AttributeError since update_repos() moved to PkgListGen class
2018-10-21 16:47:05 +02:00
e6e2f5903b
pkglistgen: fix AttributeError since update_repos() moved to PkgListGen class
2018-10-21 19:21:19 +08:00
Jimmy Berry
649529aac9
Merge pull request #1739 from jberry-suse/metrics-grafana-openqa-interval
...
metrics/grafana/openqa: set minimum interval of 10s to avoid gaps.
2018-10-19 10:01:56 -05:00
Jimmy Berry
2d55674621
metrics/grafana/openqa: set minimum interval of 10s to avoid gaps.
...
Since data is collected at the same interval it avoids grouping at smaller
intervals when zoomed in which reveals gaps between the data points.
2018-10-19 09:50:14 -05:00
Jimmy Berry
7d58952ad8
Merge pull request #1737 from jberry-suse/nonfree-config-staging-workflow
...
repo_checker: utilize 'staging' config option for instantiating StagingAPI (and related)
2018-10-19 09:43:23 -05:00
b184670d7c
Merge pull request #1736 from jberry-suse/nonfree-config
...
osclib/conf: include NonFree subproject in openSUSE patterns.
2018-10-19 16:59:06 +08:00
Stephan Kulow
61d9082f29
Merge pull request #1725 from coolo/disable_publish_disable
...
We need the images repo published to have a status check
2018-10-19 10:24:37 +02:00
Jimmy Berry
41dc359580
osc-staging: select: document --move and --filter-from options.
2018-10-18 17:25:06 -05:00
Jimmy Berry
ef9ff661bb
osc-staging: select: replace --from with --filter-from.
...
--from no longer serves a purpose since requests should never live in
more than one staging (apparent from linking).
2018-10-18 17:24:59 -05:00
Jimmy Berry
616281e75f
repo_checker: utilize 'staging' config option for instantiating StagingAPI.
2018-10-18 16:20:30 -05:00
Jimmy Berry
c74e40ba70
osclib/cycle: remove need for StagingApi instance in favor of apiurl.
2018-10-18 16:20:30 -05:00
Jimmy Berry
2a50b8cf72
ReviewBot: staging_api(): allow for Staging subproject to be used.
2018-10-18 16:20:30 -05:00
Jimmy Berry
35594e5f05
osclib/conf: include NonFree subproject in openSUSE patterns.
...
Intentionally left outside of <project> group so that the NonFree
subproject still uses the main Staging subproject.
2018-10-18 15:55:41 -05:00
Jimmy Berry
8ec1e1777b
osclib/conf: remove Ports subprojects as they no longer exist.
2018-10-18 15:54:20 -05:00
Jimmy Berry
3282c9ae56
Merge pull request #1733 from jberry-suse/leaper-incident-disable-maintainer-review
...
leaper: disable maintainer review addition for incidents.
2018-10-17 16:12:55 -05:00
Jimmy Berry
1b25b7594d
Merge pull request #1734 from jberry-suse/ci-tar-build-failure
...
CI: resolve build-time tar service failure
2018-10-17 16:04:16 -05:00
Jimmy Berry
ae01d143c9
dist/ci/obs-build-target: utilize TAR_SCM_TESTMODE to avoid URL check.
...
See #1732 for details, but summarized the CI uses a local path which
differs from the normal remote URL which causes tar_scm service to
complain and no re-create the obscpio. See
openSUSE/obs-service-tar_scm@44b3bee for the relevant change.
2018-10-17 15:55:26 -05:00
Jimmy Berry
26c6dba22d
dist/ci/obs-build-target: stop at first error.
2018-10-17 15:42:55 -05:00
Stephan Kulow
52fc1cac2f
Merge pull request #1731 from coolo/add_openqa
...
metrics: Fetch openqa jobs in influxdb format
2018-10-17 22:15:20 +02:00
Stephan Kulow
5d3688e569
metrics: Fetch openqa jobs in influxdb format
2018-10-16 06:40:57 +02:00
Jimmy Berry
020d14065e
leaper: disable maintainer review addition for incidents.
...
This was disabled manually in production to effectively run leaper in
"comment-only mode" for maintenance with the expectation that this would
not remain for long. Since it seems it will it makes sense to merge the
state expected to be deployed.
2018-10-15 16:40:26 -05:00
Stephan Kulow
c6ff801c3b
Merge pull request #1728 from nilxam/ignore_patchinfo
...
check_maintenance_incidents: skip action if the action is for patchinfo
2018-10-15 12:16:59 +02:00
1968b6523c
check_maintenance_incidents: skip action if the action is for patchinfo
...
Action of patchinfo does not have a releaseproject attribute, with bad
luck it might be lists as the first action of an maintenance incident,
we should skip it and try next action.
2018-10-15 17:59:46 +08:00
Stephan Kulow
5b9efe757d
Require python-pika in CI
2018-10-12 15:30:54 +02:00
Stephan Kulow
ff84b79171
We need the images repo published to have a status check
...
We can't generally assume ISOs can be fetched from backend (we can't
have this on IBS), so publish it - and disable the actual publishing
on the staging backend of OBS
2018-10-12 13:00:18 +02:00
Stephan Kulow
8b6b498a0f
First connect to AMQP then fetch initial state
...
This way we don't miss anything - we just have to make sure we're
done within heartbeart interval, or the server will close the connection.
But that's 60 seconds, so we're safe for this bot (and if we fail
once, we have to reconnect)
2018-10-12 11:28:42 +02:00
Stephan Kulow
d5947f5c19
Refactored rabbit-openqa to be based on PubSubConsumer
...
The base class listens to openSUSE pubsub messages (and can be used
standalone) and rabbit-openqa just overwrites the keys and the on_message
handler
2018-10-12 11:06:54 +02:00
Stephan Kulow
ae7f35c7e2
Adopt pika example on async
2018-10-11 15:10:41 +02:00
Stephan Kulow
61e1049895
Merge pull request #1721 from coolo/catch_unmirrored_repos
...
pkglistgen: Catch unmirrored repos
2018-10-11 11:38:48 +02:00
37ac71d0bf
Merge pull request #1694 from dirkmueller/master
...
[ARM 15.1] Include JeOS images in ToTest
2018-10-11 16:51:38 +08:00
Stephan Kulow
dc3201d238
Move unlink_list to pkglistgen class too
...
It's used in update_repos
2018-10-11 07:43:36 +02:00
Stephan Kulow
e70c071ce9
Move update_repos into Pkglistgen class
...
We need to track state within the tool, not in the command line
interface
2018-10-11 07:43:36 +02:00
Stephan Kulow
b8e451f8d1
Don't make missing repos (per arch) a fatal error
...
It's possible we link against repos that do not exist for all archs
2018-10-11 07:43:35 +02:00
5d542a82af
Merge pull request #1724 from Vogtinator/armkubic
...
Add openSUSE-Tumbleweed-Kubic-dvd5-dvd-aarch64 to openSUSE:Factory:ARM
2018-10-11 07:22:40 +02:00
Stephan Kulow
ceaef3ea88
Moved the ISO replace_string into OBS attributes
2018-10-10 20:59:16 +02:00