|
|
@ -284,10 +284,18 @@ if (!config.hasOwnProperty('deploymentInfo')) config.deploymentInfo = {}; |
|
|
|
config.deploymentInfo.environment = '{{ .Env.DEPLOYMENTINFO_ENVIRONMENT }}'; |
|
|
|
config.deploymentInfo.environment = '{{ .Env.DEPLOYMENTINFO_ENVIRONMENT }}'; |
|
|
|
{{ end -}} |
|
|
|
{{ end -}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ if .Env.DEPLOYMENTINFO_SHARD -}} |
|
|
|
|
|
|
|
config.deploymentInfo.shard = '{{ .Env.DEPLOYMENTINFO_SHARD }}'; |
|
|
|
|
|
|
|
{{ end -}} |
|
|
|
|
|
|
|
|
|
|
|
{{ if .Env.DEPLOYMENTINFO_ENVIRONMENT_TYPE -}} |
|
|
|
{{ if .Env.DEPLOYMENTINFO_ENVIRONMENT_TYPE -}} |
|
|
|
config.deploymentInfo.envType = '{{ .Env.DEPLOYMENTINFO_ENVIRONMENT_TYPE }}'; |
|
|
|
config.deploymentInfo.envType = '{{ .Env.DEPLOYMENTINFO_ENVIRONMENT_TYPE }}'; |
|
|
|
{{ end -}} |
|
|
|
{{ end -}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ if .Env.DEPLOYMENTINFO_REGION -}} |
|
|
|
|
|
|
|
config.deploymentInfo.region = '{{ .Env.DEPLOYMENTINFO_REGION }}'; |
|
|
|
|
|
|
|
{{ end -}} |
|
|
|
|
|
|
|
|
|
|
|
{{ if $DEPLOYMENTINFO_USERREGION -}} |
|
|
|
{{ if $DEPLOYMENTINFO_USERREGION -}} |
|
|
|
config.deploymentInfo.userRegion = '{{ $DEPLOYMENTINFO_USERREGION }}'; |
|
|
|
config.deploymentInfo.userRegion = '{{ $DEPLOYMENTINFO_USERREGION }}'; |
|
|
|
{{ end -}} |
|
|
|
{{ end -}} |
|
|
|