-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
102 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ jobs: | |
strategy: | ||
#fail-fast: true | ||
matrix: | ||
os: [ 'el9' ] | ||
os: [ 'el9', 'u20' ] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
perfsonar-host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/changelog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
perfsonar-host-metrics (5.0.5-1) perfsonar-5.0; urgency=low | ||
|
||
* Initial release. | ||
|
||
-- perfSONAR developers <[email protected]> Tue, 24 Oct 2023 19:19:42 -0400 |
1 change: 1 addition & 0 deletions
1
perfsonar-host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/compat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
14 changes: 14 additions & 0 deletions
14
perfsonar-host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Source: perfsonar-host-metrics | ||
Maintainer: perfSONAR developers <[email protected]> | ||
Section: net | ||
Priority: optional | ||
Standards-Version: 4.3.0 | ||
Build-Depends: debhelper (>= 10) | ||
Homepage: http://www.perfsonar.net | ||
|
||
Package: perfsonar-host-metrics | ||
Architecture: all | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, prometheus-node-exporter, | ||
openssl, apache2, apache2-ssl-dev, perfsonar-common | ||
Description: perfSONAR Host Metrics | ||
A package that installs and sets-up Prometheus node_exporter for a perfSONAR install |
23 changes: 23 additions & 0 deletions
23
perfsonar-host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/copyright
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: perfsonar-host-metrics | ||
Source: <http://www.perfsonar.net> | ||
|
||
Files: * | ||
Copyright: 2000-2023 perfSONAR project | ||
License: Apache-2.0 | ||
|
||
License: Apache-2.0 | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
. | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
. | ||
On Debian systems, the complete text of the Apache version 2.0 license | ||
can be found in "/usr/share/common-licenses/Apache-2.0". |
2 changes: 2 additions & 0 deletions
2
...host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/perfsonar-host-metrics.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
apache-node_exporter.conf /etc/apache2/conf-available/ | ||
exporter_opts.sh /usr/lib/perfsonar/host_metrics/ |
43 changes: 43 additions & 0 deletions
43
...ost-metrics/perfsonar-host-metrics/unibuild-packaging/deb/perfsonar-host-metrics.postinst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
# postinst script for perfsonar-archive | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
case "$1" in | ||
configure) | ||
# check if installation or update, where version is a parameter | ||
if [ -z "$2" ]; then | ||
|
||
#set node_exporter opts | ||
bash /usr/lib/perfsonar/host_metrics/exporter_opts.sh | ||
|
||
#enable node_exporter | ||
systemctl daemon-reload | ||
systemctl enable node_exporter.service | ||
systemctl restart node_exporter.service | ||
|
||
# Apache setup | ||
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then | ||
. /usr/share/apache2/apache2-maintscript-helper | ||
|
||
apache2_invoke enmod ssl | ||
apache2_invoke enmod proxy | ||
apache2_invoke enmod proxy_http | ||
apache2_invoke enconf apache-node_exporter | ||
fi | ||
fi | ||
;; | ||
|
||
abort-upgrade|abort-remove|abort-deconfigure) | ||
;; | ||
|
||
*) | ||
echo "postinst called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
#DEBHELPER# | ||
exit 0 |
11 changes: 11 additions & 0 deletions
11
perfsonar-host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/make -f | ||
%: | ||
dh $@ --with systemd | ||
|
||
override_dh_auto_clean: | ||
|
||
|
||
override_dh_auto_build: | ||
|
||
|
||
override_dh_auto_install: |
1 change: 1 addition & 0 deletions
1
perfsonar-host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/source/format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters