Open ht1792 opened 10 months ago
@ht1792, while safe-settings is a great tool, I am not sure of its long-term supportability. I have had a lot of success with other customers using the Terraform GitHub provider which, in my opinion, is much more fully featured: https://registry.terraform.io/providers/integrations/github/latest/docs. If you like I can walk you through a small demo and we can talk through how your use cases might translate.
Hi @ht1792
I couldn't get it to work with smee, but I did with ngrok. Here you have my test repo and demos with information to be able to set it up.
https://github.com/svg153-org/admin/blob/main/apps/safe-settings-local/README.md
I also leave you a video, in Spanish, where I talk about how it works and another in English
Remove the CRON every minute, it can give RATE limit. Play it every hour.
Another option, as @antgrutta say, is the Terraform provider, but it depends on the technical background you have, the number of repositories and complexity of each one that you also have in the organization.
Unlike Terraform, here you already have the logic of hierarchy and extensibility for repository configuration, labels, term permissions, etc and a gitops approach that prevents manual changes by automatically applying the correct state, (although only for some events). But it is true that with Terraform provider you can manage many more resources than you can manage with safe-settings, such as, team members (which I think is a functionality that should have safe-settings at some point, in another file from org.yaml or similar) and organization members, among others.
In the case of Terraform, to be able to define the reality of your github organization in Terraform, I recommend that you look at Terraformer for GitHub. Although it doesn't have many resources, at least if you have many repositories, it creates the base for you.
Hi @antgrutta / @svg153
Thanks for the information, I am currently using the GitHub terraform provider to manage org settings. I will extend my currently implementation to include repositories. My goal was to investigate all available options, since safe-settings long-term supportability is iffy I will move my attention back to terraform.
Perfect @ht1792. Close the issue if you want.
I am trying to setup safe setting app and I’m not quite sure as to why it is failing or what it is trying to do. Is the application trying to access the GitHub API or is it trying to access smee.io?