Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Commit d2dca08

Browse files
authored
fix(ruby-docker): add pip install trusted hosts to fix SSLCertVerificationError (#235)
1 parent 8cabae1 commit d2dca08

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

runtime-config.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ GCLOUD_VERSION=387.0.0
4949
# This is the version of the libssl1.0 package in Ubuntu 20_04, used to build
5050
# pre-2.4 versions of Ruby. It should match what is available under the
5151
# directory http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/
52-
SSL10_VERSION=1.0.2n-1ubuntu5.10
52+
SSL10_VERSION=1.0.2n-1ubuntu5.13

tools/ci-scripts/deploy_check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ fi
1212

1313
cd ${KOKORO_GFILE_DIR}/appengine/integration_tests
1414

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

1717
if [ -f ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt ]
1818
then
19-
sudo /usr/local/bin/pip install --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt
19+
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
2020
fi
2121

2222
export DEPLOY_LATENCY_PROJECT='cloud-deploy-latency'

tools/ci-scripts/integration-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ source ${KOKORO_GFILE_DIR}/kokoro/common.sh
77

88
export GOOGLE_CLOUD_PROJECT=gcp-runtimes
99

10-
sudo /usr/local/bin/pip install --upgrade -r ${KOKORO_GFILE_DIR}/appengine/integration_tests/requirements.txt
10+
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
1111

1212
if [ -f ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt ]
1313
then
14-
sudo /usr/local/bin/pip install --upgrade -r ${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}/requirements.txt
14+
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
1515
fi
1616

1717
export GOPATH=${KOKORO_GITHUB_DIR}/${SAMPLE_APP_DIRECTORY}

0 commit comments

Comments
 (0)