Skip to content

Commit

Permalink
Fix SI and SB names in E2E module tests (#961)
Browse files Browse the repository at this point in the history
Fix SI and SB names
  • Loading branch information
szwedm authored Jan 16, 2025
1 parent 6fe24a9 commit 4ad8cd9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/testing/run_e2e_module_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ SAP_BTP_OPERATOR_DEPLOYMENT_NAME=sap-btp-operator-controller-manager

[[ -z ${GITHUB_RUN_ID} ]] && echo "required variable GITHUB_RUN_ID not set" && exit 1

SI_NAME=auditlog-management-si-${GITHUB_JOB}-${GITHUB_RUN_ID}
SB_NAME=auditlog-management-sb-${GITHUB_JOB}-${GITHUB_RUN_ID}
SI_PARAMS_SECRET_NAME=auditlog-management-params-secret-${GITHUB_JOB}-${GITHUB_RUN_ID}
K8S_VER=$(kubectl version -o json | jq .serverVersion.gitVersion -r | cut -d + -f 1)

SI_NAME=${GITHUB_JOB}-${K8S_VER}-${GITHUB_RUN_ID}
SB_NAME=${GITHUB_JOB}-${K8S_VER}-${GITHUB_RUN_ID}
SI_PARAMS_SECRET_NAME=params-secret

export SI_NAME
export SB_NAME
Expand Down

0 comments on commit 4ad8cd9

Please sign in to comment.