Skip to content

Commit

Permalink
update helm-project-operator build-chart destination
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <[email protected]>
  • Loading branch information
alexandreLamarre committed Jan 28, 2025
1 parent 4d6758c commit 4e4e1b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/build-chart
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ elif [ "$BUILD_TARGET" == "helm-project-operator" ]; then
# Prepare base chart for build
clean-old-charts "$CHART"
cp -rf "examples/${BUILD_TARGET}/${CHART}" build/charts/

CHART_DESTINATION="./build/charts/${CHART}-${HELM_CHART_VERSION}.tgz"
# Update the chart placeholders
edit-chart "build/charts/${CHART}/Chart.yaml" "${HELM_CHART_VERSION}" "${HELM_IMAGE_TAG}"
package-chart "./build/charts/${CHART}" ./build/charts

# Prepare chart for embedding location
base64 -i "./build/charts/${CHART}-0.0.0.tgz" > "pkg/chart/build/${CHART}.tgz.base64"
base64 -i $CHART_DESTINATION > "pkg/chart/build/${CHART}.tgz.base64"
fi

echo "Completed ${CHART} (ver: ${HELM_CHART_VERSION:-"n/a"}) chart build process."

0 comments on commit 4e4e1b9

Please sign in to comment.