Skip to content

Commit 5d53916

Browse files
committed
fix: missing env vars
1 parent 8ab8326 commit 5d53916

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

benchmark/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ run_job:
2020
-p CHES_CLIENT_SECRET=$(CHES_CLIENT_SECRET) \
2121
-p RECEPIENT=$(RECEPIENT) \
2222
-p NAME=$(NAME) \
23+
-p MAIL_SERVER=$(MAIL_SERVER) \
24+
-p CHES_TOKEN_URL=$(CHES_TOKEN_URL) \
2325
| oc -n $(NAMESPACE) apply -f -
2426

2527
.PHONY: cleanup

benchmark/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ -d "$RESULTS_DIR" ]; then
2020
if [ $? -eq 0 ]; then
2121
echo "Folder '$RESULTS_DIR' compressed successfully to '$ATTACHMENT_NAME'."
2222

23-
echo "Getting access token from '$TOKEN_URL'."
23+
echo "Getting access token from '$CHES_TOKEN_URL'."
2424

2525
# Get the access token
2626
ACCESS_TOKEN=$(curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "client_id=$CHES_CLIENT_ID" -d "client_secret=$CHES_CLIENT_SECRET" -d "grant_type=client_credentials" "$CHES_TOKEN_URL" | jq -r '.access_token')

benchmark/openshift/dc.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ objects:
6565
key: admin-password
6666
- name: RECEPIENT
6767
value: ${RECEPIENT}
68+
- name: SCENARIO
69+
value: ${SCENARIO}
70+
- name: SERVER_URL
71+
value: ${SERVER_URL}
72+
- name: ADDITIONAL_CONFIG
73+
value: ${ADDITIONAL_CONFIG}
6874
restartPolicy: Never
6975
metadata:
7076
name: ${NAME}

0 commit comments

Comments
 (0)