Skip to content

Commit 243a2cc

Browse files
committed
PHPLIB-1303: Test with Serverless Proxy
1 parent 33feb71 commit 243a2cc

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.evergreen/config/functions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ functions:
171171
working_dir: "src"
172172
script: |
173173
${PREPARE_SHELL}
174+
174175
SERVERLESS_DRIVERS_GROUP=${SERVERLESS_DRIVERS_GROUP} \
175176
SERVERLESS_API_PUBLIC_KEY=${SERVERLESS_API_PUBLIC_KEY} \
176177
SERVERLESS_API_PRIVATE_KEY=${SERVERLESS_API_PRIVATE_KEY} \

.evergreen/config/test-tasks.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,23 @@ tasks:
1616
- func: "set aws temp creds"
1717
- func: "run serverless tests"
1818

19+
- name: "test-serverless-proxy"
20+
tags: ["serverless"]
21+
exec_timeout_secs: 1800
22+
commands:
23+
# When testing with serverless proxies, update the group ID used in this task. The group ID is needed in a "post"
24+
# task that deletes the serverless cluster, so simply changing it for the "create serverless instance" function is
25+
# not sufficient.
26+
- command: expansions.update
27+
params:
28+
updates:
29+
- key: SERVERLESS_DRIVERS_GROUP
30+
value: "${SERVERLESS_PROXY_DRIVERS_GROUP}"
31+
- func: "create serverless instance"
32+
- func: "start kms servers"
33+
- func: "set aws temp creds"
34+
- func: "run serverless tests"
35+
1936
- name: "test-atlas-data-lake"
2037
commands:
2138
- func: "bootstrap mongohoused"

0 commit comments

Comments
 (0)