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:
parent
68c99c4023
commit
c9bded36fb
3
test/e2e-tests-kind-prow.env
Normal file
3
test/e2e-tests-kind-prow.env
Normal file
@ -0,0 +1,3 @@
|
||||
E2E_SKIP_CLUSTER_CREATION=true
|
||||
KO_DOCKER_REPO=registry.local:5000
|
||||
ARTIFACTS=/workspace/source/artifacts
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user