Hi, @vsoch. Love the work you do on Singularity Hub. Is it possible to set environment variables for individual builds and/or collections?
hey! I'm looking at your issue. I just don't see a secure way to do that even if there's some kind of "secret manager" that still means that the singularity Hub server has to store a secret to unencrypt that. I also don't want to be in the business of being responsible for storing user tokens and similar. Do you have any suggestions for how to implement this? My mom thought is that if it were added as a plug-in to Singularity registry then we could eventually switch over Singularity Hub TB Singularity registry and then allow for this functionality.
Lol that is a typo sorry :p
I'm dictating from my phone!
"my one thought"
So I'd like to be able to provide this for you, but I think thought would be needed about how to actually do it. because I'm not a company or a business, I'm a researcher at Stanford, and I can't take on that kind of accountability. if there is some way to make this possible with third-party resources than that might be the best way to go about it. Maybe ask around, or ask Nvidia?
@vsoch shub itself isn't open source, right?
Singularity registry doesn’t have the builder implemented but it is! That’s the thing I’m excited about. If the community can put effort into sregistry then it can replace singularity hub
A lot of the front end is very similar
We would want singularly registry to have a bunch of different options for builders that are plug-ins so A user can choose whether they are deploying to AWS or Google cloud or to a local server
And then shub proper would just be a deployment of that
With Google Cloud builders
Right now my strategy is if it’s not broken don’t fix it 😉
Because it’s literally just me that has the entire burden of maintenance and development
So to directly answer your question -singularity hub itself no it’s not open source. however singularly registry is a almost better version of it that could put in the features that you’re looking for. I typically develop in response to the community and I haven’t had any further push for further development so here we are :-)