Merge "Move SALT_OVERRIDES right after stack created"
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 4fe0a77..9f4571c 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -183,6 +183,13 @@
saltMaster = salt.connection(SALT_MASTER_URL, SALT_MASTER_CREDENTIALS)
}
+ // Set up override params
+ if (env.getEnvironment().containsKey('SALT_OVERRIDES')) {
+ stage('Set Salt overrides') {
+ salt.setSaltOverrides(saltMaster, SALT_OVERRIDES)
+ }
+ }
+
//
// Install
//
@@ -200,13 +207,6 @@
}
}
- // Set up override params
- if (env.getEnvironment().containsKey('SALT_OVERRIDES')) {
- stage('Set Salt overrides') {
- salt.setSaltOverrides(saltMaster, SALT_OVERRIDES)
- }
- }
-
// install k8s
if (common.checkContains('STACK_INSTALL', 'k8s')) {