-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-1.11] backports for release-1.11.1 (#1998)
* chore: use tkn tasks from PR branch in CI (#1914) Signed-off-by: Matej Vasek <[email protected]> * chore: released binaries refer correct task yamls (#1916) Signed-off-by: Matej Vasek <[email protected]> * chore: refer correct tkn yaml in prow test (#1918) Without this change prow test will refer tkn yamls from the main branch not from the PR head branch. Signed-off-by: Matej Vasek <[email protected]> * chore: update release generation (#1924) * Minimize release binary size. * Release latest version of buildpack tekton task. Signed-off-by: Matej Vasek <[email protected]> * test: update github ref used on e2e oncluster tests (#1917) * test: Split of GH oncluster tests by builder. Added FUNC_BUILDER env var for e2e oncluter tests (#1963) * Use our own s2i image (#1971) Our image is much more recent and it is multiarch. Signed-off-by: Matej Vasek <[email protected]> * chore: update buildah image ref (#1960) Signed-off-by: Matej Vasek <[email protected]> * chore: update CA certs (#1944) Signed-off-by: Matej Vasek <[email protected]> * chore: update Quarkus platform version to 3.4.1 (#1989) Co-authored-by: Knative Automation <[email protected]> Signed-off-by: Matej Vasek <[email protected]> * chore: update mvn wrapper in Quarkus template (#1987) Signed-off-by: Matej Vasek <[email protected]> * chore: use ./mvnw not mvn in tests (#1988) Signed-off-by: Matej Vasek <[email protected]> * chore: update Springboot platform version Signed-off-by: Matej Vasek <[email protected]> * fix: docker registry/repository parsing (#1929) * fix: docker registry/repository parsing Use go-containerregistry to do parsing. Signed-off-by: Matej Vasek <[email protected]> * fix: use kebab-case instead of camelCase Signed-off-by: Matej Vasek <[email protected]> * fix: use kebab-case instead of camelCase Signed-off-by: Matej Vasek <[email protected]> --------- Signed-off-by: Matej Vasek <[email protected]> * Fix failing concurrent test on Windows (#1890) * src: better debugging Signed-off-by: Matej Vasek <[email protected]> * fix: wait for both builds Signed-off-by: Matej Vasek <[email protected]> * fixup Signed-off-by: Matej Vasek <[email protected]> * fixup Signed-off-by: Matej Vasek <[email protected]> * fixup Signed-off-by: Matej Vasek <[email protected]> * fix: detection of process liveness on Windows Signed-off-by: Matej Vasek <[email protected]> * fix: make symlink relative Signed-off-by: Matej Vasek <[email protected]> * fixup: cleanup Signed-off-by: Matej Vasek <[email protected]> --------- Signed-off-by: Matej Vasek <[email protected]> * allowing on cluster build for go runtime (#1445) * allowing on cluster build for go runtime * warning message added for go and rust builder * gofmt * fixups Signed-off-by: Matej Vasek <[email protected]> --------- Signed-off-by: Matej Vasek <[email protected]> Co-authored-by: Matej Vasek <[email protected]> * Use custom jammy paketo builder (#1911) * chore: use custom jammy paketo builder Use our own modified jammy builder with additional buildpacks for GoFunc and Rust. This enables on cluster build for Go and Rust functions. Where possible (Go, Java) we use "tiny" variant, other runtimes use "base" variant. The updated task is new file instead of modifying existing task this is done for sake of keeping compatiblility. Signed-off-by: Matej Vasek <[email protected]> * fixup: remove unnecessary code per review request Signed-off-by: Matej Vasek <[email protected]> * fixup Signed-off-by: Matej Vasek <[email protected]> * fixup: podman test refers correct tkn task yamls Signed-off-by: Matej Vasek <[email protected]> --------- Signed-off-by: Matej Vasek <[email protected]> * doc: Go and Rust on cluster build is supported (#1923) * doc: Go and Rust on cluster build is supported Signed-off-by: Matej Vasek <[email protected]> * doc: build envvars Signed-off-by: Matej Vasek <[email protected]> --------- Signed-off-by: Matej Vasek <[email protected]> * fix: direct upload ppc64le, x390x (#1958) Signed-off-by: Matej Vasek <[email protected]> * fix: report correct error when task doesn't exist (#1915) Signed-off-by: Matej Vasek <[email protected]> * feat: tekton task urls in the env sub-cmd output (#1925) Signed-off-by: Matej Vasek <[email protected]> --------- Signed-off-by: Matej Vasek <[email protected]> Co-authored-by: Jefferson Ramos <[email protected]> Co-authored-by: Knative Automation <[email protected]> Co-authored-by: Shashank Sharma <[email protected]>
- Loading branch information
1 parent
0d6e210
commit 82c7610
Showing
46 changed files
with
13,535 additions
and
13,072 deletions.
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
|
||
This guide describes how you can build a Function on Cluster with Tekton Pipelines. The on cluster build is enabled by fetching Function source code from a remote Git repository. Buildpacks or S2I builder strategy can be used to build the Function image. | ||
|
||
> **Note** | ||
> Not all runtimes support on cluster builds. **Go** and **Rust** are not currently supported. | ||
## Prerequisite | ||
1. Install Tekton Pipelines on the cluster. Please refer to [Tekton Pipelines documentation](https://github.com/tektoncd/pipeline/blob/main/docs/install.md) or run the following command: | ||
```bash | ||
|
@@ -34,12 +31,14 @@ git remote add origin [email protected]:my-repo/my-function.git | |
``` | ||
4. Update the Function configuration in `func.yaml` to enable on cluster builds for the Git repository: | ||
```yaml | ||
build: git # required, specify `git` build type | ||
git: | ||
url: https://github.com/my-repo/my-function.git # required, git repository with the function source code | ||
revision: main # optional, git revision to be used (branch, tag, commit) | ||
# contextDir: myfunction # optional, needed only if the function is not located | ||
# in the repository root folder | ||
build: | ||
git: | ||
url: https://github.com/my-repo/my-function.git # required, git repository with the function source code | ||
revision: main # optional, git revision to be used (branch, tag, commit) | ||
# contextDir: myfunction # optional, needed only if the function is not located in the repository root folder | ||
buildpacks: [] | ||
builder: "" | ||
buildEnvs: [] | ||
``` | ||
5. Implement the business logic of your Function, then commit and push changes | ||
```bash | ||
|
Oops, something went wrong.