Questions tagged [heroku-ci]

86 questions
4
votes
5 answers

How to deploy React application to Heroku

I have built a single-page weather app with React and Node.js but can't seem to get it to deploy to Heroku. So far, I have: Created a new app on Heroku called weather-app-react-node Logged into Heroku on the CLI Run the command 'heroku git:remote…
Casey Cling
  • 401
  • 2
  • 5
  • 15
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
0 answers

[heroku CI][cypress] Cannot integration Cypress with Heroko CI

I am unable to run cypress UAT tests on heroku-18 stack. Cypress requires Xvfb, however xvfd build-pack is not supports on heroku stack. Does anyone know when this will be avaliable ? Or is there any other way to get this working. Thanks
3
votes
0 answers

Returns 503 service unavailable when uploading files to heroku

Apollo server setup in Heroku and tried to upload files using Altair but it returns 503 service unavailable. But when uploading files in my local it uploads successfully so I dont know what am i missing. This is my mutation : mutation($img1: Upload,…
megatron
  • 41
  • 1
  • 6
3
votes
2 answers

Heroku CI with Postgres postgis extension

I'm using a postgis extension to my database on Heroku. In production this works just fine; I'm mapping like a boss. But, I can't get my app to build on HerokuCI because the database addon in the test environment doesn't have GDAL installed (part of…
thclark
  • 4,784
  • 3
  • 39
  • 65
3
votes
1 answer

Using MySQL on Heroku CI

I have a Rails app that uses a MySQL database. I'd like to use Heroku CI because of its close integration with pipelines, but I see the following error when setting up the test database: PG::ConnectionBad: could not connect to server: Connection…
Adam Colvin
  • 751
  • 1
  • 6
  • 16
3
votes
1 answer

Heroku github organization integration

How do I connect Heroku pipeline with a private repository in github-organization (on Github.com) Currently, I can see only my private repositories, but I'd like to connect a private repository in our organization account.
2
votes
0 answers

CI/CD with two heroku apps and branches in Gitlab

I want to have one repo and two heroku apps connected to it and have the branches in my repo point to the apps for CI/CD example: the main branch is for the herokuapp "live-prod" and the dev branch is for the herokuapp "live-dev" any time i push…
Beefy.py
  • 57
  • 1
  • 6
2
votes
0 answers

Redis Connections closing in Heroku CI using heroku-redis:in-dyno

Tests run (and Redis works) perfectly fine in a local environment Redis works normally even when deployed to production However Redis connections immediately close when run in Heroku's CI test environment Technologies used: Node.js, Express,…
user3242466
  • 474
  • 4
  • 7
2
votes
3 answers

Getting error on Heroku for "Django DisallowedHost at / Invalid HTTP_HOST header:" even after adding the url to ALLOWED_HOST

So I'm trying to deploy my django project to heroko, and I got this. I know what is the issue here, so I have added the url the-yogify.herokuapp.com to the ALLOWED_HOST in the settings.py file of my django project. ALLOWED_HOSTS =…
2
votes
0 answers

Heroku CI - VCR - Rspec - Fixtures not used for my Rspec tests

I'm using the VCR gem that records lots of http requests and saves them as fixtures in fixtures/vcr_cassettes. It works fine locally, but it seems that when I deploy on Heroku, the fixtures is not used and the tests uses real http requests, which…
2
votes
0 answers

Is it possible to skip certain commits or branches on heroku review pipelines CI?

I've tried adding [skip ci] to the commit message, even removing CI config app.json but it still runs and fails. Thanks heaps
johnok
  • 31
  • 6
2
votes
0 answers

Heroku fails to start application - receiving Syntax Error

I have a Nodejs app that is running fine on my local machine. I am trying to deploy to Heroku. The deployment works but the application fails to start. I am using Koa and Typescript. I first received a "Nodemon not found error" and added the…
n4nite
  • 459
  • 4
  • 19
2
votes
1 answer

Inspect Heroku local logs

I have an app that's deployed to production, but I'm also testing it locally. When I run heroku logs --tail, I get the production logs. I can see when I make a request to the webapp and it shows up instantly in the logs. However, my app on heroku…
Alex Petralia
  • 1,730
  • 1
  • 22
  • 39
2
votes
1 answer

What should output for Heroku CI TAP integration look like exactly?

Heroku CI supports TAP (Test Anything Protocol) output, to give an enhanced UI when its detected. However, I've been unable to get Heroku CI to show this enhanced UI. My guess is that the TAP output I'm producing isn't quite right, however I can't…
Eliot Sykes
  • 9,616
  • 6
  • 50
  • 64