293 Commits

Author SHA1 Message Date
Dirk Müller
730630f06f
Use f-strings where possible 2024-05-07 21:52:32 +02:00
25933f9e99 fix issue #3073
For openSUSE-release-tools-slsa-build-service package create osrt-slsa
user and group using sysusers.d

Move SLSA config files to slsa directory
2024-04-19 18:14:43 -03:00
d380b44f52 Create SLSA user (osrt-slsa) on specfile like others osrt-* users
and remove logrotate file
2024-02-16 19:50:50 -03:00
33d56465c9 Packaging release and pkglistgen services (slsa-build-service) 2024-02-16 08:25:42 -03:00
47bf1c2025
Revert "factory-package-news.py: Compress data files with zstd" 2023-12-12 16:27:50 +01:00
Fabian Vogt
b82749ac01 factory-package-news.py: Port from pyzstd to zstandard
ariel has only zstandard 0.13.0, so not even the .open method exists.
2023-12-11 16:26:47 +01:00
Fabian Vogt
8516c1ad8f factory-package-news.py: Compress data files with zstd
It's less than 1/3rd of the uncompressed size.
2023-12-11 16:26:47 +01:00
Fabian Vogt
0888a8f1a0 Drop bs_mirrorfull
Superseded by osclib.repomirror.
2023-11-29 16:53:58 +01:00
ec7317b2e5
Require typing_extensions on SLE & Leap 2023-07-14 15:21:26 +02:00
Fabian Vogt
1dba781811 dist: Add python3-requests
Needed by some scripts and tests.
2023-06-19 10:29:41 +02:00
da87dbc682
Switch to Leap 15.5 2023-06-15 16:43:53 +02:00
Fabian Vogt
0afa9738e7 dist: Pick osc from repo built against published Tumbleweed
Currently it picks osc built against openSUSE:Factory/standard, causing a
mismatch in Python versions.
2023-06-15 16:08:13 +02:00
c35186f056
dist: fix rpm scriptlets call to systemd_postun
Do not run it in packages that do not ship systemd services and properly
call it with the service name as parameter for the packages that do ship services.
2023-06-01 15:07:11 +02:00
Fabian Vogt
7c31500901 dist: Package osrt-repo2fileprovides
And remove a duplicate mention while at it.
2023-04-11 12:39:10 +02:00
Fabian Vogt
8e4116defc Port from mock to unittest.mock
python3-mock no longer exists, use unittest.mock instead.
2023-03-01 16:57:37 +01:00
466a5966e3
Use the 15.4 container 2023-01-25 14:18:32 +01:00
3e9a25f14f
Switch to 15.4, 15.3 has been deleted 2023-01-25 14:04:49 +01:00
Stephan Kulow
1e3883dc9f More fixes for editor config compliance 2023-01-02 19:44:28 +01:00
38b9f2def0
ci: Adjust path to memcached as done in the package 2022-11-24 14:15:12 +01:00
747f91ea27 Remove publish_distro dependency on python-mb
* non of the mirrorbrain is used any more
* sections using mb are already disabled
2022-09-14 12:53:35 +02:00
324b78ef93 publish_distro: Provide missing link target in %files 2022-08-26 14:26:08 +02:00
4b4aa54831 install and link publish_dist 2022-08-23 11:18:02 +02:00
5337f5cea1 Add publish-distro subpackage to spec 2022-08-10 14:39:01 +02:00
3149998138
ci/testenv-tumbleweed: Add scm-obs-bridge for source_checker to container 2022-06-23 11:30:51 +02:00
a30a1ab965
package: require git-scm-bridge by osrt-check-source
The bridge is required for git-managed sources being submitted
to Factory in order to check out the code

Fixes issue #2820
2022-06-23 11:07:48 +02:00
cd2c226eb0 Introduce a new docker-publisher bot
It takes binaries from OBS and pushes them to Docker Hub when necessary.
2022-05-31 15:18:02 +02:00
Stephan Kulow
61a7e27161 dist: no longer package check_source_in_factory 2022-03-30 10:59:05 +02:00
Stephan Kulow
ae658fefe2 Move download URL check to check_source.py
And with that, check_source.pl is gone
2022-03-25 09:19:24 +01:00
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