From 6c39ccde472df848891154f3de8a7a1a067e8d3a Mon Sep 17 00:00:00 2001 From: yiraeChristineKim Date: Mon, 13 May 2024 13:10:04 -0400 Subject: [PATCH] hosted test Signed-off-by: yiraeChristineKim --- .github/workflows/kind.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml index f499e9c8..c3ea342f 100644 --- a/.github/workflows/kind.yml +++ b/.github/workflows/kind.yml @@ -64,6 +64,17 @@ jobs: run: | make kind-bootstrap-cluster-dev + - name: Create K8s KinD Cluster to simulate hosted mode - ${{ matrix.kind }} + env: + KIND_VERSION: ${{ matrix.kind }} + run: | + make kind-additional-cluster + + - name: E2E tests that simulate hosted mode + run: | + export GOPATH=$(go env GOPATH) + KUBECONFIG=${PWD}/kubeconfig_managed make e2e-test-hosted-mode-coverage + - name: Ensure Service Account kubeconfig run: | KUBECONFIG=${PWD}/kubeconfig_managed make kind-ensure-sa @@ -73,16 +84,7 @@ jobs: export GOPATH=$(go env GOPATH) KUBECONFIG=${PWD}/kubeconfig_managed make e2e-test-coverage - - name: Create K8s KinD Cluster to simulate hosted mode - ${{ matrix.kind }} - env: - KIND_VERSION: ${{ matrix.kind }} - run: | - make kind-additional-cluster - - name: E2E tests that simulate hosted mode - run: | - export GOPATH=$(go env GOPATH) - KUBECONFIG=${PWD}/kubeconfig_managed make e2e-test-hosted-mode-coverage - name: Verify Deployment Configuration run: |