From 2e1eb9e2ec79dd1dc0bfd6f1c3d24370b2b3fa5a Mon Sep 17 00:00:00 2001 From: Kevin Leimkuhler Date: Thu, 21 May 2020 16:22:23 -0700 Subject: [PATCH] Use bin/kind in CI scripts (#4464) Create kind clusters using bin script instead of GitHub action Signed-off-by: Kevin Leimkuhler --- .github/workflows/kind_integration.yml | 11 ++--------- .github/workflows/release.yml | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/kind_integration.yml b/.github/workflows/kind_integration.yml index 4af9d4f29..4c7220bdb 100644 --- a/.github/workflows/kind_integration.yml +++ b/.github/workflows/kind_integration.yml @@ -127,17 +127,10 @@ jobs: [[ "$TAG" == "$($HOME/.linkerd version --short --client)" ]] - name: Setup default KinD cluster if: matrix.integration_test != 'custom_domain' - # engineerd/setup-kind@v0.3.0 - uses: engineerd/setup-kind@d0e9be1 - with: - version: "v0.8.1" + run: bin/kind create cluster - name: Setup custom_domain KinD cluster if: matrix.integration_test == 'custom_domain' - # engineerd/setup-kind@v0.3.0 - uses: engineerd/setup-kind@d0e9be1 - with: - config: test/testdata/custom_cluster_domain_config.yaml - version: "v0.8.1" + run: bin/kind create cluster --config test/testdata/custom_cluster_domain_config.yaml - name: Load image archives into the local KinD cluster if: github.event_name == 'push' || !github.event.pull_request.head.repo.fork env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26acd70b4..696fef893 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,17 +126,10 @@ jobs: [[ "$TAG" == "$($HOME/.linkerd version --short --client)" ]] - name: Setup default KinD cluster if: matrix.integration_test != 'custom_domain' - # engineerd/setup-kind@v0.3.0 - uses: engineerd/setup-kind@d0e9be1 - with: - version: "v0.8.1" + run: bin/kind create cluster - name: Setup custom_domain KinD cluster if: matrix.integration_test == 'custom_domain' - # engineerd/setup-kind@v0.3.0 - uses: engineerd/setup-kind@d0e9be1 - with: - config: test/testdata/custom_cluster_domain_config.yaml - version: "v0.8.1" + run: bin/kind create cluster --config test/testdata/custom_cluster_domain_config.yaml - name: Load image archives into the local KinD cluster env: PROXY_INIT_IMAGE_NAME: gcr.io/linkerd-io/proxy-init:v1.3.1