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

Regression in 0.17 - Atlantis fails to apply if there are no changes #1702

Closed
Eddman opened this issue Jul 14, 2021 · 3 comments
Closed

Regression in 0.17 - Atlantis fails to apply if there are no changes #1702

Eddman opened this issue Jul 14, 2021 · 3 comments
Labels
bug Something isn't working waiting-on-response Waiting for a response from the user

Comments

@Eddman
Copy link

Eddman commented Jul 14, 2021

We have a problem on a PR that has 0 planed changes. atlantis apply ends up with an error:

atlantis plan
Ran Plan for 0 projects:
atlantis apply
stat /home/atlantis/.atlantis/repos/my_org/my_repo/87: no such file or directory

Previously (0.16.1) it worked as expected and just reported:

Ran Apply for 0 projects:

This is similar to #1575, but I think this is a bit different case. In our PR there are changes, but not to files listed in atlantis.yaml in project.

  • In 0.16.1 Atlantis did clone the repo and created the directory structure for such PRs. Atlantis apply then returned just message: Ran Apply for 0 projects:
  • In 0.17.2 however it just ends up with empty data-dir/repos/ folder and fails on apply later.
@nishkrishnan nishkrishnan added the bug Something isn't working label Jul 19, 2021
@nishkrishnan
Copy link
Contributor

Hmm that's odd we're running 0.17.2 and haven't come across this.

@Eddman
Copy link
Author

Eddman commented Mar 30, 2022

This problem still persist in 0.19.2, but the workaround from #1714 (comment) helped in this case as well....

@jamengual
Copy link
Contributor

is this still an issue with v0.19.8? I think this was addressed

@jamengual jamengual added the waiting-on-response Waiting for a response from the user label Aug 26, 2022
@github-actions github-actions bot added the Stale label Oct 24, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting-on-response Waiting for a response from the user
Projects
None yet
Development

No branches or pull requests

3 participants