Skip to content

Commit 495973b

Browse files
authored
DRIVERS-3202 Remove Serverless testing (#658)
1 parent 5a434e9 commit 495973b

File tree

2 files changed

+2
-40
lines changed

2 files changed

+2
-40
lines changed

.evergreen/config.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,11 +1002,6 @@ tasks:
10021002
LOAD_BALANCER: "true"
10031003
- func: "run tests"
10041004

1005-
- name: "test-serverless"
1006-
tags: ["serverless"]
1007-
commands:
1008-
- func: "run tests"
1009-
10101005
- name: "test-atlas"
10111006
tags: ["atlas"]
10121007
commands:
@@ -1126,33 +1121,6 @@ tasks:
11261121

11271122
task_groups:
11281123

1129-
- name: serverless_task_group
1130-
setup_group_can_fail_task: true
1131-
setup_group_timeout_secs: 1800 # 30 minutes
1132-
teardown_task_can_fail_task: true
1133-
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
1134-
setup_group:
1135-
- func: "fetch and prepare resources"
1136-
- func: "assume role"
1137-
- command: subprocess.exec
1138-
params:
1139-
binary: "bash"
1140-
include_expansions_in_env: ["SERVERLESS_ATLAS_PASSWORD", "SERVERLESS_ATLAS_USER"]
1141-
args:
1142-
- ${DRIVERS_TOOLS}/.evergreen/serverless/setup.sh
1143-
teardown_group:
1144-
- command: subprocess.exec
1145-
params:
1146-
binary: "bash"
1147-
args:
1148-
- ${DRIVERS_TOOLS}/.evergreen/serverless/teardown.sh
1149-
- func: "teardown assets"
1150-
- func: "upload logs"
1151-
- func: "upload test results"
1152-
- func: "cleanup"
1153-
tasks:
1154-
- ".serverless"
1155-
11561124
- name: test_atlas_task_group
11571125
setup_group_can_fail_task: true
11581126
setup_group_timeout_secs: 1800 # 30 minutes
@@ -1669,14 +1637,6 @@ buildvariants:
16691637
tasks:
16701638
- test_atlas_task_group
16711639

1672-
- matrix_name: "serverless"
1673-
matrix_spec:
1674-
os-requires-50:
1675-
- "ubuntu-20.04"
1676-
display_name: "Serverless ${os-requires-50}"
1677-
tasks:
1678-
- serverless_task_group
1679-
16801640
- name: delete_old_azure_resources
16811641
display_name: "Delete old Azure resources"
16821642
run_on: rhel80-small

.evergreen/serverless/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
The scripts in this directory are used to test MongoDB Serverless instances on Atlas.
44

5+
Note: This functionality is deprecated and will be removed after DRIVERS-3115 is complete.
6+
57
## Prerequisites
68

79
See [Secrets Handling](../secrets_handling/README.md) for details on how to access the secrets

0 commit comments

Comments
 (0)