From: garciadeblas Date: Thu, 20 Jul 2023 15:02:19 +0000 (+0200) Subject: Fix Airflow installation when defaultAirflowTag is numeric X-Git-Tag: release-v15.0-start~16 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=37d5a5f1213b462f065ef44229681c801ca7efe9;p=osm%2Fdevops.git Fix Airflow installation when defaultAirflowTag is numeric Change-Id: Ibfdfdfa6c582648e48fd4d797a8e0e7bf246209c Signed-off-by: garciadeblas --- diff --git a/installers/install_ngsa.sh b/installers/install_ngsa.sh index 4d74df50..c3208567 100755 --- a/installers/install_ngsa.sh +++ b/installers/install_ngsa.sh @@ -28,7 +28,7 @@ function install_airflow() { sudo cp ${OSM_DEVOPS}/installers/helm/values/airflow-values.yaml ${OSM_HELM_WORK_DIR} # update airflow-values.yaml to use the right tag echo "Updating Helm values file helm/values/airflow-values.yaml to use defaultAirflowTag: ${OSM_DOCKER_TAG}" - sudo sed -i "s#defaultAirflowTag:.*#defaultAirflowTag: ${OSM_DOCKER_TAG}#g" ${OSM_HELM_WORK_DIR}/airflow-values.yaml + sudo sed -i "s#defaultAirflowTag:.*#defaultAirflowTag: \"${OSM_DOCKER_TAG}\"#g" ${OSM_HELM_WORK_DIR}/airflow-values.yaml echo "Updating Helm values file helm/values/airflow-values.yaml to use defaultAirflowRepository: ${DOCKER_REGISTRY_URL}${DOCKER_USER}/airflow" sudo sed -i "s#defaultAirflowRepository:.*#defaultAirflowRepository: ${DOCKER_REGISTRY_URL}${DOCKER_USER}/airflow#g" ${OSM_HELM_WORK_DIR}/airflow-values.yaml