Closed j-reher closed 2 years ago
Workarounds:
docker run --privileged -v "$(pwd)":/root/workarea jreher/boss:latest bash -c "source /root/setup.sh && cp -r /cvmfs/bes3.ihep.ac.cn/bes3sw/Boss/[version]/TestRelease /root/workarea && chown -R $(id -u):$(id -g) /root/workarea"
podman run --privileged -v "$(pwd)":/root/workarea jreher/boss:latest bash -c "source /root/setup.sh && cp -r /cvmfs/bes3.ihep.ac.cn/bes3sw/Boss/[version]/TestRelease /root/workarea"
We may need a TestRelease in the Workarea, which can not be populated on the fly due to the Workarea being a bind mount. I see two options:
getTestRelease.sh
to copy the correct TestRelease into the WA. Benefit: Only done if the user wants it, but he also needs to do it manually if he does.setup.sh
in container with a script that checks if the correct TestRelease exists in the workarea, and copies it in there if not. Cleaner, but forces every user to have the TestRelease in their WA (not exactly a huge inconvenience, admittedly)