155 Commits

Author SHA1 Message Date
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
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
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
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
b91b18c534
Add osc-pcheck: support devel prj maintainers 2022-03-23 09:46:36 +01:00
Stephan Kulow
d344cf66a8 package: Package /usr/bin/osrt-check_bugowner 2022-03-10 12:02:26 +01:00
Stephan Kulow
e6adbc2aa1 package: pkglistgen requires zstd 2022-03-02 14:47:20 +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
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
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
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
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
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
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
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
9b7af72891
StagingAPI: complex delete requests are no longer used
* Simplify the 'accept' code

openSUSE:Factory/snapshot is newly setup as a Download on Demand repository
and we can thus safe ourselves the hassle of having to take extra care of
handling delete requests. They no longer bleed directly into the /snapshot
area and can now be accepted like any other request

* Drop vdelreq plugin

Since we no longer do a virtual accept of delete requests, we also don't
have to monitor their state anymore. Drop the plugin that served only
this usecase

* Drop the acheck command

As a consequence, the command 'staging acheck' serves no purpose anymore:
/totest was just there to ensure we have something to copy to /snapshot.
This entire repo will vanish, and it is thus no longer needed to verify
if it is in sync before accepting new data.
2019-10-17 15:37:44 +02:00
Jimmy Berry
cbfbb88048 osclib/sentry: sentry_client(): handle 0.11.x API change. 2019-08-29 14:10:29 -05:00
Stephan Kulow
a44c65545b Replace rebuildpacs.pl with project-installcheck functionality 2019-07-29 10:05:51 +02:00
238abef376
Merge pull request #2125 from DimStar77/grafana
dist: package /etc/grafana with the same mode as grafana
2019-07-12 08:41:50 +02:00
816c9c165c
dist: package /etc/grafana with the same mode as grafana 2019-07-11 12:52:23 +02:00
aface14037 Add a script scan_baselibs.py to verifying importing 32bit binaries 2019-07-05 17:20:32 +08: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