Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Propagate env vars to sudo invocations. #295

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/deploy-check-jetty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ EOF

cd ${KOKORO_GFILE_DIR}/appengine/integration_tests

sudo /usr/local/bin/pip install --upgrade -r requirements.txt
sudo -E /usr/local/bin/pip install --upgrade -r requirements.txt

if [ -f ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_SOURCE_DIRECTORY}/requirements.txt ]
then
sudo /usr/local/bin/pip install --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_SOURCE_DIRECTORY}/requirements.txt
sudo -E /usr/local/bin/pip install --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_SOURCE_DIRECTORY}/requirements.txt
fi

export DEPLOY_LATENCY_PROJECT='cloud-deploy-latency'
Expand Down