Skip to content

Commit 4583d6b

Browse files
committed
chore: referencing the setup-kind script in the plumbing repo instead of copying it
Signed-off-by: Shubham Bhardwaj <shubbhar@redhat.com>
1 parent 479cc09 commit 4583d6b

File tree

2 files changed

+9
-337
lines changed

2 files changed

+9
-337
lines changed

.github/workflows/e2e-matrix.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
fail-fast: false # Keep running if one leg fails.
1919
matrix:
2020
k8s-name:
21-
- k8s-oldest
22-
- k8s-plus-one
21+
- k8s-oldest
22+
- k8s-plus-one
2323

2424
include:
25-
- k8s-name: k8s-oldest
26-
k8s-version: v1.28.x
27-
- k8s-name: k8s-plus-one
28-
k8s-version: v1.29.x
25+
- k8s-name: k8s-oldest
26+
k8s-version: v1.28.x
27+
- k8s-name: k8s-plus-one
28+
k8s-version: v1.29.x
2929
env:
3030
KO_DOCKER_REPO: registry.local:5000/tekton
3131
CLUSTER_DOMAIN: c${{ github.run_id }}.local
@@ -44,16 +44,16 @@ jobs:
4444
echo '::group:: install go-junit-report'
4545
go install github.com/jstemmer/go-junit-report@v0.9.1
4646
echo '::endgroup::'
47-
4847
echo '::group:: created required folders'
4948
mkdir -p "${ARTIFACTS}"
5049
echo '::endgroup::'
51-
5250
echo "${GOPATH}/bin" >> "$GITHUB_PATH"
5351
5452
- name: Run tests
5553
run: |
56-
./hack/setup-kind.sh \
54+
curl -sSfL https://raw.githubusercontent.com/tektoncd/plumbing/main/tekton/images/kind-e2e/setup-kind.sh -o setup-kind.sh
55+
chmod +x setup-kind.sh
56+
./setup-kind.sh \
5757
--registry-url $(echo ${KO_DOCKER_REPO} | cut -d'/' -f 1) \
5858
--cluster-suffix c${{ github.run_id }}.local \
5959
--nodes 3 \

hack/setup-kind.sh

Lines changed: 0 additions & 328 deletions
This file was deleted.

0 commit comments

Comments
 (0)