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

chore(dev): speed up image build with ko #692

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

chore(dev): speed up image build with ko #692

wants to merge 1 commit into from

Conversation

apricote
Copy link
Member

@apricote apricote commented Jul 8, 2024

Ko builds the binary locally and utilizes the local go build cache.

This makes the deployment with skaffold faster locally and in our e2e tests.

This makes the dev setup more different than the production setup (still using Dockerfile). But they were already a bit different anyway. In the mid-term I want to use ko for the production images too.

Ko builds the binary locally and utilizes the local go build cache.

This makes the deployment with skaffold faster locally and in our e2e
tests.

This makes the dev setup more different than the production setup (still
using Dockerfile). But they were already a bit different anyway. In the
mid-term I want to use `ko` for the production images too.
@apricote apricote added the enhancement New feature or request label Jul 8, 2024
@apricote apricote self-assigned this Jul 8, 2024
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.26%. Comparing base (2ba4058) to head (a53af30).
Report is 65 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #692      +/-   ##
==========================================
+ Coverage   72.16%   72.26%   +0.09%     
==========================================
  Files          31       32       +1     
  Lines        2497     2668     +171     
==========================================
+ Hits         1802     1928     +126     
- Misses        523      552      +29     
- Partials      172      188      +16     

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

@apricote
Copy link
Member Author

apricote commented Jul 8, 2024

In e2e tests this reduced the time of the skaffold run step from ~1m50s to ~1m30s (-18%).

Copy link
Contributor

github-actions bot commented Oct 6, 2024

This PR has been marked as stale because it has not had recent activity. The bot will close the PR if no further action occurs.

@github-actions github-actions bot added the stale label Oct 6, 2024
@github-actions github-actions bot closed this Nov 5, 2024
@jooola jooola reopened this Nov 15, 2024
@jooola jooola removed the stale label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants