Skip to content

Commit

Permalink
fix flyte-deps chart version in release (#2539)
Browse files Browse the repository at this point in the history
* ChangeLog for v1.0.2-b1

Signed-off-by: Yuvraj <[email protected]>

* fix flyte-deps version in release

Signed-off-by: Yuvraj <[email protected]>

* fix sandbox lite helm chart

Signed-off-by: Yuvraj <[email protected]>

Co-authored-by: Yuvraj <[email protected]>
  • Loading branch information
yindia and Yuvraj authored May 26, 2022
1 parent 43ae9b3 commit 6d14c92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/sandbox-lite/flyte-entrypoint-dind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions script/prepare_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d14c92

Please sign in to comment.