TMP: Fix running in pre-submit

This commit is contained in:
Martin Gencur 2021-05-10 11:32:01 +02:00
parent b7ad15e4d8
commit 35694f067e
2 changed files with 11 additions and 12 deletions

View File

@ -36,23 +36,22 @@ source $(dirname $0)/common.sh
export PATH=$PATH:${REPO_ROOT_DIR}
run() {
$(dirname $0)/tekton-tests.sh
# # Create cluster
# initialize $@ --skip-istio-addon
#
# # Smoke test
# eval smoke_test || fail_test
#
# # Integration test
# eval integration_test || fail_test
# Create cluster
initialize $@ --skip-istio-addon
# Smoke test
eval smoke_test || fail_test
# Integration test
eval integration_test || fail_test
success
}
integration_test() {
header "Running tests for Knative Serving $KNATIVE_SERVING_VERSION and Eventing $KNATIVE_EVENTING_VERSION"
go_test_e2e -timeout=45m ./test/e2e || fail_test
$(dirname $0)/tekton-tests.sh
#go_test_e2e -timeout=45m ./test/e2e || fail_test
}
smoke_test_clean_up(){

View File

@ -26,7 +26,7 @@ source $(dirname $0)/common.sh
export PATH=$PATH:${REPO_ROOT_DIR}
# Script entry point.
initialize $@
#initialize $@
export TEKTON_VERSION=${TEKTON_VERSION:-v0.11.1}
export KN_E2E_NAMESPACE=tkn-kn