Skip to content

Ability to use env variables in settings.yaml values #399

@marcodelapierre

Description

@marcodelapierre

It would be great if this feature were available, in particular for registry, module_base and container_base.

Current behaviour is as follows.

Snippet from settings.yaml:

module_base: $MYGROUP/devel/install-spack-shpc-test-variables/zio-shpc/modules

container_base: $MYGROUP/devel/install-spack-shpc-test-variables/zio-shpc/containers

Installation succeeds, but a directory called $MYGROUP is created:

$ ls

bin           Dockerfile      docs           env.sh                lib      MANIFEST.in  $MYGROUP  README.md  setup.py  singularity_hpc.egg-info
CHANGELOG.md  Dockerfile.tcl  entrypoint.sh  install-shpc-zeus.sh  LICENSE  modules      paper     registry   shpc

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions