-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dev-build command to have clear directions on how to use the p…
…roduced image and chart
- Loading branch information
1 parent
24aec71
commit f790caf
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." |