ci: disable sauce-connect ssl bumping (#29447)

By default we disable SSL bumping for all requests. This is because SSL
bumping is not needed for our test setup and in order to perform the SSL
bumping, Saucelabs intercepts all HTTP requests in the tunnel VM and modifies
them. This can cause flakiness as it makes all requests dependent on the SSL bumping
middleware.

See: https://wiki.saucelabs.com/display/DOCS/Troubleshooting+Sauce+Connect#TroubleshootingSauceConnect-DisablingSSLBumping

PR Close #29447
This commit is contained in:
Paul Gschwendtner 2019-03-21 20:00:11 +01:00 committed by Miško Hevery
parent c75e16aae8
commit a8af83bf36

View File

@ -4,8 +4,12 @@ set -x -u -e -o pipefail
readonly currentDir=$(cd $(dirname $0); pwd) readonly currentDir=$(cd $(dirname $0); pwd)
# Command arguments that will be passed to sauce-connect. # Command arguments that will be passed to sauce-connect. By default we disable SSL bumping for
sauceArgs="" # all requests. This is because SSL bumping is not needed for our test setup and in order
# to perform the SSL bumping, Saucelabs intercepts all HTTP requests in the tunnel VM and modifies
# them. This can cause flakiness as it makes all requests dependent on the SSL bumping middleware.
# See: https://wiki.saucelabs.com/display/DOCS/Troubleshooting+Sauce+Connect#TroubleshootingSauceConnect-DisablingSSLBumping
sauceArgs="--no-ssl-bump-domains all"
if [[ ! -z "${SAUCE_LOG_FILE:-}" ]]; then if [[ ! -z "${SAUCE_LOG_FILE:-}" ]]; then
mkdir -p $(dirname ${SAUCE_LOG_FILE}) mkdir -p $(dirname ${SAUCE_LOG_FILE})