Skip to content

Commit

Permalink
terratest-pipeline fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
kuritka committed Nov 5, 2020
1 parent 0fdaedd commit c3f9e05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ terratest:
.PHONY: deploy-full-terratest-setup
deploy-full-terratest-setup:
./deploy/registry.sh
docker build . -t k8gb:$(call git-last-commit-hash)
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)
docker build . -t k8gb:`$(call git-last-commit-hash)`
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
$(call deploy-local-cluster,$(CLUSTER_GSLB1),$(CLUSTER_GSLB2),)
$(call deploy-local-cluster,$(CLUSTER_GSLB2),$(CLUSTER_GSLB1),$(HELM_ARGS))
sed -i "s/$(VERSION)/`$(call git-last-commit-hash)`/g" chart/k8gb/Chart.yaml
# $(call deploy-local-cluster,$(CLUSTER_GSLB1),$(CLUSTER_GSLB2),)
# $(call deploy-local-cluster,$(CLUSTER_GSLB2),$(CLUSTER_GSLB1),$(HELM_ARGS))
kubectl get pods -A
kubectl config use-context kind-$(CLUSTER_GSLB1)
kubectl get pods -A
Expand Down

0 comments on commit c3f9e05

Please sign in to comment.