From 99a23dd7a079998ccb4c75c7cfa0ab37e5039889 Mon Sep 17 00:00:00 2001 From: Matt Klein Date: Tue, 4 Apr 2017 15:41:23 -0700 Subject: [PATCH] build: add set -e on recipe scripts --- ci/build_container/build_recipes/boringssl.sh | 2 ++ ci/build_container/build_recipes/cares.sh | 2 ++ ci/build_container/build_recipes/cotire.sh | 2 ++ ci/build_container/build_recipes/gcovr.sh | 2 ++ ci/build_container/build_recipes/googletest.sh | 2 ++ ci/build_container/build_recipes/gperftools.sh | 2 ++ ci/build_container/build_recipes/http-parser.sh | 2 ++ ci/build_container/build_recipes/libevent.sh | 2 ++ ci/build_container/build_recipes/lightstep.sh | 2 ++ ci/build_container/build_recipes/nghttp2.sh | 2 ++ ci/build_container/build_recipes/protobuf.sh | 2 ++ ci/build_container/build_recipes/rapidjson.sh | 2 ++ ci/build_container/build_recipes/spdlog.sh | 2 ++ ci/build_container/build_recipes/tclap.sh | 2 ++ 14 files changed, 28 insertions(+) diff --git a/ci/build_container/build_recipes/boringssl.sh b/ci/build_container/build_recipes/boringssl.sh index ab2ea2b0549e..24d200f36876 100644 --- a/ci/build_container/build_recipes/boringssl.sh +++ b/ci/build_container/build_recipes/boringssl.sh @@ -1,3 +1,5 @@ +set -e + git clone https://boringssl.googlesource.com/boringssl cd boringssl git reset --hard b87c80300647c2c0311c1489a104470e099f1531 diff --git a/ci/build_container/build_recipes/cares.sh b/ci/build_container/build_recipes/cares.sh index c3bf8ca0d425..06d8c9da721b 100644 --- a/ci/build_container/build_recipes/cares.sh +++ b/ci/build_container/build_recipes/cares.sh @@ -1,3 +1,5 @@ +set -e + wget https://github.com/c-ares/c-ares/archive/cares-1_12_0.tar.gz tar xf cares-1_12_0.tar.gz cd c-ares-cares-1_12_0 diff --git a/ci/build_container/build_recipes/cotire.sh b/ci/build_container/build_recipes/cotire.sh index b0e709ebf13c..2b603b1bbc85 100644 --- a/ci/build_container/build_recipes/cotire.sh +++ b/ci/build_container/build_recipes/cotire.sh @@ -1,3 +1,5 @@ +set -e + wget https://github.com/sakra/cotire/archive/cotire-1.7.8.tar.gz tar xf cotire-1.7.8.tar.gz rsync -av cotire-cotire-1.7.8 $THIRDPARTY_SRC diff --git a/ci/build_container/build_recipes/gcovr.sh b/ci/build_container/build_recipes/gcovr.sh index 2b8ec72dfea9..35661132e0ce 100644 --- a/ci/build_container/build_recipes/gcovr.sh +++ b/ci/build_container/build_recipes/gcovr.sh @@ -1,3 +1,5 @@ +set -e + wget -O gcovr-3.3.tar.gz https://github.com/gcovr/gcovr/archive/3.3.tar.gz tar xf gcovr-3.3.tar.gz rsync -av gcovr-3.3 $THIRDPARTY_SRC diff --git a/ci/build_container/build_recipes/googletest.sh b/ci/build_container/build_recipes/googletest.sh index a8f7cc1ae719..95a87d6c120a 100644 --- a/ci/build_container/build_recipes/googletest.sh +++ b/ci/build_container/build_recipes/googletest.sh @@ -1,3 +1,5 @@ +set -e + wget -O googletest-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz tar xf googletest-1.8.0.tar.gz cd googletest-release-1.8.0 diff --git a/ci/build_container/build_recipes/gperftools.sh b/ci/build_container/build_recipes/gperftools.sh index 639de3e21e64..a8c17e1b023e 100644 --- a/ci/build_container/build_recipes/gperftools.sh +++ b/ci/build_container/build_recipes/gperftools.sh @@ -1,3 +1,5 @@ +set -e + wget https://github.com/gperftools/gperftools/releases/download/gperftools-2.5/gperftools-2.5.tar.gz tar xf gperftools-2.5.tar.gz cd gperftools-2.5 diff --git a/ci/build_container/build_recipes/http-parser.sh b/ci/build_container/build_recipes/http-parser.sh index b8d75347a3e0..612ad1d743ea 100644 --- a/ci/build_container/build_recipes/http-parser.sh +++ b/ci/build_container/build_recipes/http-parser.sh @@ -1,3 +1,5 @@ +set -e + wget -O http-parser-v2.7.0.tar.gz https://github.com/nodejs/http-parser/archive/v2.7.0.tar.gz tar xf http-parser-v2.7.0.tar.gz cd http-parser-2.7.0 diff --git a/ci/build_container/build_recipes/libevent.sh b/ci/build_container/build_recipes/libevent.sh index 48316dc78210..587024ed78d1 100644 --- a/ci/build_container/build_recipes/libevent.sh +++ b/ci/build_container/build_recipes/libevent.sh @@ -1,3 +1,5 @@ +set -e + wget -o - https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz tar xf libevent-2.1.8-stable.tar.gz cd libevent-2.1.8-stable diff --git a/ci/build_container/build_recipes/lightstep.sh b/ci/build_container/build_recipes/lightstep.sh index 5d5efcc1b712..15cd5e241b36 100644 --- a/ci/build_container/build_recipes/lightstep.sh +++ b/ci/build_container/build_recipes/lightstep.sh @@ -1,3 +1,5 @@ +set -e + wget https://github.com/lightstep/lightstep-tracer-cpp/releases/download/v0_36/lightstep-tracer-cpp-0.36.tar.gz tar xf lightstep-tracer-cpp-0.36.tar.gz cd lightstep-tracer-cpp-0.36 diff --git a/ci/build_container/build_recipes/nghttp2.sh b/ci/build_container/build_recipes/nghttp2.sh index c9b3cb9b53f5..966b929519ab 100644 --- a/ci/build_container/build_recipes/nghttp2.sh +++ b/ci/build_container/build_recipes/nghttp2.sh @@ -1,3 +1,5 @@ +set -e + wget https://github.com/nghttp2/nghttp2/releases/download/v1.20.0/nghttp2-1.20.0.tar.gz tar xf nghttp2-1.20.0.tar.gz cd nghttp2-1.20.0 diff --git a/ci/build_container/build_recipes/protobuf.sh b/ci/build_container/build_recipes/protobuf.sh index d9e7bea21451..e5b55c9def34 100644 --- a/ci/build_container/build_recipes/protobuf.sh +++ b/ci/build_container/build_recipes/protobuf.sh @@ -1,3 +1,5 @@ +set -e + wget https://github.com/google/protobuf/releases/download/v3.2.0/protobuf-cpp-3.2.0.tar.gz tar xf protobuf-cpp-3.2.0.tar.gz rsync -av protobuf-3.2.0 $THIRDPARTY_SRC diff --git a/ci/build_container/build_recipes/rapidjson.sh b/ci/build_container/build_recipes/rapidjson.sh index c4bac4f7da8d..f79681364f69 100644 --- a/ci/build_container/build_recipes/rapidjson.sh +++ b/ci/build_container/build_recipes/rapidjson.sh @@ -1,3 +1,5 @@ +set -e + wget -O rapidjson-1.1.0.tar.gz https://github.com/miloyip/rapidjson/archive/v1.1.0.tar.gz tar xf rapidjson-1.1.0.tar.gz rsync -av rapidjson-1.1.0 $THIRDPARTY_SRC diff --git a/ci/build_container/build_recipes/spdlog.sh b/ci/build_container/build_recipes/spdlog.sh index 2677d1bb9ff1..950c9846c0a7 100644 --- a/ci/build_container/build_recipes/spdlog.sh +++ b/ci/build_container/build_recipes/spdlog.sh @@ -1,3 +1,5 @@ +set -e + wget https://github.com/gabime/spdlog/archive/v0.11.0.tar.gz tar xf v0.11.0.tar.gz rsync -av spdlog-0.11.0 $THIRDPARTY_SRC diff --git a/ci/build_container/build_recipes/tclap.sh b/ci/build_container/build_recipes/tclap.sh index bde821ed8e3f..a675f1447d99 100644 --- a/ci/build_container/build_recipes/tclap.sh +++ b/ci/build_container/build_recipes/tclap.sh @@ -1,3 +1,5 @@ +set -e + wget -O tclap-1.2.1.tar.gz https://sourceforge.net/projects/tclap/files/tclap-1.2.1.tar.gz/download tar xf tclap-1.2.1.tar.gz rsync -av tclap-1.2.1 $THIRDPARTY_SRC