Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .makefile/helm.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
${MY_BINDIR}/helm: | test-jq-is-working
@mkdir -p ${MY_BINDIR}
@echo ""
@echo -e "Finding latest version of \033[1mhelm\033[0m..."
$(eval HELM_VERSION=$(shell curl -Lfs https://api.github.com/repos/helm/helm/releases/latest | jq '.tag_name' | tr -d '"'))
@if [ "${HELM_VERSION}" = "latest" ]; then \
HELM_VERSION=$$(curl -Lfs https://api.github.com/repos/helm/helm/releases/latest | jq '.tag_name' | tr -d '"'); \
fi
@echo -e "Downloading \033[1mhelm\033[0m ${HELM_VERSION} for ${OS} ${PLATFORM}..."
@echo " https://get.helm.sh/helm-${HELM_VERSION}-${OS}-${PLATFORM}.tar.gz"
@curl -Lf https://get.helm.sh/helm-${HELM_VERSION}-${OS}-${PLATFORM}.tar.gz -o ${MY_BINDIR}/helm-${HELM_VERSION}.tar.gz
Expand Down
3 changes: 3 additions & 0 deletions .makefile/kind.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
${MY_BINDIR}/kind-${KIND_VERSION}:
@mkdir -p ${MY_BINDIR}
@if [ "${KIND_VERSION}" = "latest" ]; then \
KIND_VERSION=$$(curl -Lfs https://api.github.com/repos/kubernetes-sigs/kind/releases/latest | jq '.tag_name' | tr -d '"'); \
fi
@echo "Downloading kind ${KIND_VERSION} for ${OS} ${PLATFORM}..."
@echo " https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-${OS}-${PLATFORM}"
@curl -Lfs https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-${OS}-${PLATFORM} -o ${MY_BINDIR}/kind-${KIND_VERSION}
Expand Down
5 changes: 3 additions & 2 deletions .makefile/kluctl.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
${MY_BINDIR}/kluctl: | test-jq-is-working
@mkdir -p ${MY_BINDIR}
@echo ""
@echo -e "Finding latest version of \033[1mkluctl\033[0m..."
$(eval KLUCTL_VERSION=$(shell curl -Lfs https://api.github.com/repos/kluctl/kluctl/releases/latest | jq '.tag_name' | tr -d '"'))
@if [ "${KLUCTL_VERSION}" = "latest" ]; then \
KLUCTL_VERSION=$$(curl -Lfs https://api.github.com/repos/kluctl/kluctl/releases/latest | jq '.tag_name' | tr -d '"'); \
fi
@echo -e "Downloading \033[1mkluctl\033[0m ${KLUCTL_VERSION} for ${OS} ${PLATFORM}..."
@echo " https://github.com/kluctl/kluctl/releases/download/${KLUCTL_VERSION}/kluctl_${KLUCTL_VERSION}_${OS}_${PLATFORM}.tar.gz"
@curl -Lf https://github.com/kluctl/kluctl/releases/download/${KLUCTL_VERSION}/kluctl_${KLUCTL_VERSION}_${OS}_${PLATFORM}.tar.gz -o ${MY_BINDIR}/kluctl-${KLUCTL_VERSION}.tar.gz
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ KIND_CLUSTER_NAME := pocketdune
KUBERNETES_VERSION := v1.36.1
KIND_VERSION := v0.32.0
KIND_NODE_VERSION := docker.io/kindest/node:v1.36.1@sha256:3489c7674813ba5d8b1a9977baea8a6e553784dab7b84759d1014dbd78f7ebd5

HELM_VERSION ?= latest
KLUCTL_VERSION ?= v2.27.0
# END FRUSTRATING MANUAL MAINTANCE

MAKEFILE_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
Expand Down