From b0e7d3aa797cc3ed43b53a373d06c74c45d40220 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 13 Mar 2025 16:06:25 +0100 Subject: [PATCH] ci(make): download-cli Signed-off-by: rjshrjndrn --- scripts/helmcharts/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/helmcharts/Makefile b/scripts/helmcharts/Makefile index 28ca3d81e..822086040 100644 --- a/scripts/helmcharts/Makefile +++ b/scripts/helmcharts/Makefile @@ -6,6 +6,9 @@ override_file ?= "/home/ubuntu/vars_override.yaml" shell := /bin/bash -eo pipefail version ?= $(shell yq e '.appVersion' openreplay/Chart.yaml || "") +download-cli: ## Download the latest version of the application + sudo wget https://raw.githubusercontent.com/openreplay/openreplay/$(version)/scripts/helmcharts/openreplay-cli -O /bin/openreplay ; sudo chmod +x /bin/openreplay + clean: ## Clean up the installation sudo rm /var/lib/openreplay/vars.yaml kubectl delete cm openreplay-version -n app || true @@ -17,7 +20,7 @@ install: ## Install the application OR_VERSION=$(version) OVERRIDE_FILE=$(override_file) openreplay -i $(domain) upgrade-release: ## upgrade the application - OR_VERSION=$(version) OVERRIDE_FILE=$(override_file) RELEASE_UPGRADE=1 openreplay -u + OR_VERSION=$(version) RELEASE_UPGRADE=1 openreplay -u pull: ## Pull the latest version of the application for image in $(shell kubectl get pods -n app -o jsonpath='{.items[*].spec.containers[*].image}'); do \