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

Improve artifact caching #1741

Merged
merged 2 commits into from Mar 6, 2019

Conversation

priyawadhwa
Copy link
Contributor

some improvements to artifact caching:

  1. Include filename in the cache key generation
  2. Sort dependencies to ensure the key is reproducible
  3. Add unit tests for both of these additions

Also, simplify the cache hasher function

begins to fix #1740

First PR with some small improvements to artifact caching:

1. Include filename in the cache key generation
2. Sort dependencies to ensure the key is reproducible
3. Add unit tests for both of these additions

Also, simplifly the cache hasher function
@dgageot
Copy link
Contributor

dgageot commented Mar 6, 2019

Sorry @priyawadhwa, this needs to be rebased

@dgageot dgageot merged commit abfb1a7 into GoogleContainerTools:master Mar 6, 2019
@codecov-io
Copy link

codecov-io commented Mar 6, 2019

Codecov Report

Merging #1741 into master will increase coverage by 0.33%.
The diff coverage is 73.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1741      +/-   ##
==========================================
+ Coverage   47.02%   47.35%   +0.33%     
==========================================
  Files         126      126              
  Lines        6180     6179       -1     
==========================================
+ Hits         2906     2926      +20     
+ Misses       2981     2955      -26     
- Partials      293      298       +5
Impacted Files Coverage Δ
pkg/skaffold/build/cache.go 53.84% <73.33%> (+9.82%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24f7382...493fc11. Read the comment docs.

@priyawadhwa priyawadhwa deleted the improve-caching branch March 6, 2019 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve artifact caching
4 participants