Skip to content

Commit

Permalink
Re-enabling titus clone behavior (take 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens authored and tomaslin committed Mar 26, 2018
1 parent 600fa8c commit bff2873
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,6 @@ class TitusDeployHandler implements DeployHandler<TitusDeployDescription> {
String region = description.region
String subnet = description.subnet

task.updateStatus BASE_PHASE, "Preparing deployment to ${account}:${region}${subnet ? ':' + subnet : ''}..."
DockerImage dockerImage = new DockerImage(description.imageId)

TitusServerGroupNameResolver serverGroupNameResolver = new TitusServerGroupNameResolver(titusClient, description.region)
String nextServerGroupName = serverGroupNameResolver.resolveNextServerGroupName(description.application, description.stack, description.freeFormDetails, false)
task.updateStatus BASE_PHASE, "Resolved server group name to ${nextServerGroupName}"

if (!description.env) description.env = [:]
if (!description.labels) description.labels = [:]

if (description.interestingHealthProviderNames && !description.interestingHealthProviderNames.empty) {
description.labels.put("interestingHealthProviderNames", description.interestingHealthProviderNames.join(",") )
}

if (description.source.asgName) {
Source source = description.source

Expand Down

0 comments on commit bff2873

Please sign in to comment.