-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renaming to slurm-exporter and moving to reference MW repository
- Loading branch information
Giacomo Tirabassi
committed
Sep 23, 2022
1 parent
056c81a
commit 7f1810a
Showing
19 changed files
with
85 additions
and
56 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
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -2,17 +2,16 @@ | |
%define debug_package %{nil} | ||
%define __os_install_post %{_dbpath}/brp-compress | ||
|
||
Name: prometheus-slurm-exporter | ||
Name: slurm-exporter | ||
Version: 0.3 | ||
Release: 1%{?dist} | ||
Summary: Prometheus exporter for SLURM metrics | ||
Group: Monitoring | ||
|
||
License: GPL 3.0 | ||
URL: https://github.com/vpenso/prometheus-slurm-exporter | ||
|
||
Source0: https://github.com/vpenso/prometheus-slurm-exporter/releases/download/%{version}/slurm_exporter-%{version}.linux-amd64.tar.gz | ||
Source1: prometheus-slurm-exporter.service | ||
URL: https://github.com/MarshallWace/slurm-exporter | ||
Source0: https://github.com/MarshallWace/slurm-exporter/releases/download/%{version}/slurm_exporter-%{version}.linux-amd64.tar.gz | ||
Source1: slurm-exporter.service | ||
Source2: LICENSE | ||
Source3: README.md | ||
|
||
|
@@ -40,12 +39,12 @@ rm -rf %{buildroot} | |
mkdir -vp %{buildroot} | ||
mkdir -vp %{buildroot}%{_unitdir}/ | ||
mkdir -vp %{buildroot}/usr/bin | ||
mkdir -vp %{buildroot}/usr/share/doc/prometheus-slurm-exporter-%{version} | ||
mkdir -vp %{buildroot}/usr/share/doc/slurm-exporter-%{version} | ||
mkdir -vp %{buildroot}/var/lib/prometheus | ||
install -m 755 prometheus-slurm-exporter %{buildroot}/usr/bin/prometheus-slurm-exporter | ||
install -m 644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/prometheus-slurm-exporter.service | ||
install -m 644 %{SOURCE2} %{buildroot}/usr/share/doc/prometheus-slurm-exporter-%{version}/LICENSE | ||
install -m 644 %{SOURCE3} %{buildroot}/usr/share/doc/prometheus-slurm-exporter-%{version}/README.md | ||
install -m 755 slurm-exporter %{buildroot}/usr/bin/slurm-exporter | ||
install -m 644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/slurm-exporter.service | ||
install -m 644 %{SOURCE2} %{buildroot}/usr/share/doc/slurm-exporter-%{version}/LICENSE | ||
install -m 644 %{SOURCE3} %{buildroot}/usr/share/doc/slurm-exporter-%{version}/README.md | ||
|
||
%clean | ||
rm -rf %{buildroot} | ||
|
@@ -71,7 +70,7 @@ systemctl start %{name}.service | |
%defattr(-,root,root,-) | ||
%doc LICENSE | ||
%doc README.md | ||
%{_bindir}/prometheus-slurm-exporter | ||
%{_bindir}/slurm-exporter | ||
%{_unitdir}/%{name}.service | ||
%attr(755, prometheus, prometheus)/var/lib/prometheus | ||
|
||
|
@@ -81,4 +80,4 @@ systemctl start %{name}.service | |
* Wed Jan 31 2018 Matteo <[email protected]> - 0.2 | ||
- Fix issue #3 | ||
* Mon Dec 04 2017 Matteo <[email protected]> - 0.1 | ||
- Full commit history: https://github.com/vpenso/prometheus-slurm-exporter/commits/master | ||
- Full commit history: https://github.com/MarshallWace/slurm-exporter/commits/master |
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module github.com/vpenso/prometheus-slurm-exporter | ||
module github.com/MarshallWace/slurm-exporter | ||
|
||
go 1.17 | ||
|
||
|
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
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
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
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
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
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
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
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