Commit de1deda 1 parent 7e6bf06 commit de1deda Copy full SHA for de1deda
File tree 4 files changed +14
-180
lines changed
4 files changed +14
-180
lines changed Original file line number Diff line number Diff line change
1
+ version : v4.45.1
2
+ url : https://github.com/mikefarah/yq/releases/download/{{.Version}}/yq_{{.Os}}_{{.Architecture}}
Original file line number Diff line number Diff line change @@ -27,12 +27,21 @@ export PWD := $(shell pwd)
27
27
export VERSION =$(shell echo ${RELEASE_VERSION} | sed s/v//g)
28
28
export K3SIMAGE := docker.io/rancher/k3s:v1.32.1-k3s1
29
29
30
- .bin/yq : go.mod
31
- go build -o .bin/yq github.com/mikefarah/yq/v3
32
-
33
30
.bin/helm : Makefile
34
31
HELM_INSTALL_DIR=.bin bash <( curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3) -v v3.17.0 --no-sudo
35
32
33
+ .bin/yq : .deps/yq.yaml .bin/ory
34
+ ifeq ($(BREW ) ,true)
35
+ @echo "yq Provided by brew!"
36
+ @echo "${BREW_FORMULA}" | grep yq 1>/dev/null || brew install yq
37
+ else
38
+ @URL=$$(.bin/ory dev ci deps url -o ${OS} -a ${ARCH} -c .deps/yq.yaml); \
39
+ echo "Downloading 'yq' $${URL}...."; \
40
+ curl -Lo .bin/yq $${URL}; \
41
+ echo; \
42
+ chmod +x .bin/yq;
43
+ endif
44
+
36
45
.bin/ory : Makefile
37
46
# pin to version v0.3.4 due to a bug in validation
38
47
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.3.4
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments