diff --git a/.vib/grafana/goss/vars.yaml b/.vib/grafana/goss/vars.yaml index 58a17213abc07..1b15bb55f1be9 100644 --- a/.vib/grafana/goss/vars.yaml +++ b/.vib/grafana/goss/vars.yaml @@ -3,8 +3,9 @@ binaries: root_dir: /opt/bitnami version: # HACK: Fix for Grafana X.Y.Z+security-N releases + # HACK: https://github.com/grafana/grafana/issues/98169 bin_name: bash - flag: -c "if [[ \"$APP_VERSION\" =~ -[0-9]+ ]]; then echo "$(grafana --version|awk '{ print $NF }')-${APP_VERSION#*-}"; else grafana --version|awk '{ print $NF }'; fi" + flag: -c "if [[ \"$APP_VERSION\" = \"11.4.0\" ]]; then echo 11.4.0; elif [[ \"$APP_VERSION\" =~ -[0-9]+ ]]; then echo "$(grafana --version|awk '{ print $NF }')-${APP_VERSION#*-}"; else grafana --version|awk '{ print $NF }'; fi" files: - mode: "0664" paths: