WS-2533 ALMA restore remote-cv fixes
Note: This is built on !1720 (merged) , I will rebase this branch once that goes in.
There were a few code+template changes to make ALMA restores run in CV:
-
remote-cv
is being set by the wrester and thenaasc-*.properties
file is now being copied into the workflow after it's set - The
restore_cms_*.condor
templates now transfer files to/from condor when running in CV - The
restore_cms_*.sh
templates now set the correct CAPO, HOME, LD_LIBRARY_PATH, PATH, and SBIN paths when files are being transferred in - The
CapoInjector
now runs in between the wrester and workflow template rendering in case the wrester setsremote-cv
(or before template rendering if no wrester is needed)
It is also now possible to run ALMA restores locally through vela. There are some changes to the htcondor-execute
container in this MR to make this possible. I was able to test this locally up until it gets into vela but more testing is needed:
- Need to verify permissions are happy operating on the NAASC
- Need to verify it runs through CASA proper, not vela