Use bin/kind in CI scripts (#4464)

Create kind clusters using bin script instead of GitHub action

Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com>
This commit is contained in:
Kevin Leimkuhler 2020-05-21 16:22:23 -07:00 committed by GitHub
parent f7f70690fb
commit 2e1eb9e2ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 18 deletions

View File

@ -127,17 +127,10 @@ jobs:
[[ "$TAG" == "$($HOME/.linkerd version --short --client)" ]] [[ "$TAG" == "$($HOME/.linkerd version --short --client)" ]]
- name: Setup default KinD cluster - name: Setup default KinD cluster
if: matrix.integration_test != 'custom_domain' if: matrix.integration_test != 'custom_domain'
# engineerd/setup-kind@v0.3.0 run: bin/kind create cluster
uses: engineerd/setup-kind@d0e9be1
with:
version: "v0.8.1"
- name: Setup custom_domain KinD cluster - name: Setup custom_domain KinD cluster
if: matrix.integration_test == 'custom_domain' if: matrix.integration_test == 'custom_domain'
# engineerd/setup-kind@v0.3.0 run: bin/kind create cluster --config test/testdata/custom_cluster_domain_config.yaml
uses: engineerd/setup-kind@d0e9be1
with:
config: test/testdata/custom_cluster_domain_config.yaml
version: "v0.8.1"
- name: Load image archives into the local KinD cluster - name: Load image archives into the local KinD cluster
if: github.event_name == 'push' || !github.event.pull_request.head.repo.fork if: github.event_name == 'push' || !github.event.pull_request.head.repo.fork
env: env:

View File

@ -126,17 +126,10 @@ jobs:
[[ "$TAG" == "$($HOME/.linkerd version --short --client)" ]] [[ "$TAG" == "$($HOME/.linkerd version --short --client)" ]]
- name: Setup default KinD cluster - name: Setup default KinD cluster
if: matrix.integration_test != 'custom_domain' if: matrix.integration_test != 'custom_domain'
# engineerd/setup-kind@v0.3.0 run: bin/kind create cluster
uses: engineerd/setup-kind@d0e9be1
with:
version: "v0.8.1"
- name: Setup custom_domain KinD cluster - name: Setup custom_domain KinD cluster
if: matrix.integration_test == 'custom_domain' if: matrix.integration_test == 'custom_domain'
# engineerd/setup-kind@v0.3.0 run: bin/kind create cluster --config test/testdata/custom_cluster_domain_config.yaml
uses: engineerd/setup-kind@d0e9be1
with:
config: test/testdata/custom_cluster_domain_config.yaml
version: "v0.8.1"
- name: Load image archives into the local KinD cluster - name: Load image archives into the local KinD cluster
env: env:
PROXY_INIT_IMAGE_NAME: gcr.io/linkerd-io/proxy-init:v1.3.1 PROXY_INIT_IMAGE_NAME: gcr.io/linkerd-io/proxy-init:v1.3.1