-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: add option to override image entrypoint and command #131
base: main
Are you sure you want to change the base?
Conversation
This is awesome @d-costa, could you please add your suggestion to the readme and perhaps add an example in the secure env vars directory? |
Hey @bschaatsbergen, I added an example, let me know what you think! PS: I had to throw in a |
b8a4081
to
39bd03e
Compare
Awesome, I'm reviewing this tonight :) |
We do the same actually in the cloud init! It might be that it's done double now and that the startup script is excuted before the cloudinit |
The changes seem good to me, though I think we should have the example under the "secure-env-vars" directory, as this is primarily used to secure the environment variables and not have them leak in the Google Cloud UI. Is this something you could do please? 🙏🏼 @d-costa Then I would like to merge this PR. |
Note for self: needs to be released under a major as this is a breaking change. |
3ef3715
to
55fe565
Compare
You're doing some really awesome work @d-costa - excuse me for my slow review cycle. |
Please rebase @d-costa |
4f54269
to
0de21f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got 1 question around possibly improving the script. I'm very happy with this PR 👍🏼
4afc18d
to
bd6a228
Compare
Can you rebase this branch one more time @d-costa ? |
ff57300
to
d9f68c5
Compare
hey @bschaatsbergen , how are you? We are currently using a local version of this but we would love to point all the way to your upstream :) |
Hi @dgteixeira, thanks for getting in touch. Now that the repository has been transferred to the runatlantis organization, and you, @d-costa, @DanielRieske, and @cblkwell are maintainers of this repository, I encourage you to collaborate on addressing these PRs together :) |
This also looks fine -- since this and the other PR are fairly sizable changes, it is probably best to get them both merged in and then cut the new major version. We should resolve conflicts before we move forward though. |
93966f4
to
2c0cc11
Compare
This is a breaking change: module.atlantis.google_compute_instance_template.default must be replaced Due to the changes in the + "args": null
+ "command": null |
33a49a5
to
c4d3098
Compare
Signed-off-by: David Costa <[email protected]>
Signed-off-by: David Costa <[email protected]>
what
why
ATLANTIS_GH_WEBHOOK_SECRET
)Our use case
In the instance startup script, we create a custom entrypoint script, and place it in atlantis' home folder through the existing mountpoint. This custom entrypoint performs an initial setup (as described above), and calls the original atlantis entrypoint.
references
notes
May be relevant to add this info to the readme?