Add missing jq step 81/12781/1
authorMark Beierl <mark.beierl@canonical.com>
Mon, 12 Dec 2022 14:00:59 +0000 (09:00 -0500)
committerbeierlm <mark.beierl@canonical.com>
Mon, 12 Dec 2022 14:20:07 +0000 (15:20 +0100)
Installation of jq was moved from common to k8s specific
section, so must be replicated for charmed section

Change-Id: Ib843314ba9af97cd5be8932926ddd08839b4258a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
installers/full_install_osm.sh

index 8b7f1d8..79fb077 100755 (executable)
@@ -1223,6 +1223,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 "$@" || \