Skip to content

Commit

Permalink
terratest-pipeline fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
kuritka committed Nov 5, 2020
1 parent 1a9f76f commit c40b2d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/terratest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ jobs:
config: deploy/kind/cluster2-terratest.yaml
wait: 180s
- name: K8GB deployment
run:
run: |
# env:
# NODE_ROLE: control-plane
# TEST_CURRENT_COMMIT: yes
# run: |
# export VERSION=$(make version)
# ./deploy/full.sh
deploy-full-terratest-setup
kubectl get pods -A
make use-second-context
kubectl get pods -A

- name: Terratest
run: make terratest
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ deploy-full-terratest-setup:
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

.PHONY: init-failover
init-failover:
Expand Down

0 comments on commit c40b2d1

Please sign in to comment.