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

Fix kaniko caching #639

Merged

Conversation

discordianfish
Copy link
Contributor

Three changes to help with the caching:

This should be save, given that the commands will have the args included
when the cache key gets built.
@dlorenc
Copy link
Collaborator

dlorenc commented May 10, 2019

Sorry for the delay!

@dlorenc dlorenc merged commit 8c732f6 into GoogleContainerTools:master May 10, 2019
@orf
Copy link

orf commented Jun 4, 2019

We might be experiencing an issue relating to this: #690

Remove build args in cache key, This should be save, given that the commands will have the args included when the cache key gets built.

Are you sure this is correct? It seems from what I am seeing that it is indeed not safe.

@discordianfish
Copy link
Contributor Author

@orf I'm not sure - I just thought it would be save given that the build arg modifies the hash of the command. But I haven't found a obvious way to verify it. I hoped I'd get input from the maintainers to discuss that.

@discordianfish discordianfish deleted the fix-kaniko-caching branch June 5, 2019 13:09
@orf
Copy link

orf commented Jun 20, 2019

I’m quite concerned a new release went out with this. @priyawadhwa did you see my issue or my comment? This seems to explicitly break caching :/

@8ear
Copy link

8ear commented Jul 17, 2019

Is there any news?

@priyawadhwa
Copy link
Collaborator

Hey @8ear @orf sorry for the delay, I haven't had a whole lot of time recently to look into this. If either of you is willing to open a PR, please cc me and I can take a look at it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants