X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharmed_install.sh;h=bb1a9da6976f4bc8d1de55af85ab72f78725b80e;hb=672bdb0770d4df24c57ceacbf0b4af3c1d5ce683;hp=577fe82ce7f731a156c2b5c986112b73f9de90c5;hpb=413bc263cea11a166bf38d11259e153f521dd500;p=osm%2Fdevops.git diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index 577fe82c..bb1a9da6 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -21,7 +21,7 @@ JUJU_AGENT_VERSION=2.9.17 K8S_CLOUD_NAME="k8s-cloud" KUBECTL="microk8s.kubectl" MICROK8S_VERSION=1.20 -OSMCLIENT_VERSION=10.0 +OSMCLIENT_VERSION=11.0 IMAGES_OVERLAY_FILE=~/.osm/images-overlay.yaml PATH=/snap/bin:${PATH} @@ -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" }