Questions tagged [heroku-pipelines]

Each app in a pipeline represents one of the following steps in a continuous delivery workflow:

  • Review
  • Development
  • Staging
  • Production

A common Heroku continuous delivery workflow has the following steps:

  1. A developer creates a pull request to make a change to the codebase.
  2. Heroku automatically creates a review app for the pull request, allowing developers to test the change.
  3. When the change is ready, it’s merged into the codebase’s master branch.
  4. The master branch is automatically deployed to staging for further testing.
  5. When it’s ready, the staging app is promoted to production, where the change is available to end users of the app.

The pipelines overview page helps you visualize this flow, as well as meta information about the status of each stage. For example, you can see if your production app is running different code than staging.
Example pipeline For More Info

33 questions
1
vote
1 answer

Heroku pipelines - How do I make staging apps working on a different database compared to production apps?

I have a django app and I am deploying it using Heroku pipeline. I am trying to understand what's the best way to handle the fact that each staging apps should not use production databases (right?) What's the best way to do so? It seems that I can't…
giaggi
  • 542
  • 5
  • 16
1
vote
1 answer

Is it possible to use free dynos for review apps by default?

We are a team that uses Heroku pipeline. By default, each review app uses hobby dyno. Is it possible to configure the pipeline to use free dyno for each review app by default?
Noname
  • 4,432
  • 2
  • 10
  • 17
1
vote
1 answer

Heroku APT file is not used in the Pipeline

I'm using Apt file in Heroku to have graphicmagic package available in Dyno for years. Now I wanted to set up Heroku Pipeline tests, but the Heroku does not install apt packages in the build for tests at all. So tests using the graphicmagic are…
vaclav_o
  • 1,705
  • 3
  • 15
  • 24
1
vote
1 answer

How to know if there are changes to promote on Heroku pipeline platform?

My objective is to write a script that promotes a "stage" application in our Heroku pipeline to production, but only if there are any changes to promote. I can promote without issues by using: // POST /pipeline-promotions { "pipeline": { …
DauleDK
  • 3,313
  • 11
  • 55
  • 98
1
vote
1 answer

Heroku: Unable to upgrade Review Apps

Heroku tells me A new version of Review Apps is available, but when I click upgrade, but I get the following error Invalid request. #: failed schema #/definitions/review-app- config/links/0/schema: "repo" wasn't supplied. Has anyone encountered…
Perry
  • 869
  • 9
  • 14
1
vote
0 answers

Heroku share database in pipeline with restricted permissions?

I have a production and staging app in my pipeline. I would like to do one of two things. Copy the postgres production database, but with limited data (as the current amount requires that I pay). Really, I want to copy all of the data except from…
Joshua Foxworth
  • 1,236
  • 1
  • 22
  • 50
1
vote
0 answers

Laravel Spark license and Heroku Pipeline

So, I have a Laravel Spark license and I recently upgraded my code from Spark version 3 to 6. I decided that before i push that big of a change, I should go ahead and set up a pipeline with a staging app (like I should have done months ago). I am…
Joshua Foxworth
  • 1,236
  • 1
  • 22
  • 50
1
vote
1 answer

Heroku pipeline - which app is code linked to

I have been deploying to a single app on heroku. I have decided to create a pipeline and I set this app as the production app. I created a new app for staging. Which app should the local code be linked to and pushed to with git push heroku master?…
Joshua Foxworth
  • 1,236
  • 1
  • 22
  • 50
0
votes
0 answers

Using Heroku Pipelines, how can I promote an Vue.JS app from one stage to another while configuring the REST base URL on an ENV var?

I'm using Heroku pipeles to deploy an webapp that has the back-end app writen on Ruby on Rails and the front-end app using VueJS and I'm having trouble promoting the front-end app from one stage to another inside the pipeline because I'm setting up…
razenha
  • 7,660
  • 6
  • 37
  • 53
0
votes
0 answers

To create a review app, the pipeline owner must first authorize additional charges

I keep on getting an error with message whenever my heroku review app tries to build. To create a review app, the pipeline owner must first authorize additional charges I have already configured my buildpacks, addons and image in the app.json. Why…
Mighty
  • 53
  • 6
0
votes
2 answers

Issue Deploying Heroku App - RQ Worker: wrong number of arguments for 'HSET' command

Modifying an app based on this example, I am having a problem when deploying my updated Heroku app during initialization of the web.1 dyno. Everything is working fine in my development envr; when I start the 'app' and 'worker' executables directly,…
0
votes
0 answers

Why am I getting Application Error with Heroku Pipeline?

Setting up a new Pipeline in Heroku. I connected the app to GitHub. Starting with simple React application (via npx create-react-app) in order to see the Pipeline in action, but getting missing -a flag error. I understand that it says it is missing…
0
votes
1 answer

How to create an app on Heroku that copies another app's config vars and add-ons?

I've created review apps successfully, and the review apps do have all the correct config vars and add-ons copied, but I can't get the review apps to persist, or to move to 'staging' in the pipeline. They are automatically deleted when a pull…
Priya Murthy
  • 21
  • 1
  • 3
0
votes
0 answers

Why do my Review Apps keep failing to build on Heroku Pipelines?

I have a Heroku Pipeline set up. The Review Apps are based off the Staging App, so the Review Apps are using all the same environment variables etc. as the Staging App. When the Review Apps try to spin up, I keep getting the follow log error. How…
secondbreakfast
  • 149
  • 1
  • 2
  • 11
0
votes
1 answer

How can I have separate APIs for staging and production environments on Heroku?

I was just checking on how pipelines work in Heroku. I want the staging and production apps to be the same except that they should access different API endpoints. How could I achieve that?
develop05
  • 487
  • 1
  • 9
  • 23