Update Replica for Shipyard/Airflow for UCP repo

We will set the number of replica to 1 as this repo is
meant to set up a dev environment (note that the default
number of replicas is 2)

Change-Id: I40bba79c550ed09ead0ba7b0b16a22fe20701e27
This commit is contained in:
Anthony Lin 2017-12-21 06:16:06 +00:00
parent 22b8ea6715
commit 93de3c93a7
2 changed files with 9 additions and 1 deletions

View File

@ -528,6 +528,14 @@ data:
dag_path: ${AIRFLOW_PATH_DAG}
plugin_path: ${AIRFLOW_PATH_PLUGIN}
log_path: ${AIRFLOW_PATH_LOG}
replicas:
shipyard:
api: 1
airflow:
web: 1
worker: 1
flower: 1
scheduler: 1
images:
tags:
airflow: ${AIRFLOW_IMAGE}

View File

@ -140,7 +140,7 @@ function init_env {
echo "Saving deployment environment to deploy-env.sh."
env | xargs -n 1 -d '\n' echo "export" >> deploy-env.sh
}
}
function genesis {
rm -rf configs