From 3800adbf6913e56de69b61b876e62012e91bbfca Mon Sep 17 00:00:00 2001 From: Martin Gencur Date: Mon, 2 Dec 2019 13:18:17 +0100 Subject: [PATCH] Revert "Revert "Use knative/client instead of fork"" This reverts commit f14c2105e23d1ed4d0295bfe62b489dd59d35eb2. --- test/e2e-tests.sh | 16 +++++++--------- .../tekton/kn-pipeline-resource-template.yaml | 4 +--- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/test/e2e-tests.sh b/test/e2e-tests.sh index 6bf203bb5..2f7649af7 100755 --- a/test/e2e-tests.sh +++ b/test/e2e-tests.sh @@ -28,19 +28,17 @@ # $KNATIVE_VERSION with a valid release, e.g. 0.6.0, Knative serving # of this specified version will be installed in the Kubernetes cluster, and # all the tests will run against Knative serving of this specific version. -#source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/e2e-tests.sh -#source $(dirname $0)/e2e-common.sh +source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/e2e-tests.sh +source $(dirname $0)/e2e-common.sh # Add local dir to have access to built kn -#export PATH=$PATH:${REPO_ROOT_DIR} +export PATH=$PATH:${REPO_ROOT_DIR} # Script entry point. -#initialize $@ +initialize $@ -#header "Running tests for Knative serving $KNATIVE_VERSION" +header "Running tests for Knative serving $KNATIVE_VERSION" -bash -x $(dirname $0)/tekton-tests.sh - -#go_test_e2e -timeout=30m ./test/e2e || fail_test -#success +go_test_e2e -timeout=30m ./test/e2e || fail_test +success diff --git a/test/resources/tekton/kn-pipeline-resource-template.yaml b/test/resources/tekton/kn-pipeline-resource-template.yaml index bb6c8c0fe..cee32c8a2 100644 --- a/test/resources/tekton/kn-pipeline-resource-template.yaml +++ b/test/resources/tekton/kn-pipeline-resource-template.yaml @@ -19,9 +19,7 @@ spec: type: git params: - name: url - value: "https://github.com/mgencur/knative-client" #TODO: change to https://github.com/knative/client - - name: revision #TODO: remove - value: tekton_tests_cli + value: "https://github.com/knative/client" --- apiVersion: tekton.dev/v1alpha1 kind: PipelineResource