1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-6038 regression to bash

This commit is contained in:
aleksei.bukhalov
2025-06-19 18:11:41 +02:00
committed by Leonid Fedorov
parent 5d0b3a88f3
commit c9cf1a5944
4 changed files with 126 additions and 44 deletions

View File

@ -535,6 +535,19 @@ function execInnerDocker() {
fi
}
function execInnerDockerNoTTY() {
local container_name=$1
shift 1
docker exec "$container_name" bash -c "$@"
local dockerCommandExitCode=$?
if [[ $dockerCommandExitCode -ne 0 ]]; then
error "Command \"$@\" failed in container \"$container_name\""
exit $dockerCommandExitCode
fi
}
function change_ubuntu_mirror() {
local region="$1"
message "Changing Ubuntu mirror to $region"