-
Notifications
You must be signed in to change notification settings - Fork 43
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
[feature request] Ability to import external provisioners in init
#141
Comments
init
@mathieu-benoit why not use curl or cp to pull in the provisioners? In terms of the UNIX philosophy I'd prefer that score implementations didn't get involved in working out where to get custom provisioners from or how to authenticate against remote repositories. I'd prefer folks used one of the following approaches:
It gets complicated if we offload that to score init, because then it needs to start understanding how to authenticate and secure a remote file download, which frequently gets complicated inside developer networks. |
Yeah, that's for sure that Maybe just examples or explicit documentation could be added in score.dev to illustrate this is enough. |
I would rather see a solution inside score-compose. If you're an enterprise platform team trying to provide a seamless platform experience to developers, then the ability to roll out a standard local resource set, which can also be kept current from a central point, is very valuable. |
Thanks @mathieu-benoit / @jayonthenet Another effective option would be to use git submodules to check out a number of provisioner files from a repo B when you checkout repo A. But this also aligns with a similar conversation we had about multi-app Score projects and how to make sure folks are using the right options. Because adding a cli option like Perhaps a universal manifest file is needed?
|
Now supported: in |
It would be very helpful to be able to import existing shared templates coming from public/private Git repos and public/private OCI registries.
Today, I need to manually copy any custom provisioners from Workload/Repo to Workload/Repo, not very convenient. And could lead to outdated version, inconsistency between workloads/projects, etc.
An idea could be to have a new
--template
or--import
parameter in thescore-compose init
command?This will add more provisioners in addition to the default ones.
Another idea, could also be to have a public repo in the
score-spec
Org where the community could share public shared provisioners, examples:service
redis-dapr-state-store
The text was updated successfully, but these errors were encountered: