From ad7c735ee50da16660f076b52cb35b65f2961913 Mon Sep 17 00:00:00 2001 From: Carmine Vassallo Date: Fri, 4 Oct 2024 16:18:40 +0200 Subject: [PATCH] SONAR-23304 Remove dependency on outdated EKS test cluster --- .cirrus/eks.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.cirrus/eks.sh b/.cirrus/eks.sh index 9deaf5d18..4b246866a 100755 --- a/.cirrus/eks.sh +++ b/.cirrus/eks.sh @@ -7,15 +7,9 @@ CIRRUS_CLUSTER_NAME=${CIRRUS_CLUSTER_NAME:?} CIRRUS_BRANCH=${CIRRUS_BRANCH:?} AWS_IAM_ROLE=HelmChartSonarQubeCICDRole -if [[ "${CIRRUS_BRANCH}" == "master" ]]; then - # This is the production account - ROLE_AWS_ACCOUNT="275878209202" - CLUSTER_NAME="${CIRRUS_CLUSTER_NAME}" -else - # This is the dev account - ROLE_AWS_ACCOUNT="460386131003" - CLUSTER_NAME="CirrusCI-8-dev" -fi +# This is the dev account +ROLE_AWS_ACCOUNT="460386131003" +CLUSTER_NAME="CirrusCI-8-dev" echo "${CIRRUS_OIDC_TOKEN}" > /tmp/web_identity_token_file