diff --git a/appengine/runtime_builders/template_builder.sh b/appengine/runtime_builders/template_builder.sh index eef41786f..63c44c8fb 100644 --- a/appengine/runtime_builders/template_builder.sh +++ b/appengine/runtime_builders/template_builder.sh @@ -11,5 +11,5 @@ fi source "$KOKORO_GFILE_DIR/common.sh" cd github -yes | sudo pip3 install ruamel.yaml +yes | sudo -E pip3 install ruamel.yaml python3 runtimes-common/appengine/runtime_builders/template_builder.py -f "${KOKORO_GFILE_DIR}/${CONFIG_FILE}" diff --git a/hack/kokoro-test.sh b/hack/kokoro-test.sh index 01126c4e8..b69f2fc8e 100755 --- a/hack/kokoro-test.sh +++ b/hack/kokoro-test.sh @@ -15,7 +15,7 @@ fi pushd github/runtimes-common # Install deps. -sudo pip install --upgrade -r requirements.txt +sudo -E pip install --upgrade -r requirements.txt echo "Running unit tests..." # Run the tests.