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

changing BUILDPACK_URL doesn't update app configuration on heroku #163

Open
matthargett opened this issue Feb 11, 2014 · 1 comment
Open

Comments

@matthargett
Copy link

result:
after changing our BUILDPACK_URL in the heroku.yml, our heroku app was still using autodetect.

expected result:
heroku_san should either update the heroku configuration, or provide a warning message that the BUILDPACK_URL does not match the application, when deploying.

our heroku.yml:
production:
app: cases-render-service-prod
config:
NODE_ENV: production
BUILDPACK_URL: https://github.com/ddollar/heroku-buildpack-multi.git
staging:
app: cases-render-service-staging
config:
NODE_ENV: production
BUILDPACK_URL: https://github.com/ddollar/heroku-buildpack-multi.git

@kmayer
Copy link
Contributor

kmayer commented Feb 11, 2014

When you run heroku config (NOT rake heroku config, use Heroku's CLI)
does the new URL show up? If not, did you run rake heroku config after
changing the url in the config file? Setting config vars is an "expensive"
API call to Heroku, so it is not done automatically by heroku_san. After
looking at Heroku's documentation for BUILDPACK_URL, it is just another
config var, so if it is set, it should work. They do mention that you must
specify a version in the url, too (
https://devcenter.heroku.com/articles/buildpacks#using-a-custom-buildpack).

On Tue, Feb 11, 2014 at 11:17 AM, Matt Hargett [email protected]:

result:
after changing our BUILDPACK_URL in the heroku.yml, our heroku app was
still using autodetect.

expected result:
heroku_san should either update the heroku configuration, or provide a
warning message that the BUILDPACK_URL does not match the application, when
deploying.

our heroku.yml:
production:
app: cases-render-service-prod
config:
NODE_ENV: production
BUILDPACK_URL: https://github.com/ddollar/heroku-buildpack-multi.git
staging:
app: cases-render-service-staging
config:
NODE_ENV: production
BUILDPACK_URL: https://github.com/ddollar/heroku-buildpack-multi.git

Reply to this email directly or view it on GitHubhttps://github.com//issues/163
.

[email protected] | (808) 722-6142 (c)

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

No branches or pull requests

2 participants