You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2018. It is now read-only.
Jonathan Dowland edited this page Jul 19, 2016
·
2 revisions
There are two main types of environment variables in CCT
YAML file Environment
These variables are defined in YAML files containing configuration instructions.
You can read more about them in Intruction File format
Process environment (like $HOME, $PATH)
These variables are read from the process running cct. You can reference them using a $ sign same as yaml variables and these variables have top priority.
So $FOO variable is resolved in a following way:
if there is $FOO variable defined for the cct process it will be used
if there is no process variable $FOO the YAML file is check for a module variable $FOO and its used
if there is no $FOO process variable nor module $FOO variable a change yaml file $FOO variable is used
if neither of previous step is true $FOO is passed to module as a text $FOO