Skip to content

Commit

Permalink
Merge pull request #8236 from arooshap/IB/CMSSW_12_6_X/master
Browse files Browse the repository at this point in the history
Incorporating `murre` tool under cmsmon-tools.
  • Loading branch information
aandvalenzuela committed Dec 21, 2022
2 parents 5df991a + a1be711 commit 48f8830
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cmsmon-tools.spec
Expand Up @@ -11,8 +11,9 @@
%define heyver 0.0.2
%define k8s_info_ver 0.0.1
%define gocurlver 0.0.4
%define murrever 0.0.4
%define monit_commands monit ggus_parser alert annotationManager nats-sub nats-pub dbs_vm
%define common_commands promtool amtool prometheus hey stern trivy k8s_info gocurl
%define common_commands promtool amtool prometheus hey stern trivy k8s_info gocurl murre
%define flags -ldflags="-s -w -extldflags -static" -p %{compiling_processes}
Source0: https://github.com/dmwm/CMSMonitoring/releases/download/%{realversion}/cmsmon-tools.tar.gz
Source1: https://github.com/prometheus/prometheus/releases/download/v%promv/prometheus-%promv.linux-amd64.tar.gz
Expand All @@ -23,7 +24,7 @@ Source5: https://github.com/vkuznet/auth-proxy-server/releases/download/%apsver/
Source6: https://github.com/vkuznet/k8s_info/releases/download/%k8s_info_ver/k8s_info-tools.tar.gz
Source7: https://github.com/aquasecurity/trivy/releases/download/v%trivyver/trivy_%{trivyver}_Linux-64bit.tar.gz
Source8: https://github.com/vkuznet/gocurl/releases/download/%gocurlver/gocurl-tools.tar.gz

Source9: https://github.com/groundcover-com/murre/releases/download/v%murrever/murre_%{murrever}_linux_amd64.tar.gz
BuildRequires: go

# RPM macros documentation
Expand All @@ -39,6 +40,7 @@ BuildRequires: go
%setup -D -T -b 6 -n k8s_info-tools
%setup -D -T -a 7 -n trivy-%trivyver -c trivy-%trivyver
%setup -D -T -b 8 -n gocurl-tools
%setup -D -T -a 9 -c -n murre-%murrever

%build
export CGO_ENABLED=0
Expand Down Expand Up @@ -90,6 +92,10 @@ cp gocurl_amd64 %i/gocurl
chmod +x %i/gocurl
cd -

#install muree
cp %{_builddir}/murre-%murrever/murre %i/murre
chmod +x %i/murre

#####################################################
# **************** IMPORTANT NOTE ***************** #
# Increament cmsdist file revision for every change #
Expand Down

0 comments on commit 48f8830

Please sign in to comment.