Release RPM packages for EL7 and EL8
Superseeded
This issue has been superseeded by https://git.canopsis.net/canopsis/canopsis-pro/-/issues/5252 and https://git.canopsis.net/canopsis/canopsis-pro/-/issues/5253, implemented by respectively connector-prometheus!16 and connector-icinga2!3 (merged)
Original description
On release (tag), build and publish RPM packages to https://nexus.canopsis.net/repository/canopsis/el${VERSION}/community/.
The connector should be buildable using make
, installable using make install
. A make rpm
will produced the associated rpm using capensis's rpm builder docker image.
Package name should be canopsis-connector-${SERVICE}
.
Packages should contain:
- The connector installed in
/usr/bin/
, named asconnector-${SERVICE}
- Configuration files should be installed in
/etc/canopsis-connectors/${SERVICE}/
directory.
The systemd service should be provided by a generic service template, installed by a common RPM dependency named canopsis-common
- The systemd service file should be installed in
/usr/lib/systemd/system/
Each connector can be managed with systemctl ${COMMAND} canopsis-connector@${SERVICE}