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
81
votes
13 answers

How to remove a Github Environment

My question is about cleaning up the "Environments" tab on a Github repository. I previously deployed via Heroku, using automatic deployment from two separate Github branches (one for staging, one for production). This created a tab "Environments"…
mathiscode
  • 1,509
  • 3
  • 13
  • 10
23
votes
2 answers

Heroku pipeline - staging env variable carried into production

I've recently deployed a React/Express app to Heroku, but I'm having an issue with environment variables that are part of the built app and the Heroku deployment pipeline - in a nutshell, the values of environment variables from the app's staging…
skwidbreth
  • 7,888
  • 11
  • 58
  • 105
15
votes
1 answer

Heroku CI status badge

Im using Heroku CI to run tests in Heroku Pipeline. I would like to add CI status as badge in the README.md file at Github, for master branch. But so far, I have not found out-of-box solution on this request. Any tip on workarounds to get this work…
Ismar Slomic
  • 5,315
  • 6
  • 44
  • 63
7
votes
0 answers

Monorepo + Pipelines: Can't specify buildpacks for review apps, and app.json can't be in the project root

I'm trying to set up a pipeline for my Monorepo structure similar to this: > yarn.lock > package.json > packages > my-heroku-app > app.json > Procfile > package.json > my-other-heroku-app > app.json …
Nazaire
  • 175
  • 5
6
votes
0 answers

Promoting Heroku app from staging to production keeps environment

Say I have an environment variable called API_URL, which I set 2 different values for staging and production. Thing is: when I promote the app from staging to production, it keeps staging API_URL value in the production environment, though in…
4
votes
0 answers

How to create Review apps on Heroku without connecting Github

Before the Github - Heroku authentication issue saga happening on Heroku at the moment, I use pipelines to create review apps on Heroku. After my Github connections were disconnected from my pipelines on Heroku, I couldn't reconnect them so that I…
Olayinka
  • 41
  • 4
4
votes
1 answer

Heroku: Promoting a static react page with different environment vars

We have static react site deployed with Heroku pipelines. The code is pushed and build automatically on Stage. For pushing to Production, we would like to use the Heroku promote function, so we are sure we use the same build we tested on…
maersu
  • 3,242
  • 22
  • 27
4
votes
0 answers

Deploying front end and back end at the same time with Heroku Pipelines

I'm considering separating the front end and back end of my application into two separate self contained apps that would end up as separate apps in Heroku. I'm using Heroku pipelines/flow to manage deployments and so far, the "Promote to Production"…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
3
votes
1 answer

Heroku, Rails 7 CI test pipeline, database errors

I'm trying to get Heroku Pipeline working with my Rails 7 application. Currently running into problems related to database connection / creation. In the pipeline test tab all tests fails and I get the following error: Running 245 tests in parallel…
Anders
  • 2,903
  • 7
  • 58
  • 114
3
votes
1 answer

Heroku pipeline drops buildpack settings for Review Apps

I'm currently using Heroku Pipeline feature for automatically detecting, building and deploying pull requests for review. ✓ Create new review apps for new pull requests automatically URL pattern Pattern: Random…
BinaryButterfly
  • 18,137
  • 13
  • 50
  • 91
3
votes
1 answer

Updating heroku pipeline environment variables

If I want to update environment config variables for a heroku app, I would run the following command: heroku config:set FROM_EMAIL=$(FROM_EMAIL) --app=my-app Say I have a pipeline which I would like to add the same environment variable. What would…
Sam Houston
  • 3,413
  • 2
  • 30
  • 46
2
votes
1 answer

Heroku Pipelines: You need to have the deploy or operate permission on this app

I've inherited an app hosted on Heroku which uses review apps. Right up until the day before I took over responsibility for the system, the review apps were working absolutely fine, pulling in the branch, building it, then using a postdeploy command…
Daniel Hollands
  • 6,281
  • 4
  • 24
  • 42
2
votes
2 answers

Rails asset precompile and Heroku Pipelines

I'm deploying my Rails application using Heroku Pipelines (it's been reliable and fast). However, because assets are only precompiled once, during their deployment to staging, the promoted CSS assets in production all contain references to images…
SirRawlins
  • 494
  • 3
  • 18
2
votes
1 answer

Migrating Data on Heroku Pipeline Promotion

I'm using a pipeline for my rails app on Heroku. I have a staging app, which is then promoted to a production app. I run any schema migrations before deploying to staging and the slug is then moved to production when I promote it. But now need I to…
Adam Colvin
  • 751
  • 1
  • 6
  • 16
1
vote
1 answer

how to improve the code commit process - Heroku

Currently, our Heroku Pipeline is review -> staging -> production. We will do all the tasks, then create PR and merge to review app, then create the same PR (done mainly by cherry-picking), then make the PR and merge to stage, and then finally, we…
Developer
  • 561
  • 7
  • 29
1
2 3