Skip to content

Commit 79e3fed

Browse files
committed
improved curl options in Evergreen tests
1 parent 28c3a5a commit 79e3fed

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.evergreen/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ functions:
9393
set -o verbose
9494
set -o errexit
9595
rm -rf mongo-c-driver*
96-
curl --retry 5 http://s3.amazonaws.com/mciuploads/mongo-c-driver/c-driver-benchmark-compile/${revision}/artifacts/${file}.tar.gz -o c-perf-binaries.tar.gz --silent --max-time 120
96+
curl --retry 5 http://s3.amazonaws.com/mciuploads/mongo-c-driver/c-driver-benchmark-compile/${revision}/artifacts/${file}.tar.gz -o c-perf-binaries.tar.gz -sS --max-time 120
9797
${decompress} c-perf-binaries.tar.gz
9898
rm c-perf-binaries.tar.gz
9999
@@ -116,7 +116,7 @@ functions:
116116
script: |
117117
set -o verbose
118118
set -o errexit
119-
curl --retry 5 https://s3.amazonaws.com/boxes.10gen.com/build/driver-test-data.tar.gz -o driver-test-data.tar.gz --silent --max-time 120
119+
curl --retry 5 https://s3.amazonaws.com/boxes.10gen.com/build/driver-test-data.tar.gz -o driver-test-data.tar.gz -sS --max-time 120
120120
${decompress} driver-test-data.tar.gz
121121
122122
"run benchmark tests" :

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ functions:
4141
script: |
4242
set -o xtrace
4343
rm -f *.tar.gz
44-
curl --retry 5 http://s3.amazonaws.com/mciuploads/mongo-c-driver/${branch_name}/mongo-c-driver-${CURRENT_VERSION}.tar.gz --output mongoc.tar.gz --silent --max-time 120
44+
curl --retry 5 http://s3.amazonaws.com/mciuploads/mongo-c-driver/${branch_name}/mongo-c-driver-${CURRENT_VERSION}.tar.gz --output mongoc.tar.gz -sS --max-time 120
4545
4646
"upload release":
4747
- command: shell.exec

.evergreen/download-mongodb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ download_and_extract ()
222222
EXTRACT=$2
223223

224224
if ! test -d mongodb -a -x mongodb/bin/mongod; then
225-
curl --retry 5 $MONGODB_DOWNLOAD_URL --silent --max-time 120 --fail --output mongodb-binaries.tgz
225+
curl --retry 15 $MONGODB_DOWNLOAD_URL -sS --max-time 300 --fail --output mongodb-binaries.tgz
226226

227227
$EXTRACT mongodb-binaries.tgz
228228

.evergreen/find-cmake.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ find_cmake ()
1515
elif command -v cmake 2>/dev/null; then
1616
CMAKE=cmake
1717
elif uname -a | grep -iq 'x86_64 GNU/Linux'; then
18-
curl --retry 5 https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz --silent --max-time 120 --fail --output cmake.tar.gz
18+
curl --retry 5 https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz -sS --max-time 120 --fail --output cmake.tar.gz
1919
mkdir cmake-3.11.0
2020
tar xzf cmake.tar.gz -C cmake-3.11.0 --strip-components=1
2121
CMAKE=$(pwd)/cmake-3.11.0/bin/cmake
2222
else
2323
# Some images have no cmake yet, BUILD-4922.
2424
echo "-- MAKE CMAKE --"
25-
curl --retry 5 https://cmake.org/files/v3.11/cmake-3.11.0.tar.gz --silent --max-time 120 --fail --output cmake.tar.gz
25+
curl --retry 5 https://cmake.org/files/v3.11/cmake-3.11.0.tar.gz -sS --max-time 120 --fail --output cmake.tar.gz
2626
tar xzf cmake.tar.gz
2727
cd cmake-3.11.0
2828
./bootstrap --prefix="${INSTALL_DIR}"

.evergreen/integration-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ case "$OS" in
113113
esac
114114

115115
sleep 15
116-
curl http://localhost:8889/ --silent --max-time 120 --fail
116+
curl http://localhost:8889/ -sS --max-time 120 --fail
117117

118118
sleep 5
119119

120120
pwd
121-
curl --silent --data @"$ORCHESTRATION_FILE" "$ORCHESTRATION_URL" --max-time 300 --fail
121+
curl -sS --data @"$ORCHESTRATION_FILE" "$ORCHESTRATION_URL" --max-time 300 --fail
122122

123123
sleep 15
124124

.evergreen/link-sample-program-msvc.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cd %BUILD_DIR%
3030

3131
if "%ENABLE_SNAPPY%"=="1" (
3232
rem Enable Snappy
33-
curl --silent --retry 5 -LO https://github.com/google/snappy/archive/1.1.7.tar.gz
33+
curl -sS --retry 5 -LO https://github.com/google/snappy/archive/1.1.7.tar.gz
3434
%TAR% xzf 1.1.7.tar.gz
3535
cd snappy-1.1.7
3636
%CMAKE% -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR% .

0 commit comments

Comments
 (0)