X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Finstall_ngsa.sh;fp=installers%2Finstall_ngsa.sh;h=dbfbac55475a1ace47aba70b8a412941bdda321c;hb=e6d458836e661204cbe652e24404184a3dc49421;hp=a1f7fa398582a021f0e943cf6e9d083a3b19e96c;hpb=abf6770c2ec33d6ae0b1fb93be1093081abb5a9f;p=osm%2Fdevops.git diff --git a/installers/install_ngsa.sh b/installers/install_ngsa.sh index a1f7fa39..dbfbac55 100755 --- a/installers/install_ngsa.sh +++ b/installers/install_ngsa.sh @@ -17,8 +17,6 @@ set +eux # Helm chart 1.6.0 correspondes to Airflow 2.3.0 AIRFLOW_HELM_VERSION=1.9.0 -PROMPUSHGW_HELM_VERSION=1.18.2 -ALERTMANAGER_HELM_VERSION=0.22.0 # Install Airflow helm chart function install_airflow() { @@ -38,27 +36,6 @@ function install_airflow() { [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function } -# Install Prometheus Pushgateway helm chart -function install_prometheus_pushgateway() { - [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function - helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo update - helm upgrade pushgateway prometheus-community/prometheus-pushgateway -n osm --create-namespace --install --version ${PROMPUSHGW_HELM_VERSION} || FATAL_TRACK ngsa "Failed installing pushgateway helm chart" - [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function -} - -# Install Prometheus AlertManager helm chart -function install_prometheus_alertmanager() { - [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function - # copy alertmanager-values.yaml to the destination folder - sudo mkdir -p ${OSM_HELM_WORK_DIR} - sudo cp ${OSM_DEVOPS}/installers/helm/values/alertmanager-values.yaml ${OSM_HELM_WORK_DIR} - helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo update - helm upgrade alertmanager prometheus-community/alertmanager -n osm --create-namespace --install -f ${OSM_HELM_WORK_DIR}/alertmanager-values.yaml --version ${ALERTMANAGER_HELM_VERSION} || FATAL_TRACK ngsa "Failed installing alertmanager helm chart" - [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function -} - # main DOCKER_REGISTRY_URL= @@ -113,8 +90,3 @@ echo "OSM_HELM_WORK_DIR=$OSM_HELM_WORK_DIR" install_airflow track deploy_osm airflow_ok -#install_prometheus_pushgateway -#track deploy_osm pushgateway_ok -#install_prometheus_alertmanager -#track deploy_osm alertmanager_ok -