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

Cache stack #58

Merged
merged 7 commits into from
Oct 17, 2019
Merged

Cache stack #58

merged 7 commits into from
Oct 17, 2019

Conversation

KevinBrolly
Copy link
Contributor

This PR fixes #48 - it adds the current stack to the cache and the bust's the cache if the stack has changed.

I also took the opportunity to refactor the tests and add two new ones for this change. The addition of fixtures should make it easier to add new tests based on different Aptfile configurations in the future.

@KevinBrolly KevinBrolly requested a review from edmorley October 17, 2019 13:36
bin/compile Outdated Show resolved Hide resolved
@KevinBrolly KevinBrolly requested a review from jkutner October 17, 2019 15:17
@KevinBrolly KevinBrolly merged commit dd8a8b0 into heroku:master Oct 17, 2019
@KevinBrolly KevinBrolly deleted the cache-stack branch October 17, 2019 17:07
@edmorley
Copy link
Member

@KevinBrolly Thank you for fixing this! :-)

Copy link
Member

@edmorley edmorley left a comment

Choose a reason for hiding this comment

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

LGTM :-)

@edmorley
Copy link
Member

Published to the buildpack registry:

$ heroku buildpacks:publish heroku-community/apt master
Publishing buildpack heroku-community/apt... done
Publishing buildpack was successful

$ heroku buildpacks:versions heroku-community/apt
Version  Released At               Status
───────  ────────────────────────  ─────────
4        2019-10-17T17:20:09.847Z  published
3        2019-09-09T07:26:55.242Z  published
2        2019-06-11T06:47:11.497Z  published
1        2018-05-21T20:08:40.250Z  published

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.

Stack changes don't clear the buildpack cache
3 participants