Skip to content

Commit

Permalink
hack: add tekton to example-deps setup
Browse files Browse the repository at this point in the history
although the example does not include tekton _yet_, it will *very
soon*^tm

Signed-off-by: Ciro S. Costa <ciroscosta@vmware.com>
  • Loading branch information
Ciro S. Costa committed Sep 24, 2021
1 parent 971922e commit bc42870
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hack/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ readonly KNATIVE_SERVING_VERSION=0.25.0
readonly KPACK_VERSION=0.3.1
readonly SECRETGEN_CONTROLLER_VERSION=0.5.0
readonly SOURCE_CONTROLLER_VERSION=0.15.4
readonly TEKTON_VERSION=0.28.0

main() {
test $# -eq 0 && show_usage_help
Expand All @@ -56,6 +57,7 @@ main() {
install_source_controller
install_kpack
install_knative_serving
install_tekton
;;

example)
Expand Down Expand Up @@ -233,6 +235,13 @@ install_knative_serving() {
kapp deploy --yes -a knative-serving -f-
}

install_tekton() {
ytt --ignore-unknown-comments \
-f https://storage.googleapis.com/tekton-releases/pipeline/previous/v$TEKTON_VERSION/release.yaml \
-f $DIR/overlays/remove-resource-requests-from-deployments.yaml |
kapp deploy --yes -a tekton -f-
}

setup_example() {
ytt --ignore-unknown-comments \
-f $DIR/../examples/source-to-knative-service \
Expand Down

0 comments on commit bc42870

Please sign in to comment.