Skip to content

Commit 3e8a243

Browse files
authored
CDRIVER-4608 Reload expansions before deleting Azure resources (#1234)
1 parent 9b1840a commit 3e8a243

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.evergreen/generated_configs/legacy-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9204,6 +9204,9 @@ task_groups:
92049204
params:
92059205
file: testazurekms-expansions.yml
92069206
teardown_group:
9207+
- command: expansions.update
9208+
params:
9209+
file: testazurekms-expansions.yml
92079210
- command: shell.exec
92089211
params:
92099212
shell: bash

.evergreen/legacy_config_generator/evergreen_config_lib/testazurekms.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ def _create_task_group():
124124
]
125125

126126
task_group.teardown_group = [
127+
# Load expansions again. The setup task may have failed before running `expansions.update`.
128+
OD([('command', 'expansions.update'),
129+
('params', OD([
130+
('file', 'testazurekms-expansions.yml'),
131+
]))]),
127132
shell_exec(r'''
128133
DRIVERS_TOOLS=$(pwd)/drivers-evergreen-tools
129134
export AZUREKMS_VMNAME=${AZUREKMS_VMNAME}

0 commit comments

Comments
 (0)