Skip to content

Commit

Permalink
Update dev-build command to have clear directions on how to use the p…
Browse files Browse the repository at this point in the history
…roduced image and chart
  • Loading branch information
mallardduck committed Jan 23, 2025
1 parent 24aec71 commit f790caf
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion scripts/dev-build
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
#!/usr/bin/env bash
set -e

source $(dirname $0)/version
cd $(dirname $0)

./build
./test
./package
./package-helm
./package-helm

echo "Don't forget to push your dev image to somewhere your cluster can reach it."
echo "The Dev image tag is: ${HELM_IMAGE_TAG}"
echo "The chart will expect the image as: ${IMAGE}"
if [[ ${USE_DOCKER_BUILDX} -eq 1 ]]; then
echo "The image was built for all official supported rancher arches."
else
echo "The image was only built for you local system's arch."
fi
echo "Remember to run: 'docker push ${IMAGE}' if the test cluster is remote to your workstation."
echo "After that, to test an upgrade you can: 'helm upgrade -n cattle-monitoring-system prometheus-federator ./build/charts/prometheus-federator'"
echo "Remember to append your current values file if needed; and you can change it to an install command if desired."

0 comments on commit f790caf

Please sign in to comment.