Skip to content

Commit

Permalink
Fixed recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Nov 16, 2022
1 parent 8a9527c commit 4cce242
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmsmon-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Source0: https://github.com/dmwm/CMSMonitoring/releases/download/%{realversion}/
Source1: https://github.com/prometheus/prometheus/releases/download/v%promv/prometheus-%promv.linux-amd64.tar.gz
Source2: https://github.com/prometheus/alertmanager/releases/download/v%amver/alertmanager-%amver.linux-amd64.tar.gz
Source3: https://github.com/vkuznet/hey/releases/download/%heyver/hey-tools.tar.gz
Source4: https://github.com/stern/stern/releases/download/v%sternv/stern_%sternv_linux_amd64.tar.gz
Source4: https://github.com/stern/stern/releases/download/v%sternv/stern_%{sternv}_linux_amd64.tar.gz
Source5: https://github.com/vkuznet/auth-proxy-server/releases/download/%apsver/auth-proxy-tools_amd64.tar.gz
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
Expand All @@ -34,7 +34,7 @@ BuildRequires: go
%setup -D -T -b 1 -n prometheus-%promv.%linuxarch
%setup -D -T -b 3 -n hey-tools
%setup -D -T -b 2 -n alertmanager-%amver.%linuxarch
%setup -D -T -b 4 -n stern_%sternv_amd64
%setup -D -T -b 4 -c -n stern-%sternv
%setup -D -T -b 5 -n auth-proxy-tools_%arch
%setup -D -T -b 6 -n k8s_info-tools
%setup -D -T -a 7 -n trivy-%trivyver -c trivy-%trivyver
Expand Down Expand Up @@ -64,7 +64,7 @@ chmod +x %i/hey
cd -

# install stern
cp %{_builddir}/stern_%sternv_amd64 %i/stern
cp %{_builddir}/stern %i/stern
chmod +x %i/stern

# install token-manager
Expand All @@ -79,7 +79,7 @@ cp k8s_info_amd64 %i/k8s_info
chmod +x %i/k8s_info
cd -

# install stern
# install trivy
cd %{_builddir}/trivy-%trivyver
cp trivy %i/
chmod +x %i/trivy
Expand Down

0 comments on commit 4cce242

Please sign in to comment.