Skip to content

Commit 85ba541

Browse files
authored
PYTHON-4905 Use shrub.py to generate load balancer tasks (mongodb#1968)
1 parent 215bca2 commit 85ba541

File tree

4 files changed

+110
-205
lines changed

4 files changed

+110
-205
lines changed

.evergreen/config.yml

-9
Original file line numberDiff line numberDiff line change
@@ -1542,15 +1542,6 @@ tasks:
15421542
- func: "run aws auth test with aws web identity credentials"
15431543
- func: "run aws ECS auth test"
15441544

1545-
- name: load-balancer-test
1546-
commands:
1547-
- func: "bootstrap mongo-orchestration"
1548-
vars:
1549-
TOPOLOGY: "sharded_cluster"
1550-
LOAD_BALANCER: true
1551-
- func: "run load-balancer"
1552-
- func: "run tests"
1553-
15541545
- name: "oidc-auth-test"
15551546
commands:
15561547
- func: "run oidc auth test with test credentials"

.evergreen/generated_configs/tasks.yml

+47
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,51 @@
11
tasks:
2+
# Load balancer tests
3+
- name: test-load-balancer-auth-ssl
4+
commands:
5+
- func: bootstrap mongo-orchestration
6+
vars:
7+
TOPOLOGY: sharded_cluster
8+
AUTH: auth
9+
SSL: ssl
10+
LOAD_BALANCER: "true"
11+
- func: run load-balancer
12+
- func: run tests
13+
vars:
14+
AUTH: auth
15+
SSL: ssl
16+
test_loadbalancer: "true"
17+
tags: [load-balancer, auth, ssl]
18+
- name: test-load-balancer-noauth-ssl
19+
commands:
20+
- func: bootstrap mongo-orchestration
21+
vars:
22+
TOPOLOGY: sharded_cluster
23+
AUTH: noauth
24+
SSL: ssl
25+
LOAD_BALANCER: "true"
26+
- func: run load-balancer
27+
- func: run tests
28+
vars:
29+
AUTH: noauth
30+
SSL: ssl
31+
test_loadbalancer: "true"
32+
tags: [load-balancer, noauth, ssl]
33+
- name: test-load-balancer-noauth-nossl
34+
commands:
35+
- func: bootstrap mongo-orchestration
36+
vars:
37+
TOPOLOGY: sharded_cluster
38+
AUTH: noauth
39+
SSL: nossl
40+
LOAD_BALANCER: "true"
41+
- func: run load-balancer
42+
- func: run tests
43+
vars:
44+
AUTH: noauth
45+
SSL: nossl
46+
test_loadbalancer: "true"
47+
tags: [load-balancer, noauth, nossl]
48+
249
# Server tests
350
- name: test-4.0-standalone-auth-ssl-sync
451
commands:

0 commit comments

Comments
 (0)