mirror of https://github.com/knative/func.git
chore: install Tekton Task from local source code & install S2I task (#1234)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com> Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
This commit is contained in:
parent
d9ffaa944e
commit
1ed5b2d5fd
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue