mirror of https://github.com/knative/client.git
TMP: Fix running in pre-submit
This commit is contained in:
parent
b7ad15e4d8
commit
35694f067e
|
|
@ -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(){
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue