265 Commits

Author SHA1 Message Date
Stephan Kulow
0457bad967 dist: Enable the ability to run services in miniobs
I went for recompress and format_spec_file - all other services will
result in broken packages
2022-03-24 10:13:46 +01:00
b91b18c534
Add osc-pcheck: support devel prj maintainers 2022-03-23 09:46:36 +01:00
Stephan Kulow
9e3c0f19e9 CI: adapt miniobs to use the ruby OBS was built with (3.1) 2022-03-17 11:41:54 +01:00
Stephan Kulow
d344cf66a8 package: Package /usr/bin/osrt-check_bugowner 2022-03-10 12:02:26 +01:00
Stephan Kulow
c412dada22 CI: Split the tests in multiple runs
A test run of 40 minutes is just too much to wait for. So tag the long
running jobs to run in a special run
2022-03-07 18:48:43 +01:00
Stephan Kulow
66b778144f Make frozenage less reliant on changing _frozenlinks
The mtime of a file in OBS is the time this content was created for the
first time. As such if the target project isn't moving for a week,
staging select will keep asking you to freeze - even if you just froze.

So instead of relying on OBS to tell the true mtime, set an attribute
in the staging project and read from it. This also gives a way to check
in the webui for the last freeze time

Fixes #2462
2022-03-03 18:11:50 +01:00
Stephan Kulow
39bbc90c22
Merge pull request #2721 from coolo/origin_updater
More origin manager cleanup
2022-03-03 08:12:19 +01:00
Stephan Kulow
e6adbc2aa1 package: pkglistgen requires zstd 2022-03-02 14:47:20 +01:00
Stephan Kulow
95db8a0091 More origin manager cleanup
As we don't do automatic origin updates in no project, remove the
update monitors. Those have been paused on botmaster for half a year
and just no project relies on them any longer
2022-02-25 10:10:09 +01:00
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
d6fb5d680c Remove sentry integration
It was introduced by #2159 because the various machines were hard to
monitor. Since we moved to botmaster there is no longer a problem with
that and if it ever served us is hard to say as the sentry project's
password is lost for years. So simplify the exception handling by just
throwing it
2022-02-21 14:41:33 +01:00
Stephan Kulow
f38bd3a7ed Target E128 - Continuation line under-indented for visual indent
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
579145b52c Target F841 - Remove unused variables 2022-02-18 17:01:38 +01:00
Stephan Kulow
1152d4c419 Remove bare excepts - https://www.flake8rules.com/rules/E722.html
The bare except in osc-credentials lead me to remove it and the scripts
using it
2022-02-18 12:03:56 +01:00
Stephan Kulow
00fbc99195 ci: We don't use coveralls anymore 2022-02-08 14:46:24 +01:00
Fabian Vogt
e8319fa537
Merge pull request #2682 from dirkmueller/speccleaner
spec-cleaner imposed cleanups
2022-01-10 10:51:17 +01:00
Dirk Müller
c72965d19b
spec-cleaner imposed cleanups 2022-01-03 15:34:47 +01:00
Dirk Müller
4e1b05cb7b
dist: include project-installcheck.py again
otherwise /usr/bin/osrt-project-installcheck is a stale softlink
2022-01-03 15:23:18 +01:00
Stephan Kulow
f375931188 miniobs: The upstream OBS project changed repo names 2021-10-27 09:16:25 +02:00
Stephan Kulow
f5e623417a
Merge pull request #2637 from s-t-e-v-e-n-k/remove-devel-package
Remove devel package and make check target
2021-10-07 09:00:05 +02:00
Stephan Kulow
ae5a6c11a3 Remove kubernetes setup
It's been a while that this was experimented with - it never took off
2021-10-01 15:58:11 +02:00
Stephan Kulow
d0cf0d4501 CI: Run Tumbleweed container as priveleged in docker
This avoids the syscall filter breaking with new glibc
2021-09-30 10:29:35 +02:00
Ancor Gonzalez Sosa
8f4795d135
Merge pull request #2613 from ancorgs/drop_tools1
Drop obsolete tools
2021-09-23 12:42:33 +02:00
Josef Reidinger
e0d3ba3c95
Adds dependency for full check_source testing 2021-09-22 22:16:36 +02:00
Ancor Gonzalez Sosa
81fc603667 Delete scan_baselibs.py 2021-09-21 15:31:45 +02:00
Ancor Gonzalez Sosa
8745a6ce6b Delete obs_clone.py
It's not fully working and likely nobody is using it anyways
2021-09-21 15:31:45 +02:00
Ancor Gonzalez Sosa
afd1fb6c67 Delete unmaintained.py 2021-09-21 15:31:45 +02:00
Ancor Gonzalez Sosa
c10ef71528 Delete sync-rebuild.py
Its functionality was already merged to the accept command
2021-09-21 15:31:39 +02:00
Ancor Gonzalez Sosa
a9d6db325f Delete leaper, update_crawler and manager_42 2021-09-21 15:30:48 +02:00
Ancor Gonzalez Sosa
6ba0d6f1e0 Delete status.py 2021-09-21 15:27:20 +02:00
Stephan Kulow
a3e5ce7e2d Make use of the 15.3 miniobs container 2021-09-21 14:41:43 +02:00
Stephan Kulow
b1bcbf7399 miniobs: Use 15.3 repos - 15.1 is EOL 2021-09-21 10:54:29 +02:00
Steve Kowalik
83200f5677 Remove devel package and make check target
The devel package and the make check target are now dead code, with the
testsuite requiring other setup, which means using make is not going to
help.
2021-09-15 16:24:43 +10:00
2a3ee0c246 Update specfile for skippkg-finder 2021-08-26 21:37:15 +08:00
Josef Reidinger
c988ff7890 Use pytest instead of nosetests (fixes #2524) 2021-07-13 13:06:35 +02:00
Stephan Kulow
1790329082
Merge pull request #2598 from coolo/remove_systemd
Package: Drop systemd services
2021-07-13 09:31:02 +02:00
Josef Reidinger
ebd936e980 Preparation for switch from nosetests to pytest
The preparation is needed so no workaround is needed when validating
that all tests passed when switched from nosetests to pytest. Nosetests
will be removed as part of final switch change.
2021-07-12 22:34:45 +02:00
Stephan Kulow
1b8c80e86b Package: Fix rpm warning about unversioned obsoletes 2021-07-12 14:21:53 +02: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
Josef Reidinger
8a6398fecf Run perl checks as part of flaker ci task 2021-07-09 08:24:07 +02:00
Imobach González Sosa
108f00647f
Add missing libraries to testenv image to run check_source.pl 2021-07-08 12:25:43 +01:00
Imobach González Sosa
d0220d2918
Allow adjusting the exposed OBS port in Docker Compose 2021-07-02 08:37:46 +01:00
Imobach González Sosa
88b476919c
[CI] Expose port 3000 of the api service 2021-07-01 15:58:10 +01:00
Stephan Kulow
1acf69713c Use codecov for coverage - easier GA integration 2021-06-18 13:17:57 +02:00
Steve Kowalik
326a087168 Switch to python3 shebang
With the python shebang remaining as Python 2, switch the scripts to
using Python 3. This also allows us to clean up some imports.
2021-02-03 14:53:42 +11:00
Stephan Kulow
fca4401c43
Merge pull request #2430 from DimStar77/nopy3dep
dist: drop bogus python-enum34 dependency
2020-04-30 14:20:15 +02:00
Stephan Kulow
583b7bd6c1 miniobs: Fix database setup for rails 6 2020-04-30 12:06:58 +02:00
50286efadd
dist: drop bogus python-enum34 dependency
The entire codebase has moved to python3; pulling in this one python2 package makese no sense.
The guard with %if %{without python3} does not work as intended, as there is no %bcond_without statement
in the .spec file, thus assuming 'without' unless overriden by any other rules.
2020-04-24 14:17:59 +02:00
Stephan Kulow
010ffd8a51 Switch metrics to use python3
influxdb is no longer provided for python2
2020-03-10 12:02:22 +01:00