60 Commits

Author SHA1 Message Date
Stephan Kulow
cc3734c88f Remove the origin operator and its user scripts
The service is down for 2 years and more and it was unused ever since.
The idea just never took off (also because it was pretty late in the
cycle and leap wasn't developed much longer the way it used to when
the design for this was created).

For the next SLE/Leap it's just very, very unclear how it will look
like and I'm 99% sure it's not going to go back to old Leap. So the
whole operator needs more work and maintenance than the current team
has, so keep it in the git history only.
2022-02-22 09:22:09 +01:00
Stephan Kulow
40ed91e582 Package: Drop systemd services
Those were used before we moved to gocd scheduling
2021-07-12 14:20:19 +02:00
Stephan Kulow
0252722048 Adapt packaging to the repo_checker.py split 2019-06-06 11:52:46 +02:00
Jimmy Berry
2c6d0a19cb systemd: drop OBS operator origin-manager report service/timer.
To be replaced by cron service.
2019-05-30 17:08:05 -05:00
Jimmy Berry
4d5b74b7f6 systemd: provide OBS operator origin-manager cron service and timer. 2019-05-30 17:08:05 -05:00
Stephan Kulow
f1476c6819 Remove check_dups plugin
This plugin only works if run under an account owning the
target project (as I had it running with my own credentials
back in the day). As we no longer do that, the check_dups approach
is dead - and declining superseded requests from staging-bot
superseded (pun intended) this approach
2019-05-30 18:24:13 +02:00
Jimmy Berry
fb34f62143 systemd: increase timeout to 24 hours for origin-manager report services. 2019-05-23 16:30:28 -05:00
Jimmy Berry
e3a4af235b systemd: drop --debug from obs_operator service. 2019-05-10 10:30:22 -05:00
Jimmy Berry
e46791774e systemd: include OBS Operator origin manager report service template. 2019-05-10 10:30:04 -05:00
Stephan Kulow
f3b3549a35 Rename the snapshot functions and add gocd config 2019-03-27 17:20:20 +01:00
Stephan Kulow
67df42770d No longer package rabbit-openqa but add gocd config for it 2019-03-20 06:47:37 +01:00
Jimmy Berry
643169f7a1 dist: provide origin-manager report service and timer. 2019-03-06 15:51:42 -06:00
Jimmy Berry
1143514cda systemd: provide osrt-origin-manager service and timer. 2019-02-15 14:16:23 -06:00
Stephan Kulow
3310ec0c63
Merge pull request #1780 from jberry-suse/staging-report
openqa-comments: rework openQA report as status check report (and thus rename as well)
2018-11-10 08:35:35 +01:00
Jimmy Berry
340fd09937 systemd/staging-report: include --debug flag to provide actual output. 2018-11-09 16:26:35 -06:00
Jimmy Berry
bea4a5bb75 Rename openqa-comments to staging-report to more accurately reflect new role. 2018-11-09 16:09:25 -06:00
Jimmy Berry
408f8fb031 dist/spec: provide obs-operator subpackage. 2018-11-08 16:19:10 -06:00
Stephan Kulow
a098f41f63 Fail rabbit-openqa and have systemd restart it
There were still exceptions not caught - and I have the suspicion
that the memory leaks we see in production are caused by the reconnects
(if you google for python memory leaks you end up with pika and lxml
examples - both we use here, so a restart every couple of hours can't
hurt)
2018-11-03 18:28:57 +01:00
Stephan Kulow
3933e4e302 Package rabbit-openqa
I don't really like the name, but lack alternative ideas
2018-10-10 20:07:21 +02:00
Jimmy Berry
9341b740df systemd/metrics-access.timer: utilize compatible calendar format.
systemd 228 does not support this format and fails to load timer.
2018-09-19 22:22:53 -05:00
Jimmy Berry
92d5c2c6f8 metrics: provide initial telegraf setup for ingesting historical snapshots. 2018-08-29 16:49:12 -05:00
Jimmy Berry
24b15d6b0b Replace relevant 'dashboard' package references with pseudometa lookup.
Skipping some of the broader once which have no tangible impact, but are
expensive to change.
2018-08-17 23:18:32 -05:00
Jimmy Berry
d1d69ebf6d systemd/metrics-access.timer: skip Monday to avoid conflict with metrics.timer. 2018-06-18 23:05:02 -05:00
Jimmy Berry
d41cbda37e
Merge pull request #1578 from jberry-suse/metrics-access
Metrics access log parsing tool for ingesting download.o.o logs.
2018-06-18 22:23:22 -05:00
Jimmy Berry
f84ad329c6 dist: package metrics/access tool and related. 2018-06-18 22:13:29 -05:00
Dominik Heidler
0a7b19ffce Run ttm by systemd timer to prevent mem leaks 2018-06-14 16:18:39 +02:00
Jimmy Berry
dc4dc241c6 systemd: add service retry to support-rebuild which 502s regularly. 2018-05-10 23:42:31 -05:00
Jimmy Berry
9950ca8376 systemd: include SyslogIdentifier in each service to improve journal. 2018-05-10 23:42:31 -05:00
Jimmy Berry
66a670a37f systemd: ensure all services have a relaxed RuntimeMaxSec.
The value should allow ample time for seldom larger runs and such and is
purely a safe-guard from a service being stuck for weeks until noticed. If
any values turn out to be too small simply increase.
2018-05-10 23:42:16 -05:00
Jimmy Berry
e3d89e525e systemd: drop Type=simple to be consistent since default not required. 2018-05-10 20:19:27 -05:00
Jimmy Berry
ae00f10c9b
Merge pull request #1531 from jberry-suse/check_duplicate_binaries-staging-bot
dist: provide osrt-staging-bot-check_duplicate_binaries@.service.
2018-05-10 17:52:42 -05:00
Jimmy Berry
846b2bd4b7
Merge pull request #1530 from jberry-suse/openqa-comments-service
dist: provide openqa-comments service as part of staging-bot.
2018-05-10 17:41:17 -05:00
Jimmy Berry
6abed75e10 dist: provide osrt-staging-bot-check_duplicate_binaries@.service. 2018-05-10 00:20:30 -05:00
Jimmy Berry
0fe55a0635 dist: provide openqa-comments service as part of staging-bot. 2018-05-10 00:06:49 -05:00
Jimmy Berry
6055e85d65 systemd/leaper-crawler.service: wrap script with bash to handle colon.
Otherwise, systemd ends up with a 203/EXEC.
2018-05-09 21:22:35 -05:00
Jimmy Berry
b5320317d7 systemd/osrt-repo-checker-project_only@.timer: increase frequency to hourly.
Now that repo_checker will skip identical builds this will increase the
chances that repo_checker project_only hits the project when it is not
building and will decrease the wait time for updates.
2018-04-26 15:35:51 -05:00
Jimmy Berry
079eda3ba6 metrics: instead of wiping cache place ephemeral patterns behind flag.
This allows for non-ephemeral queries to be cached indeinitely in the
future (like source queries that include the revision). For development
one may use --heavy-cache to be able to quickly iterate.
2018-04-20 16:25:47 -05:00
f1e56df8b9
services: Add Install section to totest-manager service 2018-03-11 10:52:53 +01:00
Jimmy Berry
da5bfafb42 metrics: provide release metrics ingestion and dashboard. 2018-03-09 00:34:01 -06:00
Jimmy Berry
01cdaf2a15 systemd/metrics: change service to be non-incremental and weekly. 2018-01-10 20:14:55 -06:00
Jimmy Berry
e1b85fd00c systemd/pkglistgen: add update_and_solve subcommand. 2018-01-08 21:52:07 -06:00
Jimmy Berry
5e9392f4a0 pkglistgen: migrate bash scripts to python. 2017-12-21 01:05:55 -06:00
Ludwig Nussel
5aca59f374 systemd units: remove oneshot type
Those services are of type 'simple'
2017-12-07 16:23:28 +01:00
Ludwig Nussel
290a2ed0b8 pkglistgen: add systemd units 2017-11-13 18:18:00 +01:00
Jimmy Berry
a0c7dc362c dist: provide metrics service and timer. 2017-11-03 17:59:01 -05:00
Jimmy Berry
990be5dbb3 systemd/devel-list: allow three retry attempts to handle regular OBS crash. 2017-10-31 20:00:34 -05:00
Jimmy Berry
cb6b41d6e4 dist: provide check-source subpackage. 2017-10-10 11:17:55 -05:00
Jimmy Berry
08be01844f dist: provide maintenance subpackage. 2017-10-10 11:10:11 -05:00
Jimmy Berry
ac99db6147 dist: rework totest-manager subpackage to provide new style service. 2017-10-10 10:59:09 -05:00
Jimmy Berry
712ef05e0f dist: provide leaper services and related configuration. 2017-10-10 10:26:12 -05:00