Skip to content

Commit b063cb6

Browse files
committed
Merge #18081: test: set a name for CI Docker containers
9e111db test: set a name for CI Docker containers (fanquake) Pull request description: Addresses one part of #16664, by making it easier to identify CI containers that are running locally. By default Docker will generate random names, like `peaceful_rubin`, with this change, we explicitly set names for all containers. ACKs for top commit: MarcoFalke: ACK 9e111db Tree-SHA512: 0a29ada0d8cf6b0e9ae7a35f4f6df7a3dcc448523ceaed01371124360d6e3d1bf351172104a5fb629488eeaa57994ba04134dcb83c261eb1dfd2f0d73edf5f60
2 parents ab7915f + 9e111db commit b063cb6

13 files changed

+13
-0
lines changed

ci/test/00_setup_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
3434
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}
3535
export RUN_FUNCTIONAL_TESTS=${RUN_FUNCTIONAL_TESTS:-true}
3636
export RUN_FUZZ_TESTS=${RUN_FUZZ_TESTS:-false}
37+
export CONTAINER_NAME=${CONTAINER_NAME:-ci_unnamed}
3738
export DOCKER_NAME_TAG=${DOCKER_NAME_TAG:-ubuntu:18.04}
3839
# Randomize test order.
3940
# See https://www.boost.org/doc/libs/1_71_0/libs/test/doc/html/boost_test/utf_reference/rt_param_reference/random.html

ci/test/00_setup_env_arm.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ if [ -n "$QEMU_USER_CMD" ]; then
1616
# Likely cross-compiling, so install the needed gcc and qemu-user
1717
export PACKAGES="$PACKAGES qemu-user"
1818
fi
19+
export CONTAINER_NAME=ci_arm_linux
1920
# Use debian to avoid 404 apt errors when cross compiling
2021
export DOCKER_NAME_TAG="debian:buster"
2122
export USE_BUSY_BOX=true

ci/test/00_setup_env_i686_centos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
export LC_ALL=C.UTF-8
88

99
export HOST=i686-pc-linux-gnu
10+
export CONTAINER_NAME=ci_i686_centos_7
1011
export DOCKER_NAME_TAG=centos:7
1112
export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python36-zmq which patch lbzip2 dash"
1213
export GOAL="install"

ci/test/00_setup_env_mac.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
export LC_ALL=C.UTF-8
88

9+
export CONTAINER_NAME=ci_macos_cross
910
export HOST=x86_64-apple-darwin16
1011
export PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools"
1112
export OSX_SDK=10.14

ci/test/00_setup_env_native_asan.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
export LC_ALL=C.UTF-8
88

9+
export CONTAINER_NAME=ci_native_asan
910
export PACKAGES="clang-8 llvm-8 python3-zmq qtbase5-dev qttools5-dev-tools libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
1011
# Use clang-8 instead of default clang (which is clang-6 on Bionic) to avoid spurious segfaults when running on ppc64le
1112
export NO_DEPENDS=1

ci/test/00_setup_env_native_fuzz.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
export LC_ALL=C.UTF-8
88

9+
export CONTAINER_NAME=ci_native_fuzz
910
export PACKAGES="clang-8 llvm-8 python3 libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev"
1011
export NO_DEPENDS=1
1112
export RUN_UNIT_TESTS=false

ci/test/00_setup_env_native_nowallet.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
export LC_ALL=C.UTF-8
88

9+
export CONTAINER_NAME=ci_native_nowallet
910
export PACKAGES="python3-zmq"
1011
export DEP_OPTS="NO_WALLET=1"
1112
export GOAL="install"

ci/test/00_setup_env_native_qt5.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
export LC_ALL=C.UTF-8
88

9+
export CONTAINER_NAME=ci_native_qt5
910
export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev"
1011
export DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
1112
export TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash

ci/test/00_setup_env_native_tsan.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
export LC_ALL=C.UTF-8
88

9+
export CONTAINER_NAME=ci_native_tsan
910
export DOCKER_NAME_TAG=ubuntu:16.04
1011
export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
1112
export NO_DEPENDS=1

ci/test/00_setup_env_native_valgrind.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
export LC_ALL=C.UTF-8
88

9+
export CONTAINER_NAME=ci_native_valgrind
910
export PACKAGES="valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev"
1011
export USE_VALGRIND=1
1112
export NO_DEPENDS=1

0 commit comments

Comments
 (0)