Skip to content

Commit

Permalink
fix version #3
Browse files Browse the repository at this point in the history
  • Loading branch information
kuritka committed Nov 6, 2020
1 parent 6bb2448 commit 04f2db4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ deploy-full-terratest-setup:
docker tag k8gb:`$(call git-last-commit-hash)` localhost:5000/k8gb:v`$(call git-last-commit-hash)`
docker push localhost:5000/k8gb:v`$(call git-last-commit-hash)`
K8GB_IMAGE_REPO=localhost:5000/k8gb
sed -i "s/`$(VERSION)`/`$(call git-last-commit-hash)`/g" chart/k8gb/Chart.yaml
# change version in Chart.yaml
sed -i "s/`helm show chart chart/k8gb/|awk '/appVersion:/ {print $2}'`/`$(call git-last-commit-hash)`/g" chart/k8gb/Chart.yaml

$(call deploy-local-cluster,$(CLUSTER_GSLB1),$(CLUSTER_GSLB2),control-plane,)
$(call deploy-local-cluster,$(CLUSTER_GSLB2),$(CLUSTER_GSLB1),control-plane,$(HELM_ARGS))
Expand Down

0 comments on commit 04f2db4

Please sign in to comment.