Merge pull request #2598 from coolo/remove_systemd
Package: Drop systemd services
This commit is contained in:
commit
1790329082
@ -9,7 +9,6 @@ install:
|
||||
$(DESTDIR)$(oscplugindir)
|
||||
install -d -m 755 $(DESTDIR)$(apachevhostsdir)
|
||||
install -d -m 755 $(DESTDIR)$(abicheckerdir)
|
||||
install -m 644 systemd/*.service $(DESTDIR)$(unitdir)
|
||||
install -m 644 systemd/*.conf $(DESTDIR)$(tmpfilesdir)
|
||||
install -m 644 apache/* $(DESTDIR)$(apachevhostsdir)
|
||||
install -d -m 755 $(DESTDIR)/var/lib/opensuse.org/abi-checker
|
||||
|
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=check ABI of submit requests
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/tmux new-session -P -d -s abichecker -n bot /usr/share/openSUSE-release-tools/abichecker/abichecker.py --no-review --verbose -A https://api.suse.de --web-url=http://abichecker.suse.de project --interval 15 SUSE:Maintenance maintenance_incident
|
||||
ExecStop=/usr/bin/tmux kill-session -t abichecker
|
||||
WorkingDirectory=/usr/share/openSUSE-release-tools/abichecker
|
||||
User=_opensuse.org-abi-checker
|
39
dist/package/openSUSE-release-tools.spec
vendored
39
dist/package/openSUSE-release-tools.spec
vendored
@ -66,12 +66,10 @@ Requires: perl-XML-Parser
|
||||
# Spec related requirements.
|
||||
Requires: osclib = %{version}
|
||||
|
||||
# no longer deployed as package
|
||||
Obsoletes: %{name}-totest-manager
|
||||
# no longer supported
|
||||
Obsoletes: osc-plugin-check_dups
|
||||
Obsoletes: osc-plugin-check_dups < 20210528
|
||||
# vdelreq is no longer needed/supported; delete requests are handled immediately again
|
||||
Obsoletes: osc-plugin-vdelreq
|
||||
Obsoletes: osc-plugin-vdelreq < 20210528
|
||||
|
||||
# Avoid needlessly building on s390x and such in various repos.
|
||||
# Must include noarch for older systems even though it makes no sense due to
|
||||
@ -460,7 +458,6 @@ exit 0
|
||||
%{apache_sysconfdir}/vhosts.d/opensuse-abi-checker.conf.in
|
||||
%{_datadir}/%{source_dir}/abichecker
|
||||
%{_tmpfilesdir}/opensuse-abi-checker.conf
|
||||
%{_unitdir}/opensuse-abi-checker.service
|
||||
|
||||
%files announcer
|
||||
%defattr(-,root,root,-)
|
||||
@ -470,16 +467,12 @@ exit 0
|
||||
%{_datadir}/%{source_dir}/%{announcer_filename}
|
||||
%config(noreplace) %{_sysconfdir}/openSUSE-release-tools/announcer
|
||||
%config(noreplace) %{_sysconfdir}/rsyslog.d/%{announcer_filename}.conf
|
||||
%{_unitdir}/osrt-announcer@.service
|
||||
%{_unitdir}/osrt-announcer@.timer
|
||||
|
||||
%files check-source
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/osrt-check_source
|
||||
%{_datadir}/%{source_dir}/check_source.pl
|
||||
%{_datadir}/%{source_dir}/check_source.py
|
||||
%{_unitdir}/osrt-check-source.service
|
||||
%{_unitdir}/osrt-check-source.timer
|
||||
|
||||
%files leaper
|
||||
%defattr(-,root,root,-)
|
||||
@ -490,20 +483,12 @@ exit 0
|
||||
%{_datadir}/%{source_dir}/leaper.py
|
||||
%{_datadir}/%{source_dir}/manager_42.py
|
||||
%{_datadir}/%{source_dir}/update_crawler.py
|
||||
%{_unitdir}/osrt-leaper-crawler@.service
|
||||
%{_unitdir}/osrt-leaper-crawler@.timer
|
||||
%{_unitdir}/osrt-leaper-manager@.service
|
||||
%{_unitdir}/osrt-leaper-manager@.timer
|
||||
%{_unitdir}/osrt-leaper-review.service
|
||||
%{_unitdir}/osrt-leaper-review.timer
|
||||
%config(noreplace) %{_sysconfdir}/openSUSE-release-tools/manager_42
|
||||
|
||||
%files maintenance
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/osrt-check_maintenance_incidents
|
||||
%{_datadir}/%{source_dir}/check_maintenance_incidents.py
|
||||
%{_unitdir}/osrt-maintenance-incidents.service
|
||||
%{_unitdir}/osrt-maintenance-incidents.timer
|
||||
|
||||
%files metrics
|
||||
%defattr(-,root,root,-)
|
||||
@ -544,10 +529,6 @@ exit 0
|
||||
%files origin-manager
|
||||
%{_bindir}/osrt-origin-manager
|
||||
%{_datadir}/%{source_dir}/origin-manager.py
|
||||
%{_unitdir}/osrt-origin-manager.service
|
||||
%{_unitdir}/osrt-origin-manager.timer
|
||||
%{_unitdir}/osrt-origin-manager-report@.service
|
||||
%{_unitdir}/osrt-origin-manager-report@.timer
|
||||
|
||||
%files repo-checker
|
||||
%defattr(-,root,root,-)
|
||||
@ -567,28 +548,12 @@ exit 0
|
||||
%{_bindir}/osrt-suppkg_rebuild
|
||||
%{_datadir}/%{source_dir}/devel-project.py
|
||||
%{_datadir}/%{source_dir}/suppkg_rebuild.py
|
||||
%{_unitdir}/osrt-staging-bot-check_duplicate_binaries@.service
|
||||
%{_unitdir}/osrt-staging-bot-check_duplicate_binaries@.timer
|
||||
%{_unitdir}/osrt-staging-bot-daily@.service
|
||||
%{_unitdir}/osrt-staging-bot-daily@.timer
|
||||
%{_unitdir}/osrt-staging-bot-devel-list.service
|
||||
%{_unitdir}/osrt-staging-bot-devel-list.timer
|
||||
%{_unitdir}/osrt-staging-bot-staging-report@.service
|
||||
%{_unitdir}/osrt-staging-bot-staging-report@.timer
|
||||
%{_unitdir}/osrt-staging-bot-regular@.service
|
||||
%{_unitdir}/osrt-staging-bot-regular@.timer
|
||||
%{_unitdir}/osrt-staging-bot-reminder.service
|
||||
%{_unitdir}/osrt-staging-bot-reminder.timer
|
||||
%{_unitdir}/osrt-staging-bot-support-rebuild@.service
|
||||
%{_unitdir}/osrt-staging-bot-support-rebuild@.timer
|
||||
|
||||
%files pkglistgen
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/osrt-pkglistgen
|
||||
%{_datadir}/%{source_dir}/pkglistgen
|
||||
%{_datadir}/%{source_dir}/pkglistgen.py
|
||||
%{_unitdir}/osrt-pkglistgen@.service
|
||||
%{_unitdir}/osrt-pkglistgen@.timer
|
||||
|
||||
%files -n osclib
|
||||
%defattr(-,root,root,-)
|
||||
|
@ -10,7 +10,6 @@ pkgdata_SCRIPTS=$(wildcard *.py *.pl *.sh)
|
||||
install:
|
||||
install -d -m 755 $(DESTDIR)$(pkgdatadir)/$(announcer_subpackage) $(DESTDIR)$(apachedir) $(DESTDIR)$(unitdir) $(DESTDIR)$(sysconfdir)/rsyslog.d
|
||||
for i in $(pkgdata_SCRIPTS); do install -m 755 $$i $(DESTDIR)$(pkgdatadir)/$(announcer_subpackage); done
|
||||
install -m 644 systemd/* $(DESTDIR)$(unitdir)
|
||||
install -m 644 rsyslog/* $(DESTDIR)$(sysconfdir)/rsyslog.d
|
||||
install -m 644 apache/factory-package-news.conf $(DESTDIR)$(apachedir)/factory-package-news.conf.in
|
||||
ln -s $(pkgdatadir)/$(announcer_subpackage)/announcer.py $(DESTDIR)$(bindir)/osrt-announcer
|
||||
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: announce new %i build
|
||||
|
||||
[Service]
|
||||
User=osrt-announcer
|
||||
SyslogIdentifier=osrt-announcer
|
||||
ExecStart=/usr/bin/osrt-announcer --config "/etc/openSUSE-release-tools/announcer/%i.yml" --verbose
|
||||
RuntimeMaxSec=3 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: announce new %i build
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnCalendar=hourly
|
||||
Unit=osrt-announcer@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: check-source
|
||||
|
||||
[Service]
|
||||
User=osrt-check-source
|
||||
SyslogIdentifier=osrt-check-source
|
||||
# TODO Drop group flag once #1181 is resolved.
|
||||
ExecStart=/usr/bin/osrt-check_source --verbose --group factory-auto review
|
||||
RuntimeMaxSec=2 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: check-source
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=3 min
|
||||
Unit=osrt-check-source.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: leaper crawler for %i (creates SRs from upstream projects)
|
||||
|
||||
[Service]
|
||||
User=osrt-leaper
|
||||
SyslogIdentifier=osrt-leaper
|
||||
ExecStart=/bin/bash "/usr/bin/osrt-leaper-crawler-%i"
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: leaper crawler for %i (creates SRs from upstream projects)
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=4 hour
|
||||
Unit=osrt-leaper-crawler@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: leaper manager for %i (set source projects)
|
||||
|
||||
[Service]
|
||||
User=osrt-leaper
|
||||
SyslogIdentifier=osrt-leaper
|
||||
ExecStart=/usr/bin/osrt-manager_42 -c /etc/openSUSE-release-tools/manager_42/%i.yml
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: leaper manager for %i
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=3 min
|
||||
Unit=osrt-leaper-manager@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: leaper review
|
||||
|
||||
[Service]
|
||||
User=osrt-leaper
|
||||
SyslogIdentifier=osrt-leaper
|
||||
ExecStart=/usr/bin/osrt-leaper --verbose --manual-version-updates --manual-maintenance-updates review
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: leaper review
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=3 min
|
||||
Unit=osrt-leaper-review.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: maintenance incidents
|
||||
|
||||
[Service]
|
||||
User=osrt-maintenance
|
||||
SyslogIdentifier=osrt-maintenance
|
||||
ExecStart=/usr/bin/osrt-check_maintenance_incidents --verbose review
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: maintenance incidents
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=30 min
|
||||
Unit=osrt-maintenance-incidents.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: origin-manager report for %i
|
||||
|
||||
[Service]
|
||||
User=osrt-origin-manager
|
||||
SyslogIdentifier=osrt-origin-manager
|
||||
ExecStart=/usr/bin/osc origin -p "%i" report --diff --force-refresh --mail
|
||||
RuntimeMaxSec=24 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: origin-manager report for %i
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
Unit=osrt-origin-manager-report@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: origin-manager
|
||||
|
||||
[Service]
|
||||
User=osrt-origin-manager
|
||||
SyslogIdentifier=osrt-origin-manager
|
||||
ExecStart=/usr/bin/osrt-origin-manager --debug review
|
||||
RuntimeMaxSec=3 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: origin-manager
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=5 min
|
||||
Unit=osrt-origin-manager.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: generate package lists for %i
|
||||
|
||||
[Service]
|
||||
User=osrt-repo-checker
|
||||
SyslogIdentifier=osrt-pkglistgen
|
||||
ExecStart=/usr/bin/osrt-pkglistgen update_and_solve -p "%i"
|
||||
RuntimeMaxSec=24 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: generate package lists for %i
|
||||
|
||||
[Timer]
|
||||
OnBootSec=130
|
||||
OnUnitInactiveSec=30 min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot check for duplicate binaries produced in %i
|
||||
|
||||
[Service]
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osc staging -p "%i" check_duplicate_binaries --save
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot check for duplicate binaries produced in %i
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Unit=osrt-staging-bot-check_duplicate_binaries@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,13 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot daily for %i
|
||||
|
||||
[Service]
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/env bash -c ' \
|
||||
osc staging -p "%i" unignore --cleanup \
|
||||
'
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot daily for %i
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Unit=osrt-staging-bot-daily@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot devel list (stored in pseudometa package)
|
||||
|
||||
[Service]
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osrt-devel-project list -w
|
||||
RuntimeMaxSec=16 hour
|
||||
|
||||
# API query regularly times out, but will be cached if called again.
|
||||
Restart=on-failure
|
||||
StartLimitInterval=1 hour
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot devel list (stored in pseudometa package)
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnCalendar=daily
|
||||
Unit=osrt-staging-bot-devel-list.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,18 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot regular for %i
|
||||
|
||||
[Service]
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/env bash -c ' \
|
||||
osc staging -p "%i" rebuild && \
|
||||
osc staging -p "%i" list --supersede && \
|
||||
osc staging -p "%i" adi --by-develproject && \
|
||||
osc staging -p "%i" select --non-interactive --merge --try-strategies && \
|
||||
osc staging -p "%i" unselect --cleanup && \
|
||||
osc staging -p "%i" repair --cleanup \
|
||||
'
|
||||
RuntimeMaxSec=24 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot regular for %i
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=60 min
|
||||
Unit=osrt-staging-bot-regular@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,14 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot reminder
|
||||
|
||||
[Service]
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/env bash -c ' \
|
||||
/usr/bin/osrt-devel-project reviews --min-age 3 --remind && \
|
||||
/usr/bin/osrt-devel-project requests --min-age 3 --remind \
|
||||
'
|
||||
RuntimeMaxSec=16 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot reminder
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Unit=osrt-staging-bot-reminder.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot report on staging status of %i
|
||||
|
||||
[Service]
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osrt-staging-report --debug -p "%i"
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot report on staging status of %i
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=3 min
|
||||
Unit=osrt-staging-bot-staging-report@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot regular for %i (rebuild staging project if support package staged)
|
||||
|
||||
[Service]
|
||||
User=osrt-staging-bot
|
||||
SyslogIdentifier=osrt-staging-bot
|
||||
ExecStart=/usr/bin/osrt-suppkg_rebuild -p "%i"
|
||||
RuntimeMaxSec=6 hour
|
||||
|
||||
# API regularly 502s.
|
||||
Restart=on-failure
|
||||
StartLimitInterval=1 hour
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=openSUSE Release Tools: staging-bot regular for %i (rebuild staging project if support package staged)
|
||||
|
||||
[Timer]
|
||||
OnBootSec=120
|
||||
OnUnitInactiveSec=60 min
|
||||
Unit=osrt-staging-bot-support-rebuild@%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
x
Reference in New Issue
Block a user