-
Notifications
You must be signed in to change notification settings - Fork 566
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
Github PR workflow support similar to Atlantis #386
Comments
If you'll permit me to shamelessly plug my own wares, I created a tool for exactly this purpose, which you may find here - https://github.com/fountainheadtechnologies/branch-officer I'm using it successfully for internal projects at the moment, and would be delighted to get feedback from 'real' users. |
@warrenseymour Is https://github.com/fountainheadtechnologies/branch-officer a private repo? I get a 404. |
@manics Hey, thanks for pointing that out, it was indeed still set to 'private', which I've now rectified. I also forgot to mention that it's been published to NPM - https://www.npmjs.com/package/@fountainhead/branch-officer Apologies to the Go-heads for writing it in JavaScript, but that's what I'm most productive in at this time. |
I was looking for something like atlantis for integration with helmfile, with no luck. @warrenseymour Thanks for sharing your awesome work! So, perhaps we could wrap branch-officer with a kind of github webhook handler written in e.g. AWS lambda or alike to DIY build atlantis? |
@mumoshu Indeed -- personally, I'm using branch-officer with CircleCI to build PRs, but there's no reason why you couldn't achieve a similar effect by invoking it via a Lambda-based webhook. The only thing to be mindful of is that branch-officer is currently hard-coded to expect a |
For the record, you can use |
@osterman Hey! I was curious how atlantis could work in harmony with helmfile at first. It turns out that atlantis allows the default behavior to be completely overriden. So it would be a matter of just writing a
|
@mumoshu Exactly! ...provided it has a kube context. |
@osterman Awesome. Really excited to see it Just curious, but how do you deal with a more complex branching strategy with helmfile + atlantis? For example. when PRs to the I firstly came up with a single
But this doesn't prevent atlantis from running I also get to know about cloudposse-archives/atlantis-experiments#13 but even with it there seems no way to prevent the |
I don't believe atlantis has any support for branches. Ya, so as is Atlantis could run vs helmfile you just lose things like autodiscovery and need to call out your directory structure. |
I was just reading runatlantis/atlantis#310 along with the @osterman's comment there. I think we would need:
Please add your ideas to the list so that we can better shape what we need! |
Regarding the autodiscovery feat, I assume you're talking about helmfile's convention to use the I do believe it is a great nature of helmfile, and hopefully helmfile could include an out-of-box support for atlantis-like features. Not sure if it is feasible to bring up our own, though. @osterman Would there be any chance to maintain the fork of atlantis together, so that we can generalize atlantis to also support helmfile's use-cases, and add missing features? |
This would be a "nice to have", but not a blocker for us.
I think this would be cool. For now, we've been content with our fork's group based access controls on e.g. https://github.com/cloudposse/testing.cloudposse.co
You're correct. Basically, atlantis in its current state (or our fork) doesn't do anything to prevent bad behavior. This would be a nice addition. I think maybe there should be a The other thing I'd like to have is automerge on successful
100% - I'll be happy to add you as a contributor to the repo. Also, would like you to welcome you and @sstarcher to our slack community. Also, I do want to point out that Luke (maintainer of Atlantis) is working on devising a more general spec factoring in our feedback. Our hope is to get this stuff mainstreamed eventually (in one shape or form), but we're diverging pretty quickly. We forked so we could satisfy our immediate needs to get the Atlantis experience. We're totally open to more "experimental" features in this fork. |
A workflow similar to Atlantis for terraform would be a killer feature for helmfile - https://github.com/runatlantis/atlantis/
The text was updated successfully, but these errors were encountered: