LLNL / uberenv

Automates using spack to build and deploy software
Other
25 stars 9 forks source link

Mirrors in uberenv cannot be defined with an url (http or oci) #132

Open adrienbernede opened 6 months ago

adrienbernede commented 6 months ago

The mirror concept in uberenv is currently bound to mirrors for packages source tarballs.

If an url is passed:

Desired behavior: For now, I don’t need anything specific, but I found it worth noting (documenting ?). What I miss, essentially, is a way to stop uberenv after the environment was created, but before anything is installed, so that I could configure a binary cache into it on command line. I may be able to just define my binary cache in the spack.yaml directly.

white238 commented 6 months ago

We do have an option --setup-only. Does that help?

https://uberenv.readthedocs.io/en/latest/#build-configuration

adrienbernede commented 6 months ago

--setup-only stops before the environment is create. I need to stop after the environment is created, so that I can customize it before installing.

white238 commented 6 months ago

hmm.. thought it did but honestly was rushed and didn't check. Guess we need a new option...