1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-23 06:08:46 +00:00

Move e2e to run on kind in CI

This commit is contained in:
Piyush Garg 2023-09-15 11:12:20 +05:30 committed by tekton-robot
parent 68c99c4023
commit c9bded36fb
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,3 @@
E2E_SKIP_CLUSTER_CREATION=true
KO_DOCKER_REPO=registry.local:5000
ARTIFACTS=/workspace/source/artifacts

View File

@ -22,6 +22,8 @@ export RELEASE_YAML=https://github.com/tektoncd/pipeline/releases/download/v0.45
source $(dirname $0)/../vendor/github.com/tektoncd/plumbing/scripts/e2e-tests.sh
source $(dirname $0)/e2e-common.sh
E2E_SKIP_CLUSTER_CREATION=${E2E_SKIP_CLUSTER_CREATION:="false"}
TMPF=$(mktemp /tmp/.mm.XXXXXX)
clean() { rm -f ${TMPF}; }
trap clean EXIT
@ -30,7 +32,9 @@ trap clean EXIT
[[ -z ${LOCAL_CI_RUN} ]] && {
# Initialize cluster
initialize "$@"
if [ "${E2E_SKIP_CLUSTER_CREATION}" != "true" ]; then
initialize "$@"
fi
# Install the latest Tekton CRDs.
install_pipeline_crd