Skip to content

Commit

Permalink
PYTHON-4905 Use shrub.py to generate load balancer tasks (mongodb#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 25, 2024
1 parent 215bca2 commit 85ba541
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 205 deletions.
9 changes: 0 additions & 9 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1542,15 +1542,6 @@ tasks:
- func: "run aws auth test with aws web identity credentials"
- func: "run aws ECS auth test"

- name: load-balancer-test
commands:
- func: "bootstrap mongo-orchestration"
vars:
TOPOLOGY: "sharded_cluster"
LOAD_BALANCER: true
- func: "run load-balancer"
- func: "run tests"

- name: "oidc-auth-test"
commands:
- func: "run oidc auth test with test credentials"
Expand Down
47 changes: 47 additions & 0 deletions .evergreen/generated_configs/tasks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,51 @@
tasks:
# Load balancer tests
- name: test-load-balancer-auth-ssl
commands:
- func: bootstrap mongo-orchestration
vars:
TOPOLOGY: sharded_cluster
AUTH: auth
SSL: ssl
LOAD_BALANCER: "true"
- func: run load-balancer
- func: run tests
vars:
AUTH: auth
SSL: ssl
test_loadbalancer: "true"
tags: [load-balancer, auth, ssl]
- name: test-load-balancer-noauth-ssl
commands:
- func: bootstrap mongo-orchestration
vars:
TOPOLOGY: sharded_cluster
AUTH: noauth
SSL: ssl
LOAD_BALANCER: "true"
- func: run load-balancer
- func: run tests
vars:
AUTH: noauth
SSL: ssl
test_loadbalancer: "true"
tags: [load-balancer, noauth, ssl]
- name: test-load-balancer-noauth-nossl
commands:
- func: bootstrap mongo-orchestration
vars:
TOPOLOGY: sharded_cluster
AUTH: noauth
SSL: nossl
LOAD_BALANCER: "true"
- func: run load-balancer
- func: run tests
vars:
AUTH: noauth
SSL: nossl
test_loadbalancer: "true"
tags: [load-balancer, noauth, nossl]

# Server tests
- name: test-4.0-standalone-auth-ssl-sync
commands:
Expand Down
Loading

0 comments on commit 85ba541

Please sign in to comment.