-
Notifications
You must be signed in to change notification settings - Fork 23
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
[master] Setting up preinstalled DIRAC in a pilot #187
Conversation
This is a bit different/simpler solution to #166 , the question here if this would be enough. |
Indeed. But this one solves the immediate issue. The solution based on venv needs some experimenting, at least from me. Also I am worried to have too many nested environments coexistence. |
This effectively bypasses the pilot version specified in the CS which doesn't feel great. It also doesn't work if you have multiple architectures. If we could instead have a layout like: /cvmfs/dirac.egi.eu/dirac/{version}/{uname -m}-{uname -s}/diracosrc You can then have |
In CVMFS we have now /cvmfs/dirac.egi.eu/dirac/{version}/diracos/diracosrc. So a particular DIRAC version can be specified. But not different platforms. I will see how the specified version can be taken from a standard option |
I'd propose having
The value of |
b2438da
to
e31d71f
Compare
The PR is updated along the lines of the discussion above. I keep two settings, --preinstalledEnv and --preinstalledEnvPrefix. If --preinstalledEnv is specified, it is used as the environment setting script, --preinstalledEnvPrefix is ignored in that case. If --preinstalledEnvPrefix is specified (and not --preinstalledEnv), then environment is resolved with the release area structure like in the CVMFS of LHCb. I have updated the /cvmfs/dirac.egi.eu to this structure already |
One more note: the case of user-defined environments is not considered in this implementation. |
65390fe
to
b774ab7
Compare
Closing as superseded by #205 |
This PR allows to specify the setup script location which will be used to define a preinstalled DIRAC environment instead of installing DIRACOS2/DIRAC from scratch on a worker node. Example script locations:
This is addressing #166 but makes use of predefined DIRAC clients in CVMFS.