-
Notifications
You must be signed in to change notification settings - Fork 886
support updatable templates #7098
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
Comments
The main issue I think we'll run into is that apps have difficulty doing read operations on stuff they haven't been approved to access, even if the repos are public. I've hit this problem in other situations before when trying to contribute to public repos from inside Coder with SSH key auth. Another issue would be that any deployments that don't setup a GitHub app wouldn't be able to access this convenience feature. It'd be great if we could move our starter templates out of coder though and make coder pull them from GitHub though. |
An alternative would be that Coder could host some sort of caching proxy for downloading templates from |
Additional feature request:
|
Also relevant: Coder equivalent of:
|
Something similar to this is already on Coder's roadmap. See: #5559 Also, check discussion on #3981 and specifically the comment #3981 (comment) |
Feature
Support importing templates from an upstream git repo that prompts for an update or auto upadtes when the upstream source of the template updates.
Motivation
I had this idea for a long time but was still determining how it would be implemented. Recently, I came across an example where Railway is doing something very similar.
https://blog.railway.app/p/updatable-starters
Possible Implementation
This can be implemented by authenticating a Coder GitHub OAuth app to monitor changes in the source code, trigger a new build, or prompt the user that an update is available.
Thoughts are welcome: @ammario @bpmct @deansheather @kylecarbs
The text was updated successfully, but these errors were encountered: