Skip to content

Commit

Permalink
GODRIVER-3040 Add driver tests for Serverless Proxy incremental rollo…
Browse files Browse the repository at this point in the history
…ut (mongodb#1473)

(cherry picked from commit 134d007)
  • Loading branch information
blink1073 committed Jan 25, 2024
1 parent 7b9bf01 commit 96543d4
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2283,6 +2283,16 @@ axes:
variables:
GO_DIST: "/opt/golang/go1.20"

- id: serverless-type
display_name: "Serverless Type"
values:
- id: "original"
display_name: "Serverless"
- id: "proxy"
display_name: "Serverless Proxy"
variables:
VAULT_NAME: "serverless_next"

task_groups:
- name: serverless_task_group
setup_group_can_fail_task: true
Expand All @@ -2298,12 +2308,8 @@ task_groups:
shell: "bash"
script: |
${PREPARE_SHELL}
SERVERLESS_DRIVERS_GROUP=${SERVERLESS_DRIVERS_GROUP} \
SERVERLESS_API_PUBLIC_KEY=${SERVERLESS_API_PUBLIC_KEY} \
SERVERLESS_API_PRIVATE_KEY=${SERVERLESS_API_PRIVATE_KEY} \
LOADBALANCED=ON \
bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh ${VAULT_NAME}
bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
- command: expansions.update
params:
file: serverless-expansion.yml
Expand Down Expand Up @@ -2339,12 +2345,7 @@ task_groups:
shell: "bash"
script: |
${PREPARE_SHELL}
SERVERLESS_DRIVERS_GROUP=${SERVERLESS_DRIVERS_GROUP} \
SERVERLESS_API_PUBLIC_KEY=${SERVERLESS_API_PUBLIC_KEY} \
SERVERLESS_API_PRIVATE_KEY=${SERVERLESS_API_PRIVATE_KEY} \
SERVERLESS_INSTANCE_NAME=${SERVERLESS_INSTANCE_NAME} \
bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh ${VAULT_NAME}
- func: handle-test-artifacts
- func: cleanup
tasks:
Expand Down Expand Up @@ -2667,8 +2668,14 @@ buildvariants:

- matrix_name: "serverless"
tags: ["pullrequest"]
matrix_spec: { os-serverless: "*" }
display_name: "Serverless ${os-serverless}"
matrix_spec: { os-serverless: "*", serverless-type: "original" }
display_name: "${serverless-type} ${os-serverless}"
tasks:
- "serverless_task_group"

- matrix_name: "serverless-proxy"
matrix_spec: { os-serverless: "*", serverless-type: "proxy" }
display_name: "${serverless-type} ${os-serverless}"
tasks:
- "serverless_task_group"

Expand Down

0 comments on commit 96543d4

Please sign in to comment.