Skip to content

Commit

Permalink
MOTOR-1109 Switch to Supported Build Hosts (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Apr 12, 2023
1 parent f9aed97 commit 6462f1e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
35 changes: 17 additions & 18 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ functions:
AUTH="${AUTH}" \
SSL="${SSL}" \
CERT_DIR="${DRIVERS_TOOLS}/.evergreen/x509gen" \
sh ${PROJECT_DIRECTORY}/.evergreen/run-tox.sh
bash ${PROJECT_DIRECTORY}/.evergreen/run-tox.sh
"run enterprise auth tests":
- command: shell.exec
Expand Down Expand Up @@ -909,21 +909,18 @@ axes:
- id: os
display_name: "Operating System"
values:
- id: "rhel"
display_name: "RHEL 6.2"
run_on: "rhel62-small"
- id: "rhel84"
display_name: "RHEL 8.4"
run_on: "rhel84-small"
variables:
TOX_BINARY: "/opt/python/3.7/bin/tox"
- id: "ubuntu-18"
display_name: "Ubuntu 18.04"
run_on: "ubuntu1804-small"
variables:
TOX_BINARY: "/opt/python/3.7/bin/tox"
INSTALL_TOX: true
VIRTUALENV: "/opt/python/3.7/bin/python3 -m virtualenv"
- id: "ubuntu-20"
display_name: "Ubuntu"
display_name: "Ubuntu 20.04"
run_on: "ubuntu2004-small"
variables:
TOX_BINARY: "/opt/python/3.7/bin/tox"
INSTALL_TOX: true
VIRTUALENV: "/opt/python/3.7/bin/python3 -m virtualenv"
- id: "win"
display_name: "Windows"
run_on: "windows-64-vsMulti-small"
Expand All @@ -943,7 +940,7 @@ buildvariants:
- matrix_name: "main"
display_name: "${os}-${tox-env}-${ssl}"
matrix_spec:
os: "ubuntu-18"
os: "rhel84"
tox-env: "*"
ssl: "*"
exclude_spec:
Expand Down Expand Up @@ -1006,28 +1003,30 @@ buildvariants:
display_name: "Enterprise Auth-${tox-env}"
matrix_spec: {"tox-env": ["synchro37"], ssl: "ssl"}
run_on:
- ubuntu-18
- "ubuntu2004-small"
tasks:
- name: "test-enterprise-auth"

- name: "docs"
display_name: "Docs - Build"
run_on:
- ubuntu-18
- "ubuntu2004-small"
expansions:
TOX_ENV: "py3-sphinx-docs"
TOX_BINARY: "/opt/python/3.7/bin/tox"
INSTALL_TOX: true
VIRTUALENV: "/opt/python/3.7/bin/python3 -m virtualenv"
PYTHON_BINARY: "/opt/python/3.7/bin/python3"
tasks:
- name: "docs"

- name: "doctests"
display_name: "Docs - Test"
run_on:
- ubuntu-18
- "ubuntu2004-small"
expansions:
TOX_ENV: "py3-sphinx-doctest"
TOX_BINARY: "/opt/python/3.7/bin/tox"
INSTALL_TOX: true
VIRTUALENV: "/opt/python/3.7/bin/python3 -m virtualenv"
PYTHON_BINARY: "/opt/python/3.7/bin/python3"
tasks:
- name: "doctest"
2 changes: 1 addition & 1 deletion .evergreen/run-tox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if [ "${INSTALL_TOX}" = "true" ]; then
source motorenv/Scripts/activate
fi
set -o xtrace
pip install tox>=3.18
pip install "tox>=3.18,<4"
TOX_BINARY=tox
fi

Expand Down

0 comments on commit 6462f1e

Please sign in to comment.