-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
gitlab: Atlantis apply returns Status cannot transition via \"run\"
when updating commit check status
#2685
Comments
@fazith27 what atlantis version are you using? |
I am using |
It seems like a gitlab specific issue. I'm unsure if they changed their API or if this is an edge case that no one accounted for. Seems like the API is throwing the error and it's falling into the error block here. atlantis/server/events/apply_command_runner.go Lines 196 to 205 in 5b88c42
atlantis/server/events/vcs/gitlab_client.go Line 235 in b78c4e8
PRs are welcome if you or someone can troubleshoot this. |
Status cannot transition via \"run\"
when updating commit check status
Have similar/same issue and it's very annoying
|
Encountering same issue on Atlantis 0.27.1 and Gitlab 16.8
|
Hey, My next step is to figure out why it's not transitioning to either |
Hi all. Just adding to this that I started seeing error |
Hello, has there been any progress on this? |
Community Note
Overview of the Issue
I started exploring Atlantis recently. I found an issue when running
atlantis apply
. Pipeline at Gitlab end is continuously running even after applying the changes and the MR is updated with the apply successful comment. Provided atlantis logs below for reference. As per the logs, it looks like Atlantis is failing when making the Gitlab api to update the commit status and the process never ends in the backend. FYI, I am using Gitlab and Terragrunt.Reproduction Steps
docker run -p 80:4141 -d --pull=always registry.gitlab.com/mytestproj/tf-stack/custom-atlantis server --gitlab-user=xxxxx --gitlab-token=xxxxx --repo-allowlist=gitlab.com/mytestproj/tf-stack --gitlab-webhook-secret=xxxx--repo-config="/home/atlantis/repos.yaml" --silence-no-projects --checkout-strategy=merge
atlantis plan
and thenatlantis apply
3 to 4 times in the same MR with multiple changesLogs
Dockerfile for my custom image
Server side-config (repos.yaml)
Atlantis yaml
The text was updated successfully, but these errors were encountered: