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

[release-1.10] feat: adds a func environment command #1848

Conversation

knative-prow-robot
Copy link

This is an automated cherry-pick of #1761

Adds `func environment` to print the current function execution environment as JSON.

lance added 5 commits July 5, 2023 19:49
Adds `func environment` to print the current function execution
environment as JSON.

See: knative#1676

Signed-off-by: Lance Ball <[email protected]>
Signed-off-by: Lance Ball <[email protected]>
Signed-off-by: Lance Ball <[email protected]>
Signed-off-by: Lance Ball <[email protected]>
@knative-prow knative-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 5, 2023
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Patch coverage: 21.35% and project coverage change: -0.15 ⚠️

Comparison is base (61179d8) 62.89% compared to head (7aab1b8) 62.74%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.10    #1848      +/-   ##
================================================
- Coverage         62.89%   62.74%   -0.15%     
================================================
  Files                93       94       +1     
  Lines             11972    12075     +103     
================================================
+ Hits               7530     7577      +47     
- Misses             3754     3811      +57     
+ Partials            688      687       -1     
Flag Coverage Δ
e2e-test 38.73% <21.35%> (-0.15%) ⬇️
e2e-test-oncluster 34.53% <21.35%> (-0.12%) ⬇️
e2e-test-oncluster-runtime 29.52% <21.35%> (?)
e2e-test-runtime-go 28.20% <21.35%> (?)
e2e-test-runtime-node 29.36% <21.35%> (?)
e2e-test-runtime-python 29.36% <21.35%> (?)
e2e-test-runtime-quarkus 29.49% <21.35%> (?)
e2e-test-runtime-springboot 28.39% <21.35%> (?)
e2e-test-runtime-typescript 29.49% <21.35%> (?)
integration-tests 49.81% <21.35%> (-0.28%) ⬇️
unit-tests-macos-latest 48.63% <21.35%> (-0.26%) ⬇️
unit-tests-ubuntu-latest 49.52% <21.35%> (-0.29%) ⬇️
unit-tests-windows-latest 48.69% <21.35%> (-0.26%) ⬇️

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

Impacted Files Coverage Δ
cmd/environment.go 20.58% <20.58%> (ø)
cmd/root.go 77.73% <100.00%> (+0.09%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@lance
Copy link
Member

lance commented Jul 6, 2023

/override "style / Golang / lint"

@knative-prow
Copy link

knative-prow bot commented Jul 6, 2023

@lance: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • style / Golang / lint

Only the following failed contexts/checkruns were expected:

  • EasyCLA
  • style / Golang / Lint
  • style / suggester / github_actions
  • style / suggester / shell
  • style / suggester / yaml
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override "style / Golang / lint"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lance
Copy link
Member

lance commented Jul 6, 2023

/override "style / Golang / Lint"

@knative-prow
Copy link

knative-prow bot commented Jul 6, 2023

@lance: Overrode contexts on behalf of lance: style / Golang / Lint

In response to this:

/override "style / Golang / Lint"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lance
Copy link
Member

lance commented Jul 6, 2023

/approve
/lgtm

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

knative-prow bot commented Jul 6, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knative-prow-robot, lance

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 6, 2023
@knative-prow knative-prow bot merged commit d3bb02d into knative:release-1.10 Jul 6, 2023
38 of 39 checks passed
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants