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.
This commit is contained in:
Stephan Kulow
2022-02-22 09:22:09 +01:00
parent 897039d3cf
commit cc3734c88f
13 changed files with 1 additions and 1996 deletions

View File

@@ -187,18 +187,6 @@ Requires: perl-XML-Simple
Requires(pre): shadow
BuildArch: noarch
%package obs-operator
Summary: Server used to perform staging operations
Group: Development/Tools/Other
Requires: osc-plugin-origin = %{version}
Requires: osc-plugin-staging = %{version}
Requires(pre): shadow
BuildArch: noarch
%description obs-operator
Server used to perform staging operations as a service instead of requiring
the osc staging plugin to be utilized directly.
%description repo-checker
Repository checker service that inspects built RPMs from stagings.
@@ -322,17 +310,6 @@ if [ -x %{_bindir}/systemctl ] && %{_bindir}/systemctl is-enabled grafana-server
%{_bindir}/systemctl try-restart --no-block grafana-server
fi
%pre obs-operator
getent passwd osrt-obs-operator > /dev/null || \
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-obs-operator" osrt-obs-operator
exit 0
%postun obs-operator
%{systemd_postun}
if [ -x %{_bindir}/systemctl ] && %{_bindir}/systemctl is-enabled osrt-obs-operator ; then
%{_bindir}/systemctl try-restart --no-block osrt-obs-operator
fi
%pre origin-manager
getent passwd osrt-origin-manager > /dev/null || \
useradd -r -m -s /sbin/nologin -c "user for openSUSE-release-tools-origin-manager" osrt-origin-manager
@@ -454,12 +431,6 @@ exit 0
%{_unitdir}/osrt-metrics-access.service
%{_unitdir}/osrt-metrics-access.timer
%files obs-operator
%{_bindir}/osrt-obs_operator
%{_unitdir}/osrt-obs-operator.service
%{_unitdir}/osrt-obs-operator-origin-manager-cron.service
%{_unitdir}/osrt-obs-operator-origin-manager-cron.timer
%files origin-manager
%{_bindir}/osrt-origin-manager
%{_datadir}/%{source_dir}/origin-manager.py