-
Notifications
You must be signed in to change notification settings - Fork 95
configure default template variables globally #4108
Copy link
Copy link
Open
Description
Motivation
Rose had an unpublicised feature for site portability where the name of the "site" could be configured in the Rose config. It would then be provided as a Jinja2 variable called ROSE_SITE.
Note: The
ROSE_SITEvariable provided byrose stemis set in an entirely different way and will remain in Rose2.
This is a pretty useful feature, however, it was never actually adopted by any sites making it totally useless.
This feature doesn't really fit into the role of Rose very well so would suggest moving it into Cylc.
Two options:
- Create a special global config called
cylc siteor something like that.- Provide this as a Jinja2 variable called
CYLC_SITEor something like that.
- Provide this as a Jinja2 variable called
- Create a global config section called
template variablesor something like that.- Provide all items defined here as Jinja2 variables.
- This allows new portability features to develop, however, with some risk to suite portability.
- Create a global config
[meta]section- Provide these items as Jinja2 variables called
SITE_*or something like that.
- Provide these items as Jinja2 variables called
We could encourage sites to adopt the site convention with the Cylc8 transition.
See the related cylc/cylc-rose#13
Reactions are currently unavailable