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

Atlantis has stopped seeing changes in the repo. #2593

Open
80kk opened this issue Oct 18, 2022 · 2 comments
Open

Atlantis has stopped seeing changes in the repo. #2593

80kk opened this issue Oct 18, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@80kk
Copy link

80kk commented Oct 18, 2022

Overview of the Issue

For some reason Atlantis has stopped seeing changes in one of the repos it is configured for. I haven't made changes anywhere and it is working fine elsewhere with the same configuration.

https://ibb.co/r2DDjn4

Reproduction Steps

Make a change, open a PR.

Logs

{"level":"info","ts":"2022-10-18T08:35:07.453Z","caller":"events/events_controller.go:318","msg":"identified event as type \"opened\"","json":{}}
{"level":"info","ts":"2022-10-18T08:35:07.453Z","caller":"events/events_controller.go:346","msg":"executing autoplan","json":{}}
{"level":"info","ts":"2022-10-18T08:35:07.466Z","caller":"events/events_controller.go:318","msg":"identified event as type \"other\"","json":{}}
{"level":"info","ts":"2022-10-18T08:35:07.595Z","caller":"events/events_controller.go:318","msg":"identified event as type \"other\"","json":{}}
{"level":"info","ts":"2022-10-18T08:35:07.819Z","caller":"events/working_dir.go:202","msg":"creating dir \"/atlantis-data/repos/x/y/6/default\"","json":{"repo":"x/y","pull":"6"}}
{"level":"info","ts":"2022-10-18T08:35:09.657Z","caller":"events/project_command_builder.go:238","msg":"successfully parsed atlantis.yaml file","json":{"repo":"x/y","pull":"6"}}
{"level":"info","ts":"2022-10-18T08:35:09.657Z","caller":"events/project_command_builder.go:243","msg":"0 projects are to be planned based on their when_modified config","json":{"repo":"x/y","pull":"6"}}
{"level":"info","ts":"2022-10-18T08:35:09.657Z","caller":"events/plan_command_runner.go:84","msg":"determined there was no project to run plan in","json":{"repo":"x/y","pull":"6"}}

Environment details

  • Atlantis version: 0.19.2

Atlantis server-side config file:

 repos:
 - id: /.*/
   allowed_overrides: []
   apply_requirements: [mergeable]

Repo atlantis.yaml file:

version: 3
projects:
- dir: np
  autoplan:
    when_modified: ["../modules/**/*.tf", "*.tf*"]
- dir: p
  autoplan:
    when_modified: ["../modules/**/*.tf", "*.tf*"]
@80kk 80kk added the bug Something isn't working label Oct 18, 2022
@nitrocode
Copy link
Member

Does it work again if you remove the repo atlantis.yaml file?

Have you tried using the latest version of atlantis?

@80kk
Copy link
Author

80kk commented Oct 21, 2022

Does it work again if you remove the repo atlantis.yaml file?

Have you tried using the latest version of atlantis?

I've tried both. It doesn't make any difference. Here is the log from v0.20.1:

{"level":"info","ts":"2022-10-21T16:09:11.794Z","caller":"events/working_dir.go:225","msg":"creating dir \"/atlantis-data/repos/x/y/11/default\"","json":{"repo":"x/y","pull":"11"}}
{"level":"info","ts":"2022-10-21T16:09:12.836Z","caller":"events/project_command_builder.go:279","msg":"successfully parsed atlantis.yaml file","json":{"repo":"x/y","pull":"11"}}
{"level":"info","ts":"2022-10-21T16:09:12.837Z","caller":"events/project_command_builder.go:284","msg":"0 projects are to be planned based on their when_modified config","json":{"repo":"x/y","pull":"11"}}
{"level":"info","ts":"2022-10-21T16:09:12.837Z","caller":"events/plan_command_runner.go:89","msg":"determined there was no project to run plan in","json":{"repo":"x/y","pull":"11"}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants