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}
|
export PATH=$PATH:${REPO_ROOT_DIR}
|
||||||
|
|
||||||
run() {
|
run() {
|
||||||
$(dirname $0)/tekton-tests.sh
|
# Create cluster
|
||||||
# # Create cluster
|
initialize $@ --skip-istio-addon
|
||||||
# initialize $@ --skip-istio-addon
|
|
||||||
#
|
# Smoke test
|
||||||
# # Smoke test
|
eval smoke_test || fail_test
|
||||||
# eval smoke_test || fail_test
|
|
||||||
#
|
# Integration test
|
||||||
# # Integration test
|
eval integration_test || fail_test
|
||||||
# eval integration_test || fail_test
|
|
||||||
|
|
||||||
success
|
success
|
||||||
}
|
}
|
||||||
|
|
||||||
integration_test() {
|
integration_test() {
|
||||||
header "Running tests for Knative Serving $KNATIVE_SERVING_VERSION and Eventing $KNATIVE_EVENTING_VERSION"
|
header "Running tests for Knative Serving $KNATIVE_SERVING_VERSION and Eventing $KNATIVE_EVENTING_VERSION"
|
||||||
|
$(dirname $0)/tekton-tests.sh
|
||||||
go_test_e2e -timeout=45m ./test/e2e || fail_test
|
#go_test_e2e -timeout=45m ./test/e2e || fail_test
|
||||||
}
|
}
|
||||||
|
|
||||||
smoke_test_clean_up(){
|
smoke_test_clean_up(){
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ source $(dirname $0)/common.sh
|
||||||
export PATH=$PATH:${REPO_ROOT_DIR}
|
export PATH=$PATH:${REPO_ROOT_DIR}
|
||||||
|
|
||||||
# Script entry point.
|
# Script entry point.
|
||||||
initialize $@
|
#initialize $@
|
||||||
|
|
||||||
export TEKTON_VERSION=${TEKTON_VERSION:-v0.11.1}
|
export TEKTON_VERSION=${TEKTON_VERSION:-v0.11.1}
|
||||||
export KN_E2E_NAMESPACE=tkn-kn
|
export KN_E2E_NAMESPACE=tkn-kn
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue