Pick up orchestrated applications in cloud-update.groovy
With this patch cloud-update.groovy pipeline will go through
applications that supports orchestrated deployments and will
call theirs states.
Change-Id: Ibd02b3d3847dc3b3970697be002fdb5a3edcdf71
Related-Prod: PROD-24890
diff --git a/cloud-update.groovy b/cloud-update.groovy
index ab72f76..8dea65b 100644
--- a/cloud-update.groovy
+++ b/cloud-update.groovy
@@ -42,6 +42,7 @@
*
**/
def common = new com.mirantis.mk.Common()
+def orchestrate = new com.mirantis.mk.Orchestrate()
def salt = new com.mirantis.mk.Salt()
def python = new com.mirantis.mk.Python()
def virsh = new com.mirantis.mk.Virsh()
@@ -864,6 +865,10 @@
/*
* Update section
*/
+
+ // Go through applications that using orchestrated deployment.
+ orchestrate.OrchestrateApplications(pepperEnv, "I@salt:master", "orchestration.deploy.applications")
+
if (updates.contains("cfg")) {
def target = 'I@salt:master'
def type = 'cfg'