-
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
Status Checks are not updated on no-op plans #582
Comments
We are on atlantis |
Atlantis doesn't treat no-op plans differently from regular plans. So the problem here is that the plan somehow disappeared. Can you post the full output from the plan phase? Also after the plan phase you should be able to see the planfile on disk. |
I am seeing something similar. When Atlantis runs multiple plans in the same PR, it is re-cloning the repo causing the previous plan output to be deleted. This seems like it may be related to #584 |
I confirmed that #585 fixed this problem for me. |
Oh awesome, two birds with one stone! @majormoses this will only occur if the branch is ahead of |
@lkysow gotcha, I will test it when a new release build is available. Any chance we can get that backported into a 0.6.x release? If not it might be a couple (work) days before I can get around to evaluating an upgrade. |
Also its unfortunate that we can't support fast forward merges as it keeps the history much cleaner but I don't want to turn this into a religious war... |
@majormoses - the merge in question is the one done by Atlantis with the @lkysow - I am extremely impressed that you were able to commit the fix for this 28 minutes after I submitted the bug report! |
Ah gotcha, thanks for the clarification
what he said |
Fixes by #585 |
So in the following scenario the status checks are not updated properly:
terraform fmt
atlantis apply
runs an apply for the one state leaving the webhook status with a1/2 projects applied successfully.
I was wondering if it had discarded the plan file because it is a no-op and discovered that it was either not generated or it was deleted upon discovering it to be a no-op plan.
The text was updated successfully, but these errors were encountered: