X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Finstall_ngsa.sh;h=4d74df50e5601012d7b71bc0d5fd563feae232a5;hb=refs%2Fchanges%2F29%2F13929%2F2;hp=8f18f03aa58c4b1d5763fb5545d258885e52f032;hpb=b6c30b4ef1d0d4a58d07dfd7a47ae8545eb3b5f1;p=osm%2Fdevops.git diff --git a/installers/install_ngsa.sh b/installers/install_ngsa.sh index 8f18f03a..4d74df50 100755 --- a/installers/install_ngsa.sh +++ b/installers/install_ngsa.sh @@ -36,11 +36,11 @@ function install_airflow() { # if it does not exist, create secrets and install helm repo add apache-airflow https://airflow.apache.org helm repo update - helm -n osm install airflow apache-airflow/airflow -f ${OSM_HELM_WORK_DIR}/airflow-values.yaml --version ${AIRFLOW_HELM_VERSION} + helm -n osm install airflow apache-airflow/airflow -f ${OSM_HELM_WORK_DIR}/airflow-values.yaml --version ${AIRFLOW_HELM_VERSION} --timeout 10m || FATAL_TRACK ngsa "Failed installing airflow helm chart" else # if it exists, upgrade helm repo update - helm -n osm upgrade airflow apache-airflow/airflow -f ${OSM_HELM_WORK_DIR}/airflow-values.yaml --version ${AIRFLOW_HELM_VERSION} + helm -n osm upgrade airflow apache-airflow/airflow -f ${OSM_HELM_WORK_DIR}/airflow-values.yaml --version ${AIRFLOW_HELM_VERSION} || FATAL_TRACK ngsa "Failed installing airflow helm chart" fi [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function } @@ -52,11 +52,11 @@ function install_prometheus_pushgateway() { # if it does not exist, install helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update - helm -n osm install pushgateway prometheus-community/prometheus-pushgateway --version ${PROMPUSHGW_HELM_VERSION} + helm -n osm install pushgateway prometheus-community/prometheus-pushgateway --version ${PROMPUSHGW_HELM_VERSION} || FATAL_TRACK ngsa "Failed installing pushgateway helm chart" else # if it exists, upgrade helm repo update - helm -n osm upgrade pushgateway prometheus-community/prometheus-pushgateway --version ${PROMPUSHGW_HELM_VERSION} + helm -n osm upgrade pushgateway prometheus-community/prometheus-pushgateway --version ${PROMPUSHGW_HELM_VERSION} || FATAL_TRACK ngsa "Failed installing pushgateway helm chart" fi [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function } @@ -71,11 +71,11 @@ function install_prometheus_alertmanager() { # if it does not exist, install helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update - helm -n osm install alertmanager prometheus-community/alertmanager -f ${OSM_HELM_WORK_DIR}/alertmanager-values.yaml --version ${ALERTMANAGER_HELM_VERSION} + helm -n osm install alertmanager prometheus-community/alertmanager -f ${OSM_HELM_WORK_DIR}/alertmanager-values.yaml --version ${ALERTMANAGER_HELM_VERSION} || FATAL_TRACK ngsa "Failed installing alertmanager helm chart" else # if it exists, upgrade helm repo update - helm -n osm upgrade alertmanager prometheus-community/alertmanager -f ${OSM_HELM_WORK_DIR}/alertmanager-values.yaml --version ${ALERTMANAGER_HELM_VERSION} + helm -n osm upgrade alertmanager prometheus-community/alertmanager -f ${OSM_HELM_WORK_DIR}/alertmanager-values.yaml --version ${ALERTMANAGER_HELM_VERSION} || FATAL_TRACK ngsa "Failed installing alertmanager helm chart" fi [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function } @@ -85,7 +85,7 @@ function install_prometheus_alertmanager() { DOCKER_REGISTRY_URL= DOCKER_USER="opensourcemano" OSM_DEVOPS="/usr/share/osm-devops" -OSM_DOCKER_TAG="13" +OSM_DOCKER_TAG="testing-daily" OSM_HELM_WORK_DIR="/etc/osm/helm" while getopts ":D:d:t:r:U:-: " o; do