add installKubernetesCompute
Change-Id: Ideb38775c14cbfcc16d061367c41dec42b6ce903
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index f272743..38694fc 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -217,14 +217,19 @@
}
stage('Scale Kubernetes computes') {
- if (STACK_TYPE == 'AWS') {
+ if (STACK_TYPE == 'aws') {
// get stack info
def scaling_group = aws.getOutputs(venv_path, env_vars, STACK_NAME, 'ComputesScalingGroup')
//update autoscaling group
aws.updateAutoscalingGroup(venv_path, evn_vars, scaling_group, ["--desired-capacity " + STACK_COMPUTE_COUNT])
+
+ // wait for computes to boot up
+ sleep(120)
}
+ orchestrate.installKubernetesCompute(saltMaster)
+
}
if (common.checkContains('STACK_INSTALL', 'contrail')) {