Skip to content

Commit ac4adb8

Browse files
committed
add files
1 parent b8dc748 commit ac4adb8

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.evergreen/run-tests.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ else
2424
exit 1
2525
fi
2626

27+
# Source the local secrets export file if available.
28+
if [ -f "./secrets-export.sh" ]; then
29+
echo "Sourcing local secrets file"
30+
. "./secrets-export.sh"
31+
fi
32+
2733
# List the packages.
2834
PIP_QUIET=0 uv run ${UV_ARGS} --with pip pip list
2935

.evergreen/scripts/oidc_tester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def setup_oidc(sub_test_name: str) -> dict[str, str] | None:
2727
env = os.environ.copy()
2828
if sub_test_name == "azure":
2929
env["AZUREOIDC_VMNAME_PREFIX"] = "PYTHON_DRIVER"
30-
elif "-remote" not in sub_test_name:
30+
if "-remote" not in sub_test_name:
3131
run_command(f"bash {target_dir}/setup.sh", env=env)
3232
if sub_test_name in K8S_NAMES:
3333
run_command(f"bash {target_dir}/setup-pod.sh {sub_test_name}")

.evergreen/scripts/setup_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ def handle_test_env() -> None:
120120
SSL = "ssl" if opts.ssl else "nossl"
121121
TEST_ARGS = ""
122122

123+
# Remove an existing local secrets file if it exists.
124+
(ROOT / "secrets-export.sh").unlink(missing_ok=True)
125+
123126
# Start compiling the args we'll pass to uv.
124127
# Run in an isolated environment so as not to pollute the base venv.
125128
UV_ARGS = ["--isolated --extra test"]

0 commit comments

Comments
 (0)