Release Environment Variables
Terraform
Output Variables will be available as TF_<output key name> (example: TF_public_ip
for below)
output "public_ip" {
value = aws_instance.demo.public_ip
}
Â
AWS Cloud Formation
Output Variables will be available as CF_<output key name> (example: CF_BackupLoadBalancerDNSName
for below)
"Outputs" : {
"BackupLoadBalancerDNSName" : {
"Description": "The DNSName of the backup load balancer",
"Value" : { "Fn::GetAtt" : [ "BackupLoadBalancer", "DNSName" ]},
"Condition" : "CreateProdResources"
},
}
Â
Roost EaaS
The following release environment variables are available for release environment.
ROOST_APP_NAME
Name of the Application/Build.
ROOST_ENV_ID
This will set to the environment ID for the application.
ROOST_WORK_DIR
The absolute path to the directory assigned to the application. Â
KUBECONFIG
The absolute path to the KubeConfigFile in the application directory.
DOCKER_HOST
Roost Provided Docker-host, for example : docker -H $DOCKER_HOST build.
ROOST_REGISTRY
Roost provided cluster registry for docker images.
ROOST_JUMPHOST_IP
This will be set to the Jumphost IP in case of managed/infra cluster type.
ROOST_CLUSTER_IP
This will be set to the cluster IP. Â
ROOST_CHANGED_REPO
This will be set to the repository where PR is created.
ROOST_EVENT_TYPE
This will be set to the type of event triggered on the PR created. Â
ROOST_PR_NO
This will be set to the PR number.
ROOST_RELEASE_TAG_NAME
This will be set to the ReleaseTagName for the PR.
ROOST_NAMESPACE
This will be set to the changedRepo-PREventType-PRNo.
GIT_COMMIT_ID
This will be the HEAD commit id of your PR branch.
ROOST_FEATURE_TAG_NAME
This will be set to the tag generated by applying user Regex on feature branch name.
Â