From ea9be33306c051de8dbc349b2472f2307f90ffe3 Mon Sep 17 00:00:00 2001 From: Ricardo Maraschini Date: Thu, 5 Oct 2023 17:19:15 +0200 Subject: [PATCH] chore(tests): using staging metrics endpoint (#95) sending helmvm metrics during github workflows to staging endpoint. --- e2e/scripts/addons-only.sh | 1 + e2e/scripts/embed-and-install.sh | 1 + e2e/scripts/embedded-preflight.sh | 1 + e2e/scripts/install-with-disabled-addons.sh | 1 + e2e/scripts/interactive-multi-node-install.exp | 1 + e2e/scripts/multi-node-install.sh | 1 + e2e/scripts/single-node-install.sh | 1 + e2e/scripts/wait-for-ready-nodes.sh | 1 + 8 files changed, 8 insertions(+) diff --git a/e2e/scripts/addons-only.sh b/e2e/scripts/addons-only.sh index 101317cd0..fe01cc2b0 100644 --- a/e2e/scripts/addons-only.sh +++ b/e2e/scripts/addons-only.sh @@ -105,6 +105,7 @@ main() { fi } +export HELMVM_METRICS_BASEURL="https://staging.replicated.app" export KUBECONFIG=/root/.helmvm/etc/kubeconfig export PATH="$PATH:/root/.helmvm/bin" main diff --git a/e2e/scripts/embed-and-install.sh b/e2e/scripts/embed-and-install.sh index ac601c959..b57e86927 100644 --- a/e2e/scripts/embed-and-install.sh +++ b/e2e/scripts/embed-and-install.sh @@ -138,6 +138,7 @@ main() { fi } +export HELMVM_METRICS_BASEURL="https://staging.replicated.app" export KUBECONFIG=/root/.helmvm/etc/kubeconfig export PATH=$PATH:/root/.helmvm/bin main diff --git a/e2e/scripts/embedded-preflight.sh b/e2e/scripts/embedded-preflight.sh index 222ac777c..9bd298b13 100644 --- a/e2e/scripts/embedded-preflight.sh +++ b/e2e/scripts/embedded-preflight.sh @@ -184,6 +184,7 @@ main() { fi } +export HELMVM_METRICS_BASEURL="https://staging.replicated.app" export KUBECONFIG=/root/.helmvm/etc/kubeconfig export PATH=$PATH:/root/.helmvm/bin main diff --git a/e2e/scripts/install-with-disabled-addons.sh b/e2e/scripts/install-with-disabled-addons.sh index e2267b8c1..9e1c354d8 100644 --- a/e2e/scripts/install-with-disabled-addons.sh +++ b/e2e/scripts/install-with-disabled-addons.sh @@ -93,6 +93,7 @@ main() { fi } +export HELMVM_METRICS_BASEURL="https://staging.replicated.app" export KUBECONFIG=/root/.helmvm/etc/kubeconfig export PATH=$PATH:/root/.helmvm/bin main diff --git a/e2e/scripts/interactive-multi-node-install.exp b/e2e/scripts/interactive-multi-node-install.exp index 4c55fea21..ee9f71ff8 100644 --- a/e2e/scripts/interactive-multi-node-install.exp +++ b/e2e/scripts/interactive-multi-node-install.exp @@ -9,6 +9,7 @@ proc configure_node {address} { expect "Type one of the options above:" { send "/root/.ssh/id_rsa\r" } } +set env(HELMVM_METRICS_BASEURL) "https://staging.replicated.app" set env(HELMVM_PLAIN_PROMPTS) "true" spawn helmvm install --multi-node configure_node "10.0.0.2" diff --git a/e2e/scripts/multi-node-install.sh b/e2e/scripts/multi-node-install.sh index 5099f1c21..9b9d8be34 100644 --- a/e2e/scripts/multi-node-install.sh +++ b/e2e/scripts/multi-node-install.sh @@ -85,6 +85,7 @@ main() { fi } +export HELMVM_METRICS_BASEURL="https://staging.replicated.app" export KUBECONFIG=/root/.helmvm/etc/kubeconfig export PATH=$PATH:/root/.helmvm/bin main diff --git a/e2e/scripts/single-node-install.sh b/e2e/scripts/single-node-install.sh index ea0da90eb..a16ff17e3 100644 --- a/e2e/scripts/single-node-install.sh +++ b/e2e/scripts/single-node-install.sh @@ -65,6 +65,7 @@ main() { fi } +export HELMVM_METRICS_BASEURL="https://staging.replicated.app" export KUBECONFIG=/root/.helmvm/etc/kubeconfig export PATH=$PATH:/root/.helmvm/bin main diff --git a/e2e/scripts/wait-for-ready-nodes.sh b/e2e/scripts/wait-for-ready-nodes.sh index 634dbff01..d419a67d9 100644 --- a/e2e/scripts/wait-for-ready-nodes.sh +++ b/e2e/scripts/wait-for-ready-nodes.sh @@ -21,6 +21,7 @@ main() { exit 0 } +export HELMVM_METRICS_BASEURL="https://staging.replicated.app" export KUBECONFIG=/root/.helmvm/etc/kubeconfig export PATH=$PATH:/root/.helmvm/bin main "$@"