From a4f6c5f078d33dd40ae580fbd32b7882a9650d1f Mon Sep 17 00:00:00 2001 From: Dan Pock Date: Mon, 6 Jan 2025 19:17:08 -0500 Subject: [PATCH] tweak e2e install process --- .../e2e/scripts/hpo-install-helm-project-operator.sh | 6 +++--- .github/workflows/e2e/scripts/install-federator.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh b/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh index 31d56a40..283ac468 100755 --- a/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh +++ b/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh @@ -10,11 +10,11 @@ source "$(pwd)/scripts/util-team-charts" NEWEST_CHART_VERSION=$(newest-chart-version "helm-project-operator") fetch-team-chart "helm-project-operator" "$NEWEST_CHART_VERSION" LATEST_CHART_PATH="./build/charts/helm-project-operator-${NEWEST_CHART_VERSION}.tgz" +tar -xvzf "$LATEST_CHART_PATH" -C ./build/charts/ helm upgrade --install --create-namespace -n cattle-helm-system helm-project-operator \ --set "image.registry='',image.repository=${REPO:-rancher}/helm-project-operator,image.tag=${TAG:-dev}" \ - "${cluster_args}" \ - "${RANCHER_HELM_ARGS}" \ - "${LATEST_CHART_PATH}" + "${cluster_args}" "${RANCHER_HELM_ARGS}" \ + ./build/charts/helm-project-operator echo "PASS: Helm Project Operator has been installed" diff --git a/.github/workflows/e2e/scripts/install-federator.sh b/.github/workflows/e2e/scripts/install-federator.sh index 269f4ecb..8a106bd6 100755 --- a/.github/workflows/e2e/scripts/install-federator.sh +++ b/.github/workflows/e2e/scripts/install-federator.sh @@ -11,12 +11,12 @@ source "$(pwd)/scripts/util-team-charts" NEWEST_CHART_VERSION=$(newest-chart-version "prometheus-federator") fetch-team-chart "prometheus-federator" "$NEWEST_CHART_VERSION" LATEST_CHART_PATH="./build/charts/prometheus-federator-${NEWEST_CHART_VERSION}.tgz" +tar -xvzf "$LATEST_CHART_PATH" -C ./build/charts/ helm upgrade --install --create-namespace -n cattle-monitoring-system prometheus-federator \ --set "helmProjectOperator.image.repository=${REPO:-rancher}/prometheus-federator" \ --set "helmProjectOperator.image.tag=${TAG:-dev}" \ - "${cluster_args}" \ - "${RANCHER_HELM_ARGS}" \ - "${LATEST_CHART_PATH}" + "${cluster_args}" "${RANCHER_HELM_ARGS}" \ + ./build/charts/prometheus-federator echo "PASS: Prometheus Federator has been installed"