Skip to content

Commit

Permalink
fix(ruby-docker): add pip install trusted hosts to fix SSLCertVerific…
Browse files Browse the repository at this point in the history
…ationError (#235)
  • Loading branch information
aandreassa committed Feb 6, 2024
1 parent 8cabae1 commit d2dca08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion runtime-config.env
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ GCLOUD_VERSION=387.0.0
# This is the version of the libssl1.0 package in Ubuntu 20_04, used to build
# pre-2.4 versions of Ruby. It should match what is available under the
# directory http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/
SSL10_VERSION=1.0.2n-1ubuntu5.10
SSL10_VERSION=1.0.2n-1ubuntu5.13
4 changes: 2 additions & 2 deletions tools/ci-scripts/deploy_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ fi

cd ${KOKORO_GFILE_DIR}/appengine/integration_tests

sudo /usr/local/bin/pip install --upgrade -r requirements.txt
sudo /usr/local/bin/pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --upgrade -r requirements.txt

if [ -f ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt ]
then
sudo /usr/local/bin/pip install --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt
sudo /usr/local/bin/pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt
fi

export DEPLOY_LATENCY_PROJECT='cloud-deploy-latency'
Expand Down
4 changes: 2 additions & 2 deletions tools/ci-scripts/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ source ${KOKORO_GFILE_DIR}/kokoro/common.sh

export GOOGLE_CLOUD_PROJECT=gcp-runtimes

sudo /usr/local/bin/pip install --upgrade -r ${KOKORO_GFILE_DIR}/appengine/integration_tests/requirements.txt
sudo /usr/local/bin/pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --upgrade -r ${KOKORO_GFILE_DIR}/appengine/integration_tests/requirements.txt

if [ -f ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt ]
then
sudo /usr/local/bin/pip install --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt
sudo /usr/local/bin/pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt
fi

export GOPATH=${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}
Expand Down

0 comments on commit d2dca08

Please sign in to comment.