Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only supports a single deploy environment in Heroku plugin #15722

Open
cancan101 opened this issue Oct 4, 2018 · 5 comments
Open

Only supports a single deploy environment in Heroku plugin #15722

cancan101 opened this issue Oct 4, 2018 · 5 comments

Comments

@cancan101
Copy link

Reposting from getsentry/sentry-heroku#1:

We use Heroku for both a staging and production environment. I am trying to enable release tracking for the staging environment, but it looks like the Heroku integration only supports a single "Deploy Environment". Is that correct? Or is there a different way to configure deploy tracking for our staging environment?

@jacquescrocker
Copy link

I'm having this issue also

@BYK BYK transferred this issue from getsentry/sentry-plugins Nov 20, 2019
@ORBAT
Copy link

ORBAT commented Feb 24, 2020

Are there any plans to fix this?

@TaylorFCM
Copy link

Following this as my organization has development, staging, and production apps all within one pipeline.

@jnelken
Copy link

jnelken commented Apr 17, 2020

I believe a good workaround is to have separate projects for each environment, and then setup a deployhook / Heroku integration for each project (you cannot set up Heroku integrations at the organization level regardless). I hope that helps. Unfortunately for me, I can't seem to get one deployhook setup correctly. I get this error after every deploy, and see nothing in my heroku logs either.

Last notification error: error posting to https://sentry.io/api/hooks/release/heroku/.../..., please check settings.

@sampsonbryce
Copy link

Heres a workaround im using https://gist.github.com/sampsonbryce/da5587e2464defb64bbddb063e2f2322

It uses the heroku release phase scripts to do the sentry release manually so we can still take advantage of releases with multiple environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants