From 6d14c92a6f219acc4c835dfdc1aaf2c4853c2444 Mon Sep 17 00:00:00 2001 From: Yuvraj Date: Thu, 26 May 2022 07:32:26 +0530 Subject: [PATCH] fix flyte-deps chart version in release (#2539) * ChangeLog for v1.0.2-b1 Signed-off-by: Yuvraj * fix flyte-deps version in release Signed-off-by: Yuvraj * fix sandbox lite helm chart Signed-off-by: Yuvraj Co-authored-by: Yuvraj --- docker/sandbox-lite/flyte-entrypoint-dind.sh | 2 +- script/prepare_artifacts.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/sandbox-lite/flyte-entrypoint-dind.sh b/docker/sandbox-lite/flyte-entrypoint-dind.sh index 2fd01a189d..6c09d9b660 100755 --- a/docker/sandbox-lite/flyte-entrypoint-dind.sh +++ b/docker/sandbox-lite/flyte-entrypoint-dind.sh @@ -45,7 +45,7 @@ version="" if [[ $FLYTE_TEST = "release" ]] then helm repo add flyteorg https://flyteorg.github.io/flyte - helm fetch flyteorg/flyte --version=$FLYTE_VERSION + helm fetch flyteorg/flyte-deps --version=$FLYTE_VERSION version="--version $FLYTE_VERSION" charts="flyteorg/flyte-deps" fi diff --git a/script/prepare_artifacts.sh b/script/prepare_artifacts.sh index 45398fc78f..9ee51d2ebf 100644 --- a/script/prepare_artifacts.sh +++ b/script/prepare_artifacts.sh @@ -20,7 +20,11 @@ sed "s/v0.1.10/${VERSION}/g" ./charts/flyte/README.md > temp.txt && mv temp.txt grep -rlZ "version:[^P]*# VERSION" ./charts/flyte-core/Chart.yaml | xargs -0 sed -i "s/version:[^P]*# VERSION/version: ${VERSION} # VERSION/g" sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-core/README.md > temp.txt && mv temp.txt ./charts/flyte-core/README.md +grep -rlZ "version:[^P]*# VERSION" ./charts/flyte-deps/Chart.yaml | xargs -0 sed -i "s/version:[^P]*# VERSION/version: ${VERSION} # VERSION/g" +sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-deps/README.md > temp.txt && mv temp.txt ./charts/flyte-core/README.md + helm dep update ./charts/flyte +helm dep update ./charts/flyte-deps # bump latest release of flyte component in helm sed -i "s,tag:[^P]*# FLYTEADMIN_TAG,tag: ${VERSION} # FLYTEADMIN_TAG," ./charts/flyte/values.yaml