Skip to content

Commit 53f568e

Browse files
tests: update environment test config (#178)
1 parent 69963b5 commit 53f568e

File tree

8 files changed

+15
-8
lines changed

8 files changed

+15
-8
lines changed

.kokoro/environment/appengine_flex_container/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ env_vars: {
3030
}
3131
env_vars: {
3232
key: "TRAMPOLINE_BUILD_FILE"
33-
value: "python-logging/.kokoro/environment_tests.sh"
33+
value: "github/python-logging/.kokoro/environment_tests.sh"
3434
}

.kokoro/environment/appengine_flex_python/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ env_vars: {
3030
}
3131
env_vars: {
3232
key: "TRAMPOLINE_BUILD_FILE"
33-
value: "python-logging/.kokoro/environment_tests.sh"
33+
value: "github/python-logging/.kokoro/environment_tests.sh"
3434
}

.kokoro/environment/appengine_standard/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ env_vars: {
3030
}
3131
env_vars: {
3232
key: "TRAMPOLINE_BUILD_FILE"
33-
value: "python-logging/.kokoro/environment_tests.sh"
33+
value: "github/python-logging/.kokoro/environment_tests.sh"
3434
}

.kokoro/environment/cloudrun/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ env_vars: {
3030
}
3131
env_vars: {
3232
key: "TRAMPOLINE_BUILD_FILE"
33-
value: "python-logging/.kokoro/environment_tests.sh"
33+
value: "github/python-logging/.kokoro/environment_tests.sh"
3434
}

.kokoro/environment/compute/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ env_vars: {
3030
}
3131
env_vars: {
3232
key: "TRAMPOLINE_BUILD_FILE"
33-
value: "python-logging/.kokoro/environment_tests.sh"
33+
value: "github/python-logging/.kokoro/environment_tests.sh"
3434
}

.kokoro/environment/functions/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ env_vars: {
3030
}
3131
env_vars: {
3232
key: "TRAMPOLINE_BUILD_FILE"
33-
value: "python-logging/.kokoro/environment_tests.sh"
33+
value: "github/python-logging/.kokoro/environment_tests.sh"
3434
}

.kokoro/environment/kubernetes/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ env_vars: {
3030
}
3131
env_vars: {
3232
key: "TRAMPOLINE_BUILD_FILE"
33-
value: "python-logging/.kokoro/environment_tests.sh"
33+
value: "github/python-logging/.kokoro/environment_tests.sh"
3434
}

.kokoro/environment_tests.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ if [[ -z "${ENVIRONMENT:-}" ]]; then
2020
exit 1
2121
fi
2222

23-
cd python-logging/tests/environment
23+
if [[ -z "${PROJECT_ROOT:-}" ]]; then
24+
PROJECT_ROOT="github/python-logging"
25+
fi
26+
27+
# make sure submodule is up to date
28+
git submodule update --init --recursive
29+
30+
cd "${PROJECT_ROOT}/tests/environment"
2431

2532
# Disable buffering, so that the logs stream through.
2633
export PYTHONUNBUFFERED=1

0 commit comments

Comments
 (0)