The operators on my team wish to have the deployment cluster displayed in the pipeline deployments view. Since the deployment cluster is a workflow variable, I unsuccessfully tried to use that variable in the stageName. This feature will help me eliminate multiple pipeline duplicates.
harnessApiVersion: '1.0'
type: PIPELINE
pipelineStages:
# ...
- type: ENV_STATE
name: Deploy Chart
parallel: false
skipCondition:
type: DO_NOT_SKIP
stageName: Deploy ${workflow.variables.serviceName} to ${workflow.variables.clusterName}
workflowName: Deploy Chart
workflowVariables:
- entityType: INFRASTRUCTURE_DEFINITION
name: cluster
value: ${cluster}
- entityType: ENVIRONMENT
name: environment
value: ${environment}
- entityType: SERVICE
name: service
value: ${service}