DIRACGrid / DIRAC

DIRAC Grid
http://diracgrid.org
GNU General Public License v3.0
113 stars 176 forks source link

[8.0] feat: SingularityCE: looking for the platform-aware image in CVMFS lo… #7589

Open fstagni opened 6 months ago

fstagni commented 6 months ago

…cation

15th Jul Converted to draft, waiting if https://mattermost.web.cern.ch/cernvm/pl/djgirmur8tn33rkpu3px8dm6ao is implemented (multi-arch images)

BEGINRELEASENOTES

*Resources CHANGE: SingularityCE can find at runtime which image to use, based on the local platform

ENDRELEASENOTES

chrisburr commented 5 months ago

To summarise some of the thingsI just said in person:

I really think the layout should just be:

${MultiPlatformContainerRoot}/${architecture}${variant}

Then installations can do whatever they want with MultiPlatformContainerRoot.

For the ${architecture}${variant} part there is a little bit more room for debabte, ideally we should get unpacked.cern.ch to commit to exactly what they're going to do and do the same thing. We can also probably be lazy about variant for now (but we definitely need to have a plan for how it can be seemlessly supported).

It's then nice and simple, there are just two options for SingularityCE:

Then the question is what the default image for vanilla DIRAC should be...

fstagni commented 5 months ago

I pushed (just before your comment) something close to what you are suggesting.