X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharmed_install.sh;h=3ef2f5fb623baab67b25671d9a0a9d3ea5b8b84c;hb=72ac65cee3fd3307338c96036f5c0ed06daa3617;hp=577fe82ce7f731a156c2b5c986112b73f9de90c5;hpb=413bc263cea11a166bf38d11259e153f521dd500;p=osm%2Fdevops.git diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index 577fe82c..3ef2f5fb 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -35,7 +35,7 @@ MODEL_NAME=osm # charms to CharmHub. OSM_BUNDLE=/usr/share/osm-devops/installers/charm/bundles/osm/bundle.yaml OSM_HA_BUNDLE=/usr/share/osm-devops/installers/charm/bundles/osm-ha/bundle.yaml -TAG=testing-daily +TAG=11 function check_arguments(){ while [ $# -gt 0 ] ; do @@ -286,6 +286,10 @@ function deploy_charmed_osm(){ echo "Waiting for deployment to finish..." check_osm_deployed + grafana_leader=`juju status -m $MODEL_NAME grafana | grep "*" | cut -d "*" -f 1` + grafana_admin_password=`juju run -m $MODEL_NAME --unit $grafana_leader "echo \\$GF_SECURITY_ADMIN_PASSWORD"` + juju config -m $MODEL_NAME mon grafana_password=$grafana_admin_password + check_osm_deployed echo "OSM with charms deployed" }