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

Azure DevOps Apply status check not working #1172

Closed
Dilergore opened this issue Aug 29, 2020 · 3 comments · Fixed by #1209
Closed

Azure DevOps Apply status check not working #1172

Dilergore opened this issue Aug 29, 2020 · 3 comments · Fixed by #1209

Comments

@Dilergore
Copy link

Hi,

I am trying to set status check in the Azure DevOps branch policy for apply to ensure that the PR only gets completed if apply succeeds:
image

The problem I am facing is that this status never gets updated:
image

The same status check looks just fine for plan:
image

@Dilergore
Copy link
Author

It is really interesting that if I remove the status check from the policy and refresh the PR then it immediately changes to this:
image

Seems like that this is getting somehow "ignored" only if it is part of the policy.

@mcdafydd
Copy link
Contributor

Thanks for the report. I'm hoping to get back to reviewing this and the other outstanding Azure Devops issues soon.

@Dilergore
Copy link
Author

Dilergore commented Sep 11, 2020

The issue is that we are mixing the genre and the name in the context. Currently the genre is "Atlantis Bot" and the name is "atlantis/plan" or "atlantis/apply".

To make this work we need to change to the following:

genre: "Atlantis Bot/atlantis"
name: "plan" or "apply"

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

Successfully merging a pull request may close this issue.

3 participants