Fix Copy Artifacts stage in stage3 in case that tree fails
[osm/devops.git] / installers / full_install_osm.sh
index 96d8b8b..49a75af 100755 (executable)
@@ -527,7 +527,7 @@ function deploy_osm_services() {
 function deploy_charmed_services() {
     [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
     juju add-model $OSM_STACK_NAME $OSM_VCA_K8S_CLOUDNAME
-    juju deploy ch:mongodb-k8s -m $OSM_STACK_NAME
+    juju deploy ch:mongodb-k8s -m $OSM_STACK_NAME --channel latest/stable
     [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
 }
 
@@ -1132,6 +1132,7 @@ fi
 
 # Charmed installation
 if [ -n "$CHARMED" ]; then
+    sudo snap install jq || FATAL "Could not install jq (snap package). Make sure that snap works"
     export OSM_TRACK_INSTALLATION_ID="$(date +%s)-$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16)"
     track start release $RELEASE none none docker_tag $OSM_DOCKER_TAG none none installation_type $OSM_INSTALLATION_TYPE none none
     ${OSM_DEVOPS}/installers/charmed_install.sh --tag $OSM_DOCKER_TAG "$@" || \