Add check for minions reachability before the Installation step in deployment job
Related: PROD-28589
Change-Id: Ib8425c93f287ddcf75fa1093a921fb4e8e5b0628
(cherry picked from commit 65cfeda1e321512e16c69054f501372582f4b08e)
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 6b6ec4e..08ebbd1 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -334,6 +334,9 @@
// Install
//
+ // Check if all minions are reachable and ready
+ salt.checkTargetMinionsReady(['saltId': venvPepper, 'target': '*'])
+
if (common.checkContains('STACK_INSTALL', 'core')) {
stage('Install core infrastructure') {
def staticMgmtNetwork = false