Skip to content

Commit

Permalink
feat: add a generic script to run DIRAC commands inside a apptainer c…
Browse files Browse the repository at this point in the history
…ontainer
  • Loading branch information
fstagni committed Jun 5, 2024
1 parent 71f0937 commit 79acb75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ console_scripts =
dirac-configuration-shell = DIRAC.ConfigurationSystem.scripts.dirac_configuration_shell:main [admin]
# Core
dirac-agent = DIRAC.Core.scripts.dirac_agent:main [server,pilot]
dirac-apptainer-exec = DIRAC.Core.scripts.dirac_apptainer_exec:main [server,pilot]
dirac-configure = DIRAC.Core.scripts.dirac_configure:main
dirac-executor = DIRAC.Core.scripts.dirac_executor:main [server]
dirac-info = DIRAC.Core.scripts.dirac_info:main
Expand Down
4 changes: 4 additions & 0 deletions src/DIRAC/Core/scripts/dirac_apptainer_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
echo "Finishing inner container wrapper scripts at `date`."
"""

<<<<<<< HEAD
CONTAINER_DEFROOT = "/cvmfs/dirac.egi.eu/container/apptainer/alma9/x86_64"
=======
CONTAINER_DEFROOT = "/cvmfs/cernvm-prod.cern.ch/cvm4"
>>>>>>> 7743c8ad7 (feat: add a generic script to run DIRAC commands inside a apptainer container)


def getEnv():
Expand Down

0 comments on commit 79acb75

Please sign in to comment.