Is there a way, via the Heroku Platform API (or any other Heroku API). To create/destroy a Review App?
Our configuration is set to not create review apps on every PR and I would like to be able to create a review app based on some signal in the PR's branch name.
Thanks.
Related
We have an app which is already used by customers
We will be soon adding new API and adding new scopes and publishing it again.
This new API is used by only 5 customers out of our 100 customers.
Wanted to know what happens to all the customers who are using the existing APP. Since the same App is published again, will the functionality is broken if they don't install the APP?
This new API is only required for few customers, so can this newly republished app needs to be installed by only those customers ?
Or it has to be installed by all Customers who does not require this API and scopes as well?
Can some customers who do not need this API and scopes need not install this APP?
It depends on the type of deployment
There are Head Deployments which are automatically in sync with most recently saved code and there are Versioned Deployments which are a snapshot of your code.
In this specific case I'd use a versioned deployment by following the steps in the documentation in order to make the difference mentioned above (only 5 customers).
I'm trying to get review apps up and running on Heroku. In my usecase I have a bunch of custom domains and I have postdeploy and pr-predestroy scripts that correctly setup all of that. However ACM is not getting enabled for the new apps, so none of the URL's gets certs until someone goes and manually enables ACM. Is there a way to have ACM automatically enabled for new review apps? If it matters any we are manually triggering the creation of the review apps.
The best answer I found was to use the platform API to enable ACM from the postdeploy script https://devcenter.heroku.com/articles/platform-api-reference#app-enable-acm
I would like to create a service that allows users to design and develop
web applications, similar to many of the drag-and-drop website builders (think ClickFunnels, Squarespace, Wix, etc.).
Is it possible, or better yet, wise to use Herkoku to manage these applications?
Each user could have multiple independent applications that would require its own webserver and database.
I know Heroku has a CLI, but is it possible for my service to execute a Heroku CLI Command on behalf of the customer?
For instance, if a user wants to create a new application, I would need to have an endpoint in my application which will execute the 'heroku create app' command, which would create an app for the user in my own Heroku account. Is this possible? Are there any examples of executing Heroku commands from within the application itself?
Any other major hurdles I'm missing?
is there a way to setup Heroku to get a notification you when your config variables are updated?
thanks a lot
sorry for the very late reply, but I spoke with Heroku back then, and they said that it wasn't something that they did at the moment.
Very late to the party here, but just to give an updated answer. Heroku has support for webhooks so you can monitor those + more events on your end.
If you rather not build your own consumption pipeline, consider using LightFlare (I'm the creator) that has out of the box support of consuming Webhooks events from many services (heroku included) and notifies you at your choice(s) of destinations (slack / email etc ...).
LightFlare currently supports monitoring on services like:
Infra: GCP, AWS, Azure, heroku
Code/release: GitHub, bitbucket, netlify
Commerce: shopify, gumroad
More integrations based on our customers asks
What does it mean production in rails , whats the difference between using github and heroku at the same time . I used github for like a backup / how all of us gonna use heroku . Is it necessary ??
First I need to explain GIT
Git is a distributed version control and source code management (SCM) system with an emphasis on speed. Initially designed and developed by Linus Torvalds for Linux kernel development in 2005. Every Git working directory is a full-fledged repository with complete history and full version tracking capabilities, not dependent on network access or a central server.
GitHub is a web-based hosting service for software development projects that use the Git revision control system. The site provides social networking functionality such as feeds, followers and the social network graph to display how developers work on their versions of a repository.
Heroku (pronounced her-OH-koo) is a web host that uses the Git revision control system. When you push your code to Heroku using git it then builds your server just like you do when you use locate host but for everyone to see.
Heroku is a cloud application platform – a new way of building and deploying web apps. The service lets app developers spend their time on their application code, not managing servers, deployment, ongoing operations, or scaling.
GitHub is a web-based hosting service for projects which uses Git version control system(VCS) It's a code repository where you can store code for better collaboration & contribution. Anybody can contribute to your open source code via cloning it & github will make a branch of code. You can also purchase $9/mth to create private repositories for private collaboration. You can deploy code with Git but you need your own server to host that code.
Visit https://github.com/about
heroku is a PaaS(Platform as a service) web apps hosting service where you can build & deploy web apps. Build great web apps, collaborate & deploy as well with heroku.
Visit https://www.heroku.com/about
Heroku comes with it's own server so you can purchase hosting plan & deploy you web apps easily. In case of Github you need to purchase a separate server to host your web apps.
Github is well known for contribution & collaboration & Heroku is for backend stack available for collaboration & deploying easily.