forked from knative/client
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-v1.14] Add func v1.15 (#432)
* [release-v1.14] Add func v1.15 * Fix default util image and func patch version
- Loading branch information
Showing
4,647 changed files
with
921,328 additions
and
3,688 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# There no midstream image currently, fallback to upstream one. | ||
readonly func_util_image="${KN_PLUGIN_FUNC_UTIL_IMAGE:-ghcr.io/knative/func-utils:latest}" | ||
readonly func_repo_ref="${FUNC_REPO_REF:-openshift-knative/kn-plugin-func}" | ||
readonly func_repo_branch_ref="${FUNC_REPO_BRANCH_REF:-serverless-1.33}" | ||
readonly default_node_builder_image="${DEFAULT_NODE_BUILDER_IMAGE:-registry.access.redhat.com/ubi8/nodejs-20-minimal}" | ||
readonly default_quarkus_builder_image="${DEFAULT_QUARKUS_BUILDER_IMAGE:-registry.access.redhat.com/ubi8/openjdk-21}" | ||
readonly default_python_builder_image="${DEFAULT_PYTHON_BUILDER_IMAGE:-registry.access.redhat.com/ubi8/python-39}" | ||
|
||
export EXTERNAL_LD_FLAGS="${EXTERNAL_LD_FLAGS:-} \ | ||
-X knative.dev/func/pkg/k8s.SocatImage=${func_util_image} \ | ||
-X knative.dev/func/pkg/k8s.TarImage=${func_util_image} \ | ||
-X knative.dev/func/pkg/pipelines/tekton.FuncUtilImage=${func_util_image} | ||
-X knative.dev/func/pkg/builders/s2i.DefaultNodeBuilder=${default_node_builder_image} \ | ||
-X knative.dev/func/pkg/builders/s2i.DefaultQuarkusBuilder=${default_quarkus_builder_image} \ | ||
-X knative.dev/func/pkg/builders/s2i.DefaultPythonBuilder=${default_python_builder_image}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
knEventVersion="$(grep 'knative.dev/kn-plugin-event ' "$(basedir)/go.mod" \ | ||
| head -n 1 \ | ||
| sed -sE 's/.* (v[0-9]+\.[0-9]+\.[0-9]+.*)/\1/')" | ||
knEventRelease="${knEventVersion%.*}" | ||
knEventRelease="${knEventRelease#v}" | ||
readonly upstream_sender_image="registry.ci.openshift.org/knative/release-${knEventRelease}:client-plugin-event-sender" | ||
readonly sender_image="${KN_PLUGIN_EVENT_SENDER_IMAGE:-${upstream_sender_image}}" | ||
export EXTERNAL_LD_FLAGS="${EXTERNAL_LD_FLAGS:-} \ | ||
-X knative.dev/kn-plugin-event/pkg/metadata.Image=${sender_image} \ | ||
-X knative.dev/kn-plugin-event/pkg/metadata.Version=${knEventVersion}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.