Definition
By default, every Task that runs generates a series of environment variables. These variables are invisible in the sense that you'll never see them in the platform but they can always be accessed by your scripts.
These environment variables can help your scripts be context-aware as they run, giving knowledge into the structure and placement of the Task in relation to other Tasks
NOTE: There are actually a lot more environment variables than listed below. To see all of them, you will need to run commands inside the workflow’s tasks to print out all the environment variables.
original marketplace Variables = Marketplace Variables
|
Environment Variable Type |
Variable Name |
Example (these are not real) |
Definition |
|---|---|---|---|
|
Alli Environment |
|
prod |
Staging or Production (or otherwise) |
|
Alli Client Cred S3 information: |
|
something-123ab321-ct94-09p3-c74d-520e7e2c7py3 |
Used to read and write files to a client’s s3 bucket: how to |
|
|
source=app/app=something/- |
||
|
|
source=app/app=something/temp=true/exec=913c104v-a385-30ge-9fa7-3p12owg2ef3a/ |
||
|
|
PASHQT8HPAUNWW3LRPRA |
||
|
|
AxUAQhO9Kj0/SNE7YNUnpElbvv0EP3U8N6N1eP817 |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Alli Client Cred Redshift information . How To |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Alli Client Information |
|
009bd817-da02-49c0-b31a-860e4a8c5eh3 |
|
|
|
playground |
|
|
|
|
America/Chicago |
|
|
|
Dividing Logs. How To |
|
- |
|
|
Alli OAUTH variables. How To |
|
|
|
|
|
|
|
|
|
Google Cloud information. How To. For Google Sheets |
|
|
|
|
|
|
|
|
|
|
US |
|
|
|
Task Run Execution Details |
|
|
The day of the Task start time in format 01-31. |
|
|
|
The hour of the Task start time in format 0-23. |
|
|
|
|
The time at which the Task started running. Formatted using the RFC3339 standard. |
|
|
|
|
The minute of the Task start time in format 0-59. |
|
|
|
|
The year of the Task start time. |
|
|
|
|
The second of the Task start time in format 0-59. |
|
|
|
|
The millisecond of the Task start time in format 0-999. |
|
|
|
|
The number of seconds since the Unix epoch. |
|
|
|
|
The ID of the specific task run instance within the workflow, |
|
|
|
|
the name of the task running |
|
|
|
/home/marketplace |
|
|
|
Workflow Run Execution Details |
|
|
The year of the Task start time. |
|
|
|
The time at which the Workflow started running. Formatted using the RFC3339 standard. |
|
|
|
|
The hour of the Workflow start time in format 0-23. |
|
|
|
|
The second of the Workflow start time in format 0-59. |
|
|
|
|
The day of the Workflow start time in format 01-31. |
|
|
|
|
The millisecond of the Workf.ow start time in format 0-999. |
|
|
|
|
The month of the Vessel start time in format 01-12. |
|
|
|
|
The time at which the Workflow started running. Formatted using the RFC3339 standard. |
|
|
|
|
The number of seconds since the Unix epoch. |
|
|
|
|
The ID of the specific run instance of the workflow, |
|
|
Workflow Details |
|
|
The ID of the entire workflow. |
|
Environment Variable Type |
Variable Name |
Example (these are not real) |
Definition |
|---|---|---|---|
|
Azure Extension Directory |
|
/usr/local/share/azure/xyz |
|
|
Template ID |
|
template is owned, template id: 8f791ad0-70e8-4cd0-8176-b6f73b551ad7 |
template ID the task is built off of |
|
Upstream Task Count |
|
|
# of upstream tasks (tasks before the current task) |
|
Upstream Task Run IDs |
|
|
comma separated list of run (execution) id(s) of upstream tasks |
|
Upstream Task IDs |
|
|
comma separated list of run id(s) of upstream tasks |
|
Downstream Task Count |
|
|
# of downstream tasks |
|
Downstream Task Run IDs |
|
|
comma separated list of (execution) id(s) of downstream tasks |
|
Downstream Task IDs |
|
|
comma separated list of id(s) of downstream tasks |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ignore - all workflows have the same “project” - an old holdover from Shipyard |
|
|
|
|
Ignore - all workflows have the same “project” - an old holdover from Shipyard |
|
|
|
|
Ignore - all workflows have the same “project” - an old holdover from Shipyard |