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

Remove dependency on docker hub #2654

Merged
merged 1 commit into from
Jan 19, 2025
Merged

Conversation

matejvasek
Copy link
Contributor

@matejvasek matejvasek commented Jan 16, 2025

Removed dependency on

  • index.docker.io/library/golang:1.23-alpine3.20 and
  • index.docker.io/library/alpine:latest.

For future I consider making the image scratch or at least distroless but for now it's still alpine.
Also we might consider skipping the builder part -- we could build the binaries locally and then use COPY.

Also I hate the fact that the ADD clause do not have --from flag, because of that I have to do fetching outside of the Dockerfile.

@matejvasek matejvasek requested a review from lkingland January 16, 2025 22:00
@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 16, 2025
@knative-prow knative-prow bot requested review from rhuss and vyasgun January 16, 2025 22:00
@knative-prow knative-prow bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 16, 2025
@matejvasek matejvasek requested review from matzew and removed request for rhuss and vyasgun January 16, 2025 22:01
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.44%. Comparing base (09e2eef) to head (bce5a3c).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2654      +/-   ##
==========================================
+ Coverage   64.13%   65.44%   +1.30%     
==========================================
  Files         130      130              
  Lines       15518    15518              
==========================================
+ Hits         9953    10155     +202     
+ Misses       4625     4387     -238     
- Partials      940      976      +36     
Flag Coverage Δ
e2e-test 35.81% <ø> (ø)
e2e-test-oncluster 32.87% <ø> (-0.01%) ⬇️
e2e-test-oncluster-runtime 28.65% <ø> (?)
e2e-test-runtime-go 26.44% <ø> (?)
e2e-test-runtime-node 25.84% <ø> (?)
e2e-test-runtime-python 25.84% <ø> (?)
e2e-test-runtime-quarkus 25.99% <ø> (?)
e2e-test-runtime-rust 24.92% <ø> (?)
e2e-test-runtime-springboot 24.98% <ø> (?)
e2e-test-runtime-typescript 25.95% <ø> (?)
integration-tests 51.95% <ø> (+2.23%) ⬆️
unit-tests 50.95% <ø> (?)
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

@lkingland @matzew @dsimansk PTAL

@matejvasek matejvasek requested a review from dsimansk January 17, 2025 01:35
Copy link
Member

@lkingland lkingland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2025
Copy link

knative-prow bot commented Jan 18, 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

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

@matejvasek
Copy link
Contributor Author

/retest-required

@knative-prow knative-prow bot merged commit 527b917 into knative:main Jan 19, 2025
35 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/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