Skip to content

Commit 540ec69

Browse files
authored
CLOUDP-233673 Move Atlas Deployments tests (#2692)
1 parent 5dbb0a9 commit 540ec69

File tree

5 files changed

+361
-348
lines changed

5 files changed

+361
-348
lines changed

build/ci/evergreen.yml

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,15 +1074,8 @@ tasks:
10741074
E2E_TAGS: atlas,cleanup
10751075
E2E_TIMEOUT: 3h
10761076
E2E_PARALLEL: 16
1077-
- name: atlas_deployments_local_generate_e2e
1078-
tags: ["e2e","deployments","local","generate"]
1079-
commands:
1080-
- func: "generate evergreen"
1081-
vars:
1082-
tool_name: atlascli
1083-
task_type: local
1084-
- name: atlas_deployments_local_e2e
1085-
tags: ["e2e","required","deployments","local","run"]
1077+
- name: atlas_deployments_local_noauth_e2e
1078+
tags: ["e2e","deployments","local","noauth"]
10861079
must_have_test_results: true
10871080
exec_timeout_secs: 11400 # 3 hours 10 minutes
10881081
depends_on:
@@ -1111,8 +1104,29 @@ tasks:
11111104
MCLI_PUBLIC_API_KEY: ${atlas_public_api_key}
11121105
MCLI_OPS_MANAGER_URL: ${mcli_ops_manager_url}
11131106
MCLI_SERVICE: cloud
1114-
E2E_TAGS: atlas,deployments,local
1107+
E2E_TAGS: atlas,deployments,local,noauth
11151108
E2E_TIMEOUT: 3h
1109+
- name: atlas_deployments_local_auth_e2e
1110+
tags: ["e2e","deployments","local","auth"]
1111+
must_have_test_results: true
1112+
exec_timeout_secs: 11400 # 3 hours 10 minutes
1113+
depends_on:
1114+
- name: compile
1115+
variant: "code_health"
1116+
patch_optional: true
1117+
commands:
1118+
- func: "install gotestsum"
1119+
- func: "install podman"
1120+
- command: shell.exec
1121+
type: setup
1122+
params:
1123+
shell: bash
1124+
script: |
1125+
set -e
1126+
cat /proc/sys/fs/inotify/max_user_watches
1127+
cat /proc/sys/fs/inotify/max_user_instances
1128+
echo 1024 | sudo tee /proc/sys/fs/inotify/max_user_instances
1129+
cat /proc/sys/fs/inotify/max_user_instances
11161130
- func: "e2e test"
11171131
timeout_secs: 11400 # 3 hours 10 minutes
11181132
vars:
@@ -1122,7 +1136,7 @@ tasks:
11221136
MCLI_PUBLIC_API_KEY: ${atlas_public_api_key}
11231137
MCLI_OPS_MANAGER_URL: ${mcli_ops_manager_url}
11241138
MCLI_SERVICE: cloud
1125-
E2E_TAGS: atlas,deployments,auth,local
1139+
E2E_TAGS: atlas,deployments,local,auth
11261140
E2E_TIMEOUT: 3h
11271141
- name: atlas_deployments_atlas_clusters_e2e
11281142
tags: ["e2e","deployments","atlas"]
@@ -1274,6 +1288,6 @@ buildvariants:
12741288
expansions:
12751289
<<: *go_linux_version
12761290
tasks:
1277-
- name: ".e2e .deployments .local .generate"
1291+
- name: ".e2e .deployments .local"
12781292
include:
12791293
- filename: build/ci/release.yml

0 commit comments

Comments
 (0)