From 3b130593603e1de2c56808259f7ec85447b88776 Mon Sep 17 00:00:00 2001 From: Alex Hung Date: Tue, 3 Dec 2024 15:49:34 -0800 Subject: [PATCH] Add Artifactory helm chart version to test workflow --- .github/workflows/acceptance-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 967d4f85..c08a6afe 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -39,6 +39,7 @@ jobs: helm repo add jfrog https://charts.jfrog.io/ helm repo update RT_HELM_CHART_VERSION=$(helm search repo | grep "jfrog/artifactory " | awk '{$1=$1};1' | cut -f2 -d " ") + echo "RT_HELM_CHART_VERSION=$RT_HELM_CHART_VERSION" >> "$GITHUB_ENV" ARTIFACTORY_VERSION=$(helm search repo | grep "jfrog/artifactory " | awk '{$1=$1};1' | cut -f3 -d " ") echo "rt_version=$ARTIFACTORY_VERSION" >> "$GITHUB_OUTPUT" XRAY_HELM_CHART_VERSION=${XRAY_HELM_CHART_VERSION:=$(helm search repo | grep "jfrog/xray" | awk '{$1=$1};1' | cut -f2 -d " ")} @@ -100,6 +101,7 @@ jobs: echo "::add-mask::$JOIN_KEY" echo "JOIN_KEY=$JOIN_KEY" >> "$GITHUB_ENV" helm upgrade --install artifactory jfrog/artifactory \ + --version $RT_HELM_CHART_VERSION \ --set artifactory.masterKey=$MASTER_KEY \ --set artifactory.joinKey=$JOIN_KEY \ --set artifactory.license.secret=artifactory-license \