diff --git a/hack/tekton.sh b/hack/tekton.sh index 824b5b4fe..c86684b43 100755 --- a/hack/tekton.sh +++ b/hack/tekton.sh @@ -24,7 +24,6 @@ export TERM="${TERM:-dumb}" tekton_release="previous/v0.38.3" git_clone_release="0.4" -source_path="https://raw.githubusercontent.com/knative-sandbox/kn-plugin-func/main" namespace="${NAMESPACE:-default}" tekton() { @@ -40,8 +39,9 @@ tekton() { tekton_tasks() { echo "Creating Pipeline tasks..." kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/git-clone/${git_clone_release}/git-clone.yaml - kubectl apply -f ${source_path}/pipelines/resources/tekton/task/func-buildpacks/0.1/func-buildpacks.yaml - kubectl apply -f ${source_path}/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml + kubectl apply -f ./pipelines/resources/tekton/task/func-buildpacks/0.1/func-buildpacks.yaml + kubectl apply -f ./pipelines/resources/tekton/task/func-s2i/0.1/func-s2i.yaml + kubectl apply -f ./pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml } tekton diff --git a/test/README.md b/test/README.md index a18edc1fa..f8a31e3d2 100644 --- a/test/README.md +++ b/test/README.md @@ -29,7 +29,7 @@ a Kubernetes Cluster with the following deployed: For your convenience you can run the following script to setup Tekton and required Tasks: ``` -$ ../hack/tekton.sh +$ ./hack/tekton.sh ``` To install the Git Server required by tests, run: