From afc0318ac89e78145ae2bd3cdd6a25da24d2fd58 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Tue, 28 Jun 2022 06:33:16 -0400 Subject: [PATCH] E2E: default download to grafana enterprise (#51473) (#51485) In plugin E2E, changing the default download to enterprise version of grafana. (cherry picked from commit 5aab8b710bb960f9d1ca4d2681fe8808c610bec9) Co-authored-by: Sriram --- .../docker/grafana-plugin-ci-e2e/install/ginstall | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/grafana-toolkit/docker/grafana-plugin-ci-e2e/install/ginstall b/packages/grafana-toolkit/docker/grafana-plugin-ci-e2e/install/ginstall index ce7e8953b0e..a71019bdbef 100755 --- a/packages/grafana-toolkit/docker/grafana-plugin-ci-e2e/install/ginstall +++ b/packages/grafana-toolkit/docker/grafana-plugin-ci-e2e/install/ginstall @@ -6,7 +6,7 @@ # latest=$(wget -O - 'https://raw.githubusercontent.com/grafana/grafana/main/latest.json' | jq -r '.stable') -canary=$(wget -O - "https://grafana.com/api/grafana/versions" | jq ".items[0].version" | tr -d '"') +canary=$(wget -O - "https://grafana.com/api/grafana-enterprise/versions" | jq ".items[0].version" | tr -d '"') show_help() { echo "Usage: gget " @@ -59,12 +59,12 @@ fi version=$1 if [ "$version" == "latest" ]; then version="$latest" - wget -O - "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz" | tar -C /opt -zxf - + wget -O - "https://dl.grafana.com/enterprise/release/grafana-enterprise-${version}.linux-amd64.tar.gz" | tar -C /opt -zxf - elif [ "$version" == "canary" ]; then version="$canary" - wget -O - "https://dl.grafana.com/oss/main/grafana-${version}.linux-amd64.tar.gz" | tar -C /opt -zxf - + wget -O - "https://dl.grafana.com/enterprise/main/grafana-enterprise-${version}.linux-amd64.tar.gz" | tar -C /opt -zxf - else - wget -O - "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz" | tar -C /opt -zxf - + wget -O - "https://dl.grafana.com/enterprise/release/grafana-enterprise-${version}.linux-amd64.tar.gz" | tar -C /opt -zxf - fi /bin/rm -rf /opt/grafana > /dev/null 2>&1 || true