EESSI / software-layer

Software layer of the EESSI project
https://eessi.github.io/docs/software_layer
GNU General Public License v2.0
20 stars 43 forks source link

[dev.eessi.io] enable `eessi_container.sh` to mount several CVMFS repos with individual access mode #616

Open trz42 opened 2 weeks ago

trz42 commented 2 weeks ago

This is a prerequisite for dev.eessi.io.

Currently, eessi_container.sh mounts two CVMFS repositories:

If we want to support building for other repositories particularly on top of SOME, the script needs to be changed

For each CVMFS repository to be mounted, the script should manage sets of parameters and temporary directories. It should also store these settings somewhere such that we can easily resume with the same configuration.

The format for the value of --repository could be changed by supporting a suffix such as ,access=ACCESS_MODE to specify the access mode for a repository. May want to add another suffix to provide repository-specific host_injections (,host_injections=HOST_PATH:CONTAINER_PATH).

The script sources other scripts of EESSI/software-layer, e.g., init/eessi_defaults. The need and way to source these scripts may need to be revisited (are they needed, do they need to be changed too, etc).