Skip to content

Commit

Permalink
load images onto kind when used w/ build & deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
J12934 committed Jun 26, 2023
1 parent 9fd2137 commit e24d2e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-an-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,12 @@ docker build -t local/progress-watchdog:$version ./progress-watchdog &

wait

if [ "$(kubectl config current-context)" = "kind-kind" ]; then
kind load docker-image "local/progress-watchdog:$version" &
kind load docker-image "local/cleaner:$version" &
kind load docker-image "local/juice-balancer:$version" &

wait
fi

helm upgrade --install mj ./helm/multi-juicer --set="imagePullPolicy=Never" --set="balancer.repository=local/juice-balancer" --set="balancer.tag=$version" --set="progressWatchdog.repository=local/progress-watchdog" --set="progressWatchdog.tag=$version" --set="juiceShopCleanup.repository=local/cleaner" --set="juiceShopCleanup.tag=$version"

0 comments on commit e24d2e4

Please sign in to comment.