heroku-buildpack-phoenix-static | Heroku buildpack for building Phoenix | Platform As A Service library
kandi X-RAY | heroku-buildpack-phoenix-static Summary
kandi X-RAY | heroku-buildpack-phoenix-static Summary
A Heroku buildpack for building Phoenix's static assets
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of heroku-buildpack-phoenix-static
heroku-buildpack-phoenix-static Key Features
heroku-buildpack-phoenix-static Examples and Code Snippets
Community Discussions
Trending Discussions on heroku-buildpack-phoenix-static
QUESTION
We have a Phoenix application that has been running in production on Heroku for the last year.
Now I am attempting to enable pull request versions of the application to run via review apps as part of a Heroku pipeline.
The application has three Heroku buildpacks:
- https://buildpack-registry.s3.amazonaws.com/buildpacks/hashnuke/elixir.tgz
- https://github.com/gjaldon/heroku-buildpack-phoenix-static
- our own buildpack (see below)
Our own buildpack is very straightforward. Here is the bin/detect
script:
ANSWER
Answered 2020-Aug-10 at 01:30Thanks to Aleksei Matiushkin for his comments, which helped me track down the cause of the problem.
I had introduced a new environment variable, which I was fetching in both config/prod.exs
and config/releases.exs
. When I removed it from config/prod.exs
then mix release
succeeded in building the release for the Heroku review app.
I guess the moral of this story is to not configure a value both at build-time and runtime.
QUESTION
I'm working on deploying a Phoenix app to Heroku, but several of the dependencies are in private Gitlab repos, and I am having trouble gaining access to them via SSH. When I try to push my app up, I hit the following error related to one of the dependencies (to which I normally have SSH access on my local machine):
...ANSWER
Answered 2017-May-22 at 20:40I pulled the source code for the buildpack and started poking around - I found that the SSH_HOST
config variable that I was setting - git@gitlab.com
- was not being found, and it was just defaulting to the single git@github.com
host that's hard-coded in... the docs say that you can add additional hosts, but it didn't seem to be working for me.
I was able to resolve this issue by cloning the buildpack and replacing line 13 in bin/compile
with
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install heroku-buildpack-phoenix-static
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page