Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: tekton task urls in the environment sub-command output #1925

Merged
merged 1 commit into from
Aug 13, 2023

Conversation

matejvasek
Copy link
Contributor

Changes

  • 🎁 Print tekton tasks urls in output of func environment.

@matejvasek matejvasek requested a review from lance August 10, 2023 16:45
@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 10, 2023
@matejvasek matejvasek requested review from lkingland, jrangelramos, gauron99 and salaboy and removed request for rhuss and navidshaikh August 10, 2023 16:45
@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Patch coverage: 53.84% and project coverage change: +0.90% 🎉

Comparison is base (efb04be) 61.85% compared to head (67215f8) 62.75%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1925      +/-   ##
==========================================
+ Coverage   61.85%   62.75%   +0.90%     
==========================================
  Files         107      107              
  Lines       13813    13817       +4     
==========================================
+ Hits         8544     8671     +127     
+ Misses       4415     4267     -148     
- Partials      854      879      +25     
Flag Coverage Δ
e2e-test 35.49% <0.00%> (+0.07%) ⬆️
e2e-test-oncluster 30.81% <30.76%> (-0.02%) ⬇️
e2e-test-oncluster-runtime 25.63% <30.76%> (?)
e2e-test-runtime-go 25.92% <0.00%> (?)
e2e-test-runtime-node 26.92% <0.00%> (?)
e2e-test-runtime-python 26.92% <0.00%> (?)
e2e-test-runtime-quarkus 27.04% <0.00%> (?)
e2e-test-runtime-rust 25.92% <0.00%> (?)
e2e-test-runtime-springboot 26.06% <0.00%> (?)
e2e-test-runtime-typescript 26.95% <0.00%> (?)
integration-tests 51.44% <53.84%> (+2.12%) ⬆️
unit-tests-macos-latest 48.24% <23.07%> (-0.02%) ⬇️
unit-tests-ubuntu-latest 49.05% <23.07%> (-0.02%) ⬇️
unit-tests-windows-latest 48.30% <23.07%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
cmd/environment.go 19.51% <0.00%> (-0.83%) ⬇️
pkg/pipelines/tekton/templates.go 70.64% <87.50%> (+1.26%) ⬆️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matejvasek
Copy link
Contributor Author

PTAL @jrangelramos @gauron99

@matejvasek
Copy link
Contributor Author

/retest-required

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Aug 13, 2023
@knative-prow
Copy link

knative-prow bot commented Aug 13, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matejvasek, Shashankft9

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot merged commit 67517b7 into knative:main Aug 13, 2023
38 checks passed
matejvasek added a commit to matejvasek/faas that referenced this pull request Sep 27, 2023
matejvasek added a commit to matejvasek/faas that referenced this pull request Sep 27, 2023
knative-prow bot pushed a commit that referenced this pull request Oct 2, 2023
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants