DeiC-HPC / cotainr

cotainr - a user space Apptainer/Singularity container builder.
European Union Public License 1.2
21 stars 5 forks source link

Source file creation #77

Closed joasode closed 1 week ago

joasode commented 1 week ago

Here I modify add_to_env(), such that it does not occasionally create the file when convenient, but this is now the job of create_sourced_env(). I modify the tests to include this.

joasode commented 1 week ago

This had the unfortunate side-effects that several tests which use the patch_disable_singularity_sandbox_subprocess_runner and other hard-coded behavior fails as a result of this PR. A modified pull request #79 implement the critical bug fix but includes a env_path.touch() to appease the tests.