Generate S3Proxy SSL certificate during tests (#1845)

Also provide CA bundle to AWS CLI to work around CI failures instead
of ignoring errors.  Fixes #1812.
This commit is contained in:
Andrew Gaul
2022-01-09 15:13:36 +09:00
committed by GitHub
parent adb58af17b
commit 577e2bc987
5 changed files with 7 additions and 21 deletions

View File

@ -319,7 +319,7 @@ function aws_cli() {
if [ -n "${S3FS_PROFILE}" ]; then
FLAGS="--profile ${S3FS_PROFILE}"
fi
aws $* --endpoint-url "${S3_URL}" --no-verify-ssl $FLAGS
aws $* --endpoint-url "${S3_URL}" --ca-bundle /tmp/keystore.pem $FLAGS
}
function wait_for_port() {