engine: Enable packaging and offline deployment for kolla
[infra/cicd.git] / jjb / engine / scripts / deploy.sh
index 0f4ab73d272588916685f33b6e2294d6a3632334..56010749b6965ea4df69c874185c592d72b4421a 100755 (executable)
@@ -27,6 +27,12 @@ if [[ "$EXECUTION_MODE" == "offline-deployment" && "$PROVISIONER_TYPE" == "heat"
   exit 0
 fi
 
+if [[ "$GERRIT_PROJECT" == "infra/installer/kolla" ]]; then
+  echo "Info  : Setting installer to kolla and scenario to os-nosdn-nofeature"
+  export INSTALLER_TYPE="kolla"
+  export DEPLOY_SCENARIO="os-nosdn-nofeature"
+fi
+
 if [[ "$EXECUTION_MODE" == "offline-deployment" ]]; then
   ENGINE_ROOT_DIR="/opt/engine/offline/git/engine"
 else