Skip to content

Commit

Permalink
SONAR-23304 Remove dependency on outdated EKS test cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
carminevassallo authored Oct 4, 2024
1 parent 03678de commit ad7c735
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .cirrus/eks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ad7c735

Please sign in to comment.