Skip to content

Go tar#2672

Merged
knative-prow[bot] merged 2 commits intoknative:mainfrom
matejvasek:go-tar
Jan 28, 2025
Merged

Go tar#2672
knative-prow[bot] merged 2 commits intoknative:mainfrom
matejvasek:go-tar

Conversation

@matejvasek
Copy link
Contributor

@matejvasek matejvasek commented Jan 27, 2025

Changes

  • Get rid of dependency on alpine's sh/tar by implementing extraction in func-util binary. This will allow us to make func-util image FROM scratch or base it on google's distroless image.
  • Fixed bug in podReady() where the function did not detect premature exit of a container.

Detect also if pod did not exited prematurely.

Signed-off-by: Matej Vašek <mvasek@redhat.com>
This commit removes depencency on sh and tar binaries by implementing
the logic in our func-util binary.

Signed-off-by: Matej Vašek <mvasek@redhat.com>
@knative-prow
Copy link

knative-prow bot commented Jan 27, 2025

@matejvasek: The label(s) kind/<kind> cannot be applied, because the repository doesn't have them.

Details

In response to this:

Changes

/kind

Fixes #

Release Note


Docs


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-sigs/prow repository.

@matejvasek matejvasek requested a review from gauron99 January 27, 2025 21:11
@knative-prow knative-prow bot requested review from jrangelramos and rhuss January 27, 2025 21:11
@knative-prow knative-prow bot added approved 🤖 PR has been approved by an approver from all required OWNERS files. size/XL 🤖 PR changes 500-999 lines, ignoring generated files. labels Jan 27, 2025
@matejvasek matejvasek requested review from lkingland and matzew and removed request for jrangelramos and rhuss January 27, 2025 21:11
@codecov
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

Attention: Patch coverage is 52.43902% with 39 lines in your changes missing coverage. Please review.

Project coverage is 65.35%. Comparing base (20a173a) to head (6ac14e7).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pkg/tar/tar.go 55.84% 24 Missing and 10 partials ⚠️
pkg/k8s/dialer.go 0.00% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2672      +/-   ##
==========================================
+ Coverage   64.16%   65.35%   +1.18%     
==========================================
  Files         130      131       +1     
  Lines       15519    15601      +82     
==========================================
+ Hits         9958    10196     +238     
+ Misses       4622     4417     -205     
- Partials      939      988      +49     
Flag Coverage Δ
e2e-test 35.79% <0.00%> (-0.07%) ⬇️
e2e-test-oncluster 34.28% <0.00%> (+1.40%) ⬆️
e2e-test-oncluster-runtime 28.64% <0.00%> (?)
e2e-test-runtime-go 26.43% <0.00%> (?)
e2e-test-runtime-node 25.83% <0.00%> (?)
e2e-test-runtime-python 25.83% <0.00%> (?)
e2e-test-runtime-quarkus 25.98% <0.00%> (?)
e2e-test-runtime-rust 24.93% <0.00%> (?)
e2e-test-runtime-springboot 24.97% <0.00%> (?)
e2e-test-runtime-typescript 25.94% <0.00%> (?)
integration-tests 51.97% <52.43%> (+2.29%) ⬆️
unit-tests 50.96% <52.43%> (?)
unit-tests-macos-latest ?
unit-tests-ubuntu-latest ?
unit-tests-windows-latest ?

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

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

@matejvasek
Copy link
Contributor Author

/test unit-tests

@matejvasek
Copy link
Contributor Author

PTAL @lkingland @gauron99 @matzew

@lkingland
Copy link
Member

  • This will allow us to make func-util image FROM scratch or base it on google's distroless image.

🎉
/lgtm

@knative-prow knative-prow bot added the lgtm 🤖 PR is ready to be merged. label Jan 28, 2025
@knative-prow
Copy link

knative-prow bot commented Jan 28, 2025

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [lkingland,matejvasek]

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 4de3725 into knative:main Jan 28, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. lgtm 🤖 PR is ready to be merged. size/XL 🤖 PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants