Skip to content

Commit

Permalink
Modify e2e test scripts to support running on kind
Browse files Browse the repository at this point in the history
In our Prow based CI environment, the e2e tests currently run on GKE clusters
provisioned using Boskos. This change enables them to run against a kind
cluster following the steps outlined in
https://github.com/tektoncd/plumbing/blob/main/docs/kind-e2e.md

Part of tektoncd#1475

Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
  • Loading branch information
dibyom committed Nov 2, 2022
1 parent aa28c9d commit 9670455
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/e2e-tests-kind-prow.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SKIP_INITIALIZE=true
KO_DOCKER_REPO=registry.local:5000
8 changes: 7 additions & 1 deletion test/e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@
source $(dirname $0)/e2e-common.sh
# Script entry point.

initialize $@
# Setting defaults
failed=0
SKIP_INITIALIZE=${SKIP_INITIALIZE:="false"}


if [ "${SKIP_INITIALIZE}" != "true" ]; then
initialize $@
fi

header "Setting up environment"
install_pipeline_crd
Expand Down

0 comments on commit 9670455

Please # to comment.