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

Ignore Repos where atlantis.yaml doesn't exist or projects is an empty list #5040

Open
1 task done
ConvoyTom opened this issue Oct 24, 2024 · 2 comments
Open
1 task done
Labels
feature New functionality/enhancement provider/github

Comments

@ConvoyTom
Copy link

ConvoyTom commented Oct 24, 2024

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.

Describe the user story
As an Atlantis developer, I would like the ability to have Atlantis ignore repositories within my GitHub organization that do not have an atlantis.yaml defined OR have an atlantis.yaml file with no projects defined. We defined our web hooks on the organization level and have atlantis enabled for all repositories. Maintaining the list for only repositories that have an atlantis.yaml file or one with projects defined could become difficult to manage and lead to a negative developer experience.

We also have a non-standard naming convention for our repositories so filtering out libraries or other services that no not need terraform running is a headache.

We have experience situations where Atlantis plan will hang which results in a service not being able to merge. This happens on services that do not have an atlantis.yaml file as we configured Atlantis for all repos per reasons above

Describe the solution you'd like
A server configuration flag such as --skip_atlantis_no_projects. It could default to false to maintain backwards compatibility.

Describe the drawbacks of your solution
This would require Atlantis to clone each repository to scrape it to understand whether it contains an atlantis.yaml file or not.

Describe alternatives you've considered
We could implement the web hooks at the service level. But this leads back to the original user story comment about maintaining that at the infrastructure level could become a headache as services are created weekly that are not exactly in our purview.

@ConvoyTom ConvoyTom added the feature New functionality/enhancement label Oct 24, 2024
@ConvoyTom
Copy link
Author

bump

@ConvoyTom
Copy link
Author

anyone have any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement provider/github
Projects
None yet
Development

No branches or pull requests

1 participant