Skip to content

Commit

Permalink
Address warnings in evergreen config (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 17, 2024
1 parent 84c34f1 commit 8d8b6ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800 # 30 minutes
teardown_task_can_fail_task: true
teardown_group_timeout_secs: 1800 # 30 minutes
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
setup_group:
- func: "fetch and prepare resources"
- command: subprocess.exec
Expand All @@ -1018,7 +1018,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800 # 30 minutes
teardown_task_can_fail_task: true
teardown_group_timeout_secs: 1800 # 30 minutes
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
setup_group:
- func: "fetch and prepare resources"
- command: subprocess.exec
Expand Down Expand Up @@ -1050,7 +1050,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
teardown_task_can_fail_task: true
teardown_group_timeout_secs: 1800 # 30 minutes
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
setup_group:
- func: "fetch and prepare resources"
- command: shell.exec
Expand Down Expand Up @@ -1079,9 +1079,9 @@ task_groups:

- name: testgcpoidc_task_group
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
setup_group_timeout_secs: 1800 # 30 minutes
teardown_task_can_fail_task: true
teardown_group_timeout_secs: 1800 # 30 minutes
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
setup_group:
- func: "fetch and prepare resources"
- command: shell.exec
Expand Down Expand Up @@ -1111,8 +1111,8 @@ task_groups:
- name: test_oidc_azure_func_task_group
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
teardown_group_can_fail_task: true
teardown_group_timeout_secs: 1800
teardown_task_can_fail_task: true
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
setup_group:
- func: "fetch and prepare resources"
- command: subprocess.exec
Expand All @@ -1137,7 +1137,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
teardown_task_can_fail_task: true
teardown_group_timeout_secs: 1800 # 30 minutes
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
setup_group:
- func: "fetch and prepare resources"
- command: subprocess.exec
Expand All @@ -1162,7 +1162,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
teardown_task_can_fail_task: true
teardown_group_timeout_secs: 1800 # 30 minutes
teardown_group_timeout_secs: 180 # 3 minutes (maximum allowed)
setup_group:
- func: "fetch and prepare resources"
- command: subprocess.exec
Expand Down
3 changes: 1 addition & 2 deletions .evergreen/download-mongodb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,7 @@ get_mongodb_download_url_for ()
# Get the download url for the latest MongoSH.
# shellcheck disable=SC3028
_script_dir="$(dirname ${BASH_SOURCE:-$0})"
. ${_script_dir}/find-python3.sh
_python3=$(ensure_python3 2>/dev/null)
_python3=$(bash -c ". $_script_dir/find-python3.sh && ensure_python3 2>/dev/null")
MONGOSH_DOWNLOAD_URL=$($_python3 "${_script_dir}/mongosh-dl.py" --no-download | tr -d '\r')

case "$_VERSION" in
Expand Down

0 comments on commit 8d8b6ee

Please sign in to comment.