csm-orc fetch-run-data¶
Description
Will download runner parameters and datasets using the Cosmo Tech API. Will require a functional environment allowing access to a Cosmo Tech API
Command
csm-orc --log-level $LOG_LEVEL fetch-run-data --organization-id $CSM_ORGANIZATION_ID --workspace-id $CSM_WORKSPACE_ID --runner-id $CSM_RUNNER_ID --parameters-absolute-path $CSM_PARAMETERS_ABSOLUTE_PATH
Defined Environment
Variable Name | Description |
---|---|
AZURE_CLIENT_ID | An Azure Client ID having access to the Cosmo Tech API |
AZURE_CLIENT_SECRET | The secret for the Azure Client |
AZURE_TENANT_ID | An Azure Tenant ID |
CSM_API_URL | The url to a Cosmo Tech API |
CSM_API_SCOPE | The identification scope of a Cosmo Tech API |
CSM_ORGANIZATION_ID | The id of an organization in the Cosmo Tech API |
CSM_WORKSPACE_ID | The id of a workspace in the Cosmo Tech API |
CSM_RUNNER_ID | The id of a runner in the cosmotech api |
CSM_PARAMETERS_ABSOLUTE_PATH | A local folder to store the parameters content |
LOG_LEVEL | Either CRITICAL, ERROR, WARNING, INFO or DEBUG |
PYTHONPATH | A list of folder to add to the python path |
Will be passed all system Environment Variables
as well as the defined Environment
csm-orc fetch-run-data json file
{
"id":"csm-orc fetch-run-data",
"command":"csm-orc",
"arguments":[
"--log-level",
"$LOG_LEVEL",
"fetch-run-data",
"--organization-id",
"$CSM_ORGANIZATION_ID",
"--workspace-id",
"$CSM_WORKSPACE_ID",
"--runner-id",
"$CSM_RUNNER_ID",
"--parameters-absolute-path",
"$CSM_PARAMETERS_ABSOLUTE_PATH"
],
"environment":{
"AZURE_CLIENT_ID":{
"description":"An Azure Client ID having access to the Cosmo Tech API",
"optional":true
},
"AZURE_CLIENT_SECRET":{
"description":"The secret for the Azure Client",
"optional":true
},
"AZURE_TENANT_ID":{
"description":"An Azure Tenant ID",
"optional":true
},
"CSM_API_URL":{
"description":"The url to a Cosmo Tech API"
},
"CSM_API_SCOPE":{
"description":"The identification scope of a Cosmo Tech API"
},
"CSM_ORGANIZATION_ID":{
"description":"The id of an organization in the Cosmo Tech API"
},
"CSM_WORKSPACE_ID":{
"description":"The id of a workspace in the Cosmo Tech API"
},
"CSM_RUNNER_ID":{
"description":"The id of a runner in the cosmotech api"
},
"CSM_PARAMETERS_ABSOLUTE_PATH":{
"description":"A local folder to store the parameters content"
},
"LOG_LEVEL":{
"defaultValue":"INFO",
"description":"Either CRITICAL, ERROR, WARNING, INFO or DEBUG"
},
"PYTHONPATH":{
"description":"A list of folder to add to the python path",
"optional":true
}
},
"description":"Will download runner parameters and datasets using the Cosmo Tech API. Will require a functional environment allowing access to a Cosmo Tech API",
"useSystemEnvironment":true
}