Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
Using Github Enterprise with a custom workflow and checkout-strategy set to merge.
Since
I get plans that "disappear." I'll do a plan. Then a bit later try the apply. This shows in the log "base branch has been updated, using merge checkout-strategy and will clone again", then ""creating dir "/home/atlantis/.atlantis/repos/terraforms/production/10605/default"". The apply runs and comments on the PR "Ran Apply for 0 projects:".
Plan again, then apply immediately and it works.
It seems like atlantis is just recloning the PR and blowing away my plan instead of just merging in the base branch again.
Reproduction Steps
Have checkout-strategy set to merge. Plan a PR. Merge in changes to base branch. Apply PR.
Logs
relevant log shown above. Lemme know if more detailed log is needed.
Environment details
- Atlantis version: I've experienced this problem on 0.23.5 and 0.24.2
- Deployment method: docker container on AWS fargate
Community Note
Overview of the Issue
Using Github Enterprise with a custom workflow and checkout-strategy set to merge.
Since
mergestrategy, reclone when necessary on base update #3187I get plans that "disappear." I'll do a plan. Then a bit later try the apply. This shows in the log "base branch has been updated, using merge checkout-strategy and will clone again", then ""creating dir "/home/atlantis/.atlantis/repos/terraforms/production/10605/default"". The apply runs and comments on the PR "Ran Apply for 0 projects:".
Plan again, then apply immediately and it works.
It seems like atlantis is just recloning the PR and blowing away my plan instead of just merging in the base branch again.
Reproduction Steps
Have checkout-strategy set to
merge. Plan a PR. Merge in changes to base branch. Apply PR.Logs
relevant log shown above. Lemme know if more detailed log is needed.
Environment details