2019-08-10 12:56:46 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2023-09-28 06:05:28 -03:00
|
|
|
# Copyright (c) 2019-present The Bitcoin Core developers
|
2019-08-10 12:56:46 -04:00
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
|
|
|
|
set -o errexit; source ./ci/test/00_setup_env.sh
|
2023-09-28 06:05:28 -03:00
|
|
|
set -o errexit; source "./ci/test/02_run_container.sh"
|
2023-05-04 12:40:01 -04:00
|
|
|
set -o errexit
|
|
|
|
CI_EXEC "${BASE_ROOT_DIR}/ci/test/06_script_b.sh"
|
2023-05-05 02:51:41 -04:00
|
|
|
|
|
|
|
if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
|
|
|
|
echo "Stop and remove CI container by ID"
|
|
|
|
docker container kill "${CI_CONTAINER_ID}"
|
|
|
|
fi
|