From c40b2d16de4df610d00df3622d138cecb61b70d4 Mon Sep 17 00:00:00 2001 From: kuritka Date: Thu, 5 Nov 2020 17:50:08 +0100 Subject: [PATCH] terratest-pipeline fix #1 --- .github/workflows/terratest.yaml | 6 ++---- Makefile | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/terratest.yaml b/.github/workflows/terratest.yaml index 28af8e827b..cdf99eb776 100644 --- a/.github/workflows/terratest.yaml +++ b/.github/workflows/terratest.yaml @@ -25,7 +25,7 @@ jobs: config: deploy/kind/cluster2-terratest.yaml wait: 180s - name: K8GB deployment - run: + run: | # env: # NODE_ROLE: control-plane # TEST_CURRENT_COMMIT: yes @@ -33,8 +33,6 @@ jobs: # 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 diff --git a/Makefile b/Makefile index 24f1757c31..f46a7813fc 100644 --- a/Makefile +++ b/Makefile @@ -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: