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

post CI-style status to github #928

Closed
ted-fastly opened this issue Feb 14, 2020 · 3 comments
Closed

post CI-style status to github #928

ted-fastly opened this issue Feb 14, 2020 · 3 comments
Labels
question Further information is requested

Comments

@ted-fastly
Copy link

This is a feature request. When a PR is opened it is hard to tell if Atlantis is aware of it, as a plan can take a while. It'd be nice if Atlantis supported setting a status- for instance, github has the CI status bit; the runatlantis repo runs three different CIs, for instance. It would work by setting the pending flag when it started, then success/fail on each run.

@ted-fastly
Copy link
Author

this may be a duplicate of #729, #549, #185, maybe I'm missing a setting that gives this feedback?

@lkysow lkysow added the question Further information is requested label Feb 14, 2020
@lkysow
Copy link
Member

lkysow commented Feb 14, 2020

Hi Ted, we do set statuses. Maybe your Atlantis user doesn't have permissions to set the status? If so you'd see errors in the logs about not being able to set commit statuses.

@ted-fastly
Copy link
Author

Aha. That makes sense, given those other issues I linked. I just couldn't find anything in the doc that made me 100% sure, or how/why it was missing. Here's what I see in my logs, btw:

 Unable to update commit status: POST https://api.github.com/repos/aa/bb/statuses/abc123hash: 404 Not Found []

It turns out our Atlantis github user only had read access to the repo. Once I bumped that to "write" I started getting the in-progress status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants