File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8686 -
8787 name : Perform pre-e2e image build
8888 run : |
89- CHART_VERSION =0.3.4 REPO=${REPO} TAG=${TAG} make build;
89+ EMBEDED_CHART_VERSION =0.3.4 REPO=${REPO} TAG=${TAG} make build;
9090 REPO=${REPO} TAG=${TAG} make package;
9191 -
9292 name : Install k3d
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ FROM registry.suse.com/bci/golang:1.22 AS builder
2121
2222# Allow chart version config
2323ARG TARGETPLATFORM
24- ARG CHART_VERSION =0.3.4
24+ ARG EMBEDED_CHART_VERSION =0.3.4
2525ARG TAG=''
2626ARG REPO=''
27- ENV CHART_VERSION=$CHART_VERSION TAG=$TAG REPO=$REPO
27+ ENV EMBEDED_CHART_VERSION=$EMBEDED_CHART_VERSION TAG=$TAG REPO=$REPO
2828
2929WORKDIR /usr/src/app
3030COPY --from=helm ./helm/bin/helm /usr/local/bin/
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ source $(dirname $0)/version
66cd $( dirname $0 ) /..
77
88CHART=${CHART:- rancher-project-monitoring}
9- VERSION=${CHART_VERSION :- $(find ./ charts/ ${CHART} -maxdepth 1 -mindepth 1 -type d | tr - \~ | sort -rV | tr \~ - | head -n1 | cut -d' /' -f4)}
9+ VERSION=${EMBEDED_CHART_VERSION :- $(find ./ charts/ ${CHART} -maxdepth 1 -mindepth 1 -type d | tr - \~ | sort -rV | tr \~ - | head -n1 | cut -d' /' -f4)}
1010
1111helm package charts/${CHART} /${VERSION} --destination bin/${CHART}
1212base64 -i bin/${CHART} /${CHART} -${VERSION} .tgz > bin/${CHART} /${CHART} .tgz.base64
You can’t perform that action at this time.
0 commit comments