Skip to content

Commit ae0e0f9

Browse files
authored
updating jq and yq versions (#804)
1 parent a0e9efb commit ae0e0f9

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Jenkinsfile

+2-5
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,8 @@ void prepareNode() {
224224
225225
curl -fsSL https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz | sudo tar -C /usr/local/bin --strip-components 1 -xzf - linux-amd64/helm
226226
227-
sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_amd64 > /usr/local/bin/yq"
228-
sudo chmod +x /usr/local/bin/yq
229-
230-
sudo sh -c "curl -s -L https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 > /usr/local/bin/jq"
231-
sudo chmod +x /usr/local/bin/jq
227+
sudo curl -fsSL https://github.com/mikefarah/yq/releases/download/v4.44.1/yq_linux_amd64 -o /usr/local/bin/yq && sudo chmod +x /usr/local/bin/yq
228+
sudo curl -fsSL https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 -o /usr/local/bin/jq && sudo chmod +x /usr/local/bin/jq
232229
233230
curl -fsSL https://github.com/kubernetes-sigs/krew/releases/latest/download/krew-linux_amd64.tar.gz | tar -xzf -
234231
./krew-linux_amd64 install krew

installers/olm/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ tools: ## Download tools needed to build bundles
9696
tools: tools/$(SYSTEM)/jq
9797
tools/$(SYSTEM)/jq:
9898
install -d '$(dir $@)'
99-
curl -fSL -o '$@' "https://github.com/stedolan/jq/releases/download/jq-1.6/jq-$$(SYSTEM='$(SYSTEM)'; \
99+
curl -fSL -o '$@' "https://github.com/stedolan/jq/releases/download/jq-1.7.1/jq-$$(SYSTEM='$(SYSTEM)'; \
100100
case "$$SYSTEM" in \
101101
(linux-*) echo "$${SYSTEM/-amd/}";; (darwin-*) echo "$${SYSTEM/darwin-*/osx-amd64}";; (*) echo '$(SYSTEM)';; \
102102
esac)"

0 commit comments

Comments
 (0)