Revert "install contrail first"
This reverts commit 391df0d680c436fa48dae7d73b3d18e70cf388df.
Change-Id: I7c2ba841e8f02138057da1bfb284722d92c217b6
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 255335d..2a95a49 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -174,16 +174,6 @@
// install k8s
if (common.checkContains('STACK_INSTALL', 'k8s')) {
-
- stage('Install Contrail for Kubernetes') {
- if (common.checkContains('STACK_INSTALL', 'contrail')) {
- stage('Install Contrail for Kubernetes') {
- orchestrate.installContrailNetwork(saltMaster)
- orchestrate.installContrailCompute(saltMaster)
- }
- }
- }
-
stage('Install Kubernetes infra') {
orchestrate.installKubernetesInfra(saltMaster)
}
@@ -220,6 +210,12 @@
}
+ if (common.checkContains('STACK_INSTALL', 'contrail')) {
+ state('Install Contrail for Kubernetes') {
+ orchestrate.installContrailNetwork(saltMaster)
+ orchestrate.installContrailCompute(saltMaster)
+ }
+ }
}
// install openstack