-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cache Charm Builds #78
Conversation
6da3007
to
997e66e
Compare
997e66e
to
c6bd307
Compare
Everyone contributing to this PR have now signed the CLA. Thanks! |
so, what happens if one of the deps in requirements.txt changes? The hash would still match right? How do we pick up new changes of python dependencies? |
3569059
to
7611260
Compare
No, we are hashing the |
4ebe88d
to
3b7038a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully dependabot will help out here updating these packages.
I dunno if it knows how to update the git+https
packages
Overview
This pull request introduces a caching mechanism for charms. If there are no changes in the source of the charm or its dependencies, the workflow restores the cached charms. This reduces integration test times by around 80%. This is particularly useful when tweaking the testing suite or other files that are not dependent on the charm sources.