Skip to content

Conversation

@bcumming
Copy link
Member

Configure time string substitution of mount and view information for environment variables defined in the env:views:view:env_vars field.

Substition of a key is performed for templates of the form $@key@, e.g.:

cuda-env:
  views:
      env_vars:
          set:
          - ACTIVATE: "$@mount@/activate.sh"

The following keys are supported, with examples:

mount.            /user-environment
view_name     cuda-env
view_path       /user-environment/env/cuda-env

@bcumming bcumming requested a review from albestro January 19, 2026 18:45
@bcumming bcumming changed the title configure time view variable templating configure-time view variable templating Jan 20, 2026
@bcumming bcumming merged commit c7db13c into eth-cscs:main Jan 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant