Apache DataFusion SQL Query Engine
ARROW-8430: [CI] Configure self-hosted runners for Github Actions
Krisztián Szűcs11f7abeb334a
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.ymlindex e829064754..0a7d3ad187 100644--- a/.github/workflows/cpp.yml+++ b/.github/workflows/cpp.yml@@ -92,6 +92,77 @@ jobs:continue-on-error: truerun: archery docker push ${{ matrix.image }}+ docker-arm:+ # NOTE: this job is specific for self-hosted runners+ # CACHING: don't use the cache plugin because of various permission+ # issues and keep the cached docker volumes permanently on the+ # host+ # PYTHON: no distributions are built for arm machines by the github+ # actions team, so python>3.6 must be preinstalled on the self+ # hosted machines+ name: ${{ matrix.title }}+ runs-on: ${{ matrix.runner }}+ if: github.event_name == 'push'+ defaults:+ # to use certain environment variables are set by .bashrc an interactive+ # bash shell must be used+ run:+ shell: bash -i {0}+ strategy:+ fail-fast: false+ matrix:+ name:+ - arm32v7-debian-10-cpp+ - arm64v8-ubuntu-20.04-cpp+ include:+ - name: arm32v7-debian-10-cpp+ debian: 10+ title: ARM32v7 Debian 10 C+++ image: |+ -e CPP_MAKE_PARALLELISM=4 \+ -e CXXFLAGS=-Wno-psabi \+ -e ARROW_PARQUET=OFF \+ -e ARROW_FLIGHT=OFF \+ -e ARROW_GANDIVA=OFF \+ -e CMAKE_ARGS=-DARROW_CPU_FLAG=armv7 \+ debian-cpp+ arch: 'arm32v7'+ runner: [self-hosted, linux, ARM]+ - name: arm64v8-ubuntu-20.04-cpp+ ubuntu: 20.04+ title: ARM64v8 Ubuntu 20.04 C+++ image: |+ -e CPP_MAKE_PARALLELISM=1 \+ -e ARROW_PARQUET=OFF \+ ubuntu-cpp+ arch: 'arm64v8'+ runner: [self-hosted, linux, ARM64]+ env:+ # the defaults here should correspond to the values in .env+ ARCH: ${{ matrix.arch || 'arm64v8' }}+ DEBIAN: ${{ matrix.debian || 10 }}+ FEDORA: ${{ matrix.fedora || 32 }}+ UBUNTU: ${{ matrix.ubuntu || 18.04 }}+ LLVM: 8+ steps:+ - name: Checkout Arrow+ uses: actions/checkout@v2+ with:+ fetch-depth: 0+ - name: Fetch Submodules and Tags+ run: ci/scripts/util_checkout.sh+ - name: Setup Archery+ run: pip install -U -e dev/archery[docker]+ - name: Execute Docker Build+ # parallelism is reduced because the ARM builders are low on memory+ run: |+ ulimit -c unlimited+ archery docker run ${{ matrix.image }}+ - name: Docker Push+ if: success() && github.event_name == 'push' && github.repository == 'apache/arrow'+ continue-on-error: true+ run: archery docker push ${{ matrix.image }}+macos:name: AMD64 MacOS 10.15 C++runs-on: macos-latestdiff --git a/.github/workflows/cpp_cron.yml b/.github/workflows/cpp_cron.ymlindex a440bec001..95c5f4b7cb 100644--- a/.github/workflows/cpp_cron.yml+++ b/.github/workflows/cpp_cron.yml@@ -37,7 +37,6 @@ env:ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}jobs:-docker:name: ${{ matrix.title }}runs-on: ubuntu-latest@@ -46,34 +45,35 @@ jobs:fail-fast: falsematrix:name:- - debian-10-cpp- - fedora-32-cpp- - ubuntu-16.04-cpp- - ubuntu-18.04-cpp- - ubuntu-18.04-cpp-cmake32+ - amd64-debian-10-cpp+ - amd64-fedora-32-cpp+ - amd64-ubuntu-16.04-cpp+ - amd64-ubuntu-18.04-cpp+ - amd64-ubuntu-18.04-cpp-cmake32include:- - name: debian-10-cpp+ - name: amd64-debian-10-cppimage: debian-cpptitle: AMD64 Debian 10 C++debian: 10- - name: fedora-32-cpp+ - name: amd64-fedora-32-cppimage: fedora-cpptitle: AMD64 Fedora 32 C++fedora: 32- - name: ubuntu-16.04-cpp+ - name: amd64-ubuntu-16.04-cppimage: ubuntu-cpptitle: AMD64 Ubuntu 16.04 C++ubuntu: 16.04- - name: ubuntu-18.04-cpp+ - name: amd64-ubuntu-18.04-cppimage: ubuntu-cpptitle: AMD64 Ubuntu 18.04 C++ubuntu: 18.04- - name: ubuntu-18.04-cpp-cmake32+ - name: amd64-ubuntu-18.04-cpp-cmake32image: ubuntu-cpp-cmake32title: AMD64 Ubuntu 18.04 C++ CMake 3.2ubuntu: 18.04env:# the defaults here should correspond to the values in .env+ ARCH: 'amd64'DEBIAN: ${{ matrix.debian || 10 }}FEDORA: ${{ matrix.fedora || 32 }}UBUNTU: ${{ matrix.ubuntu || 18.04 }}@@ -134,7 +134,6 @@ jobs:repository: google/oss-fuzzref: master- name: Install dependencies- shell: bashworking-directory: ../oss-fuzzrun: |python3 -m pip install setuptoolsdiff --git a/ci/docker/ubuntu-14.04-cpp.dockerfile b/ci/docker/ubuntu-14.04-cpp.dockerfileindex 5f24f9a353..f44326df0c 100644--- a/ci/docker/ubuntu-14.04-cpp.dockerfile+++ b/ci/docker/ubuntu-14.04-cpp.dockerfile@@ -56,8 +56,8 @@ RUN apt-get update -y -q && \# - libre2-dev unavailable# - liblz4-dev is too oldENV ARROW_BUILD_TESTS=ON \- ARROW_DEPENDENCY_SOURCE=SYSTEM \ARROW_DATASET=ON \+ ARROW_DEPENDENCY_SOURCE=SYSTEM \ARROW_FLIGHT=OFF \ARROW_GANDIVA_JAVA=OFF \ARROW_GANDIVA=OFF \@@ -68,7 +68,6 @@ ENV ARROW_BUILD_TESTS=ON \ARROW_WITH_BROTLI=ON \ARROW_WITH_BZ2=ON \ARROW_WITH_LZ4=ON \- ARROW_WITH_OPENSSL=OFF \ARROW_WITH_SNAPPY=ON \ARROW_WITH_ZLIB=ON \ARROW_WITH_ZSTD=ON \@@ -83,8 +82,9 @@ ENV ARROW_BUILD_TESTS=ON \GTest_SOURCE=BUNDLED \Lz4_SOURCE=BUNDLED \ORC_SOURCE=BUNDLED \- PARQUET_BUILD_EXECUTABLES=ON \PARQUET_BUILD_EXAMPLES=ON \+ PARQUET_BUILD_EXECUTABLES=ON \+ PARQUET_REQUIRE_ENCRYPTION=OFF \PATH=/usr/lib/ccache/:$PATH \Protobuf_SOURCE=BUNDLED \RapidJSON_SOURCE=BUNDLED \diff --git a/ci/scripts/cpp_build.sh b/ci/scripts/cpp_build.shindex ead358dcfa..b84d72c352 100755--- a/ci/scripts/cpp_build.sh+++ b/ci/scripts/cpp_build.sh@@ -117,7 +117,7 @@ cmake -G "${CMAKE_GENERATOR:-Ninja}" \-DORC_SOURCE=${ORC_SOURCE:-} \-DPARQUET_BUILD_EXECUTABLES=${PARQUET_BUILD_EXECUTABLES:-OFF} \-DPARQUET_BUILD_EXAMPLES=${PARQUET_BUILD_EXAMPLES:-OFF} \- -DPARQUET_REQUIRE_ENCRYPTION=${ARROW_WITH_OPENSSL:-ON} \+ -DPARQUET_REQUIRE_ENCRYPTION=${PARQUET_REQUIRE_ENCRYPTION:-ON} \-DProtobuf_SOURCE=${Protobuf_SOURCE:-} \-DRapidJSON_SOURCE=${RapidJSON_SOURCE:-} \-DRE2_SOURCE=${RE2_SOURCE:-} \@@ -127,7 +127,11 @@ cmake -G "${CMAKE_GENERATOR:-Ninja}" \${CMAKE_ARGS} \${source_dir}-time cmake --build . --target install+if [ ! -z "${CPP_MAKE_PARALLELISM}" ]; then+ time cmake --build . --target install -- -j${CPP_MAKE_PARALLELISM}+else+ time cmake --build . --target install+fipopddiff --git a/dev/archery/archery/cli.py b/dev/archery/archery/cli.pyindex 0da72aa9cd..1cbc18e40e 100644--- a/dev/archery/archery/cli.py+++ b/dev/archery/archery/cli.py@@ -681,7 +681,6 @@ def docker_compose(obj, src):# take the docker-compose parameters like PYTHON, PANDAS, UBUNTU from the# environment variables to keep the usage similar to docker-composeobj['compose'] = DockerCompose(config_path, params=os.environ)- obj['compose'].validate()@docker_compose.command('run')@@ -689,6 +688,8 @@ def docker_compose(obj, src):@click.argument('command', required=False, default=None)@click.option('--env', '-e', multiple=True,help="Set environment variable within the container")[email protected]('--user', '-u', default=None,+ help="Username or UID to run the container with")@click.option('--force-pull/--no-pull', default=True,help="Whether to force pull the image and its ancestor images")@click.option('--force-build/--no-build', default=True,@@ -708,8 +709,9 @@ def docker_compose(obj, src):@click.option('--volume', '-v', multiple=True,help="Set volume within the container")@click.pass_obj-def docker_compose_run(obj, image, command, *, env, force_pull, force_build,- build_only, use_cache, use_leaf_cache, dry_run, volume):+def docker_compose_run(obj, image, command, *, env, user, force_pull,+ force_build, build_only, use_cache, use_leaf_cache,+ dry_run, volume):"""Execute docker-compose builds.To see the available builds run `archery docker list`.@@ -754,12 +756,13 @@ def docker_compose_run(obj, image, command, *, env, force_pull, force_build,compose._execute = MethodType(_print_command, compose)- env = dict(kv.split('=') for kv in env)+ env = dict(kv.split('=', 1) for kv in env)try:compose.run(image,command=command,env=env,+ user=user,force_pull=force_pull,force_build=force_build,build_only=build_only,diff --git a/dev/archery/archery/docker.py b/dev/archery/archery/docker.pyindex 92beec7220..e69a261cb3 100644--- a/dev/archery/archery/docker.py+++ b/dev/archery/archery/docker.py@@ -17,6 +17,7 @@import osimport subprocess+from io import StringIOfrom dotenv import dotenv_valuesfrom ruamel.yaml import YAML@@ -54,33 +55,27 @@ class DockerCompose(Command):def __init__(self, config_path, dotenv_path=None, compose_bin=None,params=None):+ self.bin = default_bin(compose_bin, 'docker-compose')+self.config_path = _ensure_path(config_path)if dotenv_path:self.dotenv_path = _ensure_path(dotenv_path)else:self.dotenv_path = self.config_path.parent / '.env'+ self._read_env(params)+ self._read_config()++ def _read_config(self):+ """+ Validate and read the docker-compose.yml+ """yaml = YAML()with self.config_path.open() as fp:- self.config = yaml.load(fp)-- self.bin = default_bin(compose_bin, 'docker-compose')- self.nodes = dict(flatten(self.config['x-hierarchy']))- self.dotenv = dotenv_values(str(self.dotenv_path))- if params is None:- self.params = {}- else:- self.params = {k: v for k, v in params.items() if k in self.dotenv}-- # forward the process' environment variables- self._compose_env = os.environ.copy()- # set the defaults from the dotenv files- self._compose_env.update(self.dotenv)- # override the defaults passed as parameters- self._compose_env.update(self.params)+ config = yaml.load(fp)- def validate(self):- services = self.config['services'].keys()+ services = config['services'].keys()+ self.nodes = dict(flatten(config['x-hierarchy']))nodes = self.nodes.keys()errors = []@@ -109,6 +104,26 @@ class DockerCompose(Command):'Found errors with docker-compose:\n{}'.format(msg))+ rendered_config = StringIO(result.stdout.decode())+ self.config = yaml.load(rendered_config)++ def _read_env(self, params):+ """+ Read .env and merge it with explicitly passed parameters.+ """+ self.dotenv = dotenv_values(str(self.dotenv_path))+ if params is None:+ self.params = {}+ else:+ self.params = {k: v for k, v in params.items() if k in self.dotenv}++ # forward the process' environment variables+ self._compose_env = os.environ.copy()+ # set the defaults from the dotenv files+ self._compose_env.update(self.dotenv)+ # override the defaults passed as parameters+ self._compose_env.update(self.params)+def _validate_image(self, name):if name not in self.nodes:raise UndefinedImage(name)@@ -162,7 +177,7 @@ class DockerCompose(Command):def run(self, image, command=None, *, env=None, force_pull=False,force_build=False, use_cache=True, use_leaf_cache=True,- volumes=None, build_only=False):+ volumes=None, build_only=False, user=None):self._validate_image(image)if force_pull:@@ -174,9 +189,13 @@ class DockerCompose(Command):returnargs = []+ if user is not None:+ args.extend(['-u', user])+if env is not None:for k, v in env.items():args.extend(['-e', '{}={}'.format(k, v)])+if volumes is not None:for volume in volumes:args.extend(['--volume', volume])diff --git a/dev/archery/archery/tests/test_cli.py b/dev/archery/archery/tests/test_cli.pyindex 67ff53747f..61ef75ab28 100644--- a/dev/archery/archery/tests/test_cli.py+++ b/dev/archery/archery/tests/test_cli.py@@ -31,6 +31,7 @@ from archery.docker import DockerComposedict(command=None,env={},+ user=None,force_pull=True,force_build=True,build_only=True,@@ -45,6 +46,7 @@ from archery.docker import DockerComposedict(command='bash',env={},+ user=None,force_pull=True,force_build=True,build_only=False,@@ -59,6 +61,7 @@ from archery.docker import DockerComposedict(command=None,env={},+ user=None,force_pull=False,force_build=False,build_only=False,@@ -69,13 +72,14 @@ from archery.docker import DockerCompose),([- 'ubuntu-cpp', '--no-pull', '--force-build', '--no-cache',- '--no-leaf-cache'+ 'ubuntu-cpp', '--no-pull', '--force-build', '--user', 'me',+ '--no-cache', '--no-leaf-cache'],['ubuntu-cpp'],dict(command=None,env={},+ user='me',force_pull=False,force_build=True,build_only=False,@@ -85,7 +89,10 @@ from archery.docker import DockerCompose)),(- ['-e', 'ARROW_GANDIVA=OFF', '-e', 'ARROW_FLIGHT=ON', 'ubuntu-cpp'],+ [+ '-e', 'ARROW_GANDIVA=OFF', '-e', 'ARROW_FLIGHT=ON', '-u', 'root',+ 'ubuntu-cpp'+ ],['ubuntu-cpp'],dict(command=None,@@ -93,6 +100,7 @@ from archery.docker import DockerCompose'ARROW_GANDIVA': 'OFF','ARROW_FLIGHT': 'ON'},+ user='root',force_pull=True,force_build=True,build_only=False,@@ -110,6 +118,7 @@ from archery.docker import DockerComposedict(command=None,env={},+ user=None,force_pull=True,force_build=True,build_only=False,diff --git a/dev/archery/archery/tests/test_docker.py b/dev/archery/archery/tests/test_docker.pyindex 06a156de35..4b7f7c5efc 100644--- a/dev/archery/archery/tests/test_docker.py+++ b/dev/archery/archery/tests/test_docker.py@@ -169,6 +169,14 @@ def create_config(directory, yml_content, env_content=None):return config_path+def format_run(args):+ cmd = ["run", "--rm"]+ if isinstance(args, str):+ return " ".join(cmd + [args])+ else:+ return cmd + args++@pytest.fixturedef arrow_compose_path(tmpdir):return create_config(tmpdir, arrow_compose_yml, arrow_compose_env)@@ -176,20 +184,17 @@ def arrow_compose_path(tmpdir):def test_config_validation(tmpdir):config_path = create_config(tmpdir, missing_service_compose_yml)- compose = DockerCompose(config_path)msg = "`sub-foo` is defined in `x-hierarchy` bot not in `services`"with pytest.raises(ValueError, match=msg):- compose.validate()+ DockerCompose(config_path)config_path = create_config(tmpdir, missing_node_compose_yml)- compose = DockerCompose(config_path)msg = "`sub-bar` is defined in `services` but not in `x-hierarchy`"with pytest.raises(ValueError, match=msg):- compose.validate()+ DockerCompose(config_path)config_path = create_config(tmpdir, ok_compose_yml)- compose = DockerCompose(config_path)- compose.validate()+ DockerCompose(config_path) # no issuedef assert_compose_calls(compose, expected_args, env=mock.ANY):@@ -197,14 +202,13 @@ def assert_compose_calls(compose, expected_args, env=mock.ANY):expected_commands = []for args in expected_args:if isinstance(args, str):- cmd = base_command + re.split(r"\s", args)- expected_commands.append(cmd)+ args = re.split(r"\s", args)+ expected_commands.append(base_command + args)return assert_subprocess_calls(expected_commands, check=True, env=env)def test_arrow_example_validation_passes(arrow_compose_path):- compose = DockerCompose(arrow_compose_path)- compose.validate()+ DockerCompose(arrow_compose_path)def test_compose_default_params_and_env(arrow_compose_path):@@ -342,14 +346,14 @@ def test_compose_build_params(arrow_compose_path):def test_compose_run(arrow_compose_path):expected_calls = [- "run --rm conda-cpp",+ format_run("conda-cpp"),]compose = DockerCompose(arrow_compose_path)with assert_compose_calls(compose, expected_calls):compose.run('conda-cpp')expected_calls = [- "run --rm conda-python"+ format_run("conda-python")]expected_env = PartialEnv(PYTHON='3.6')with assert_compose_calls(compose, expected_calls, env=expected_env):@@ -363,7 +367,7 @@ def test_compose_run(arrow_compose_path):compose = DockerCompose(arrow_compose_path, params=dict(PYTHON='3.8'))for command in ["bash", "echo 1"]:expected_calls = [- ["run", "--rm", "conda-python", command]+ format_run(["conda-python", command]),]expected_env = PartialEnv(PYTHON='3.8')with assert_compose_calls(compose, expected_calls, env=expected_env):@@ -371,8 +375,8 @@ def test_compose_run(arrow_compose_path):expected_calls = [(- "run --rm -e CONTAINER_ENV_VAR_A=a -e CONTAINER_ENV_VAR_B=b "- "conda-python"+ format_run("-e CONTAINER_ENV_VAR_A=a -e CONTAINER_ENV_VAR_B=b "+ "conda-python"))]compose = DockerCompose(arrow_compose_path)@@ -386,8 +390,8 @@ def test_compose_run(arrow_compose_path):expected_calls = [(- "run --rm --volume /host/build:/build "- "--volume /host/ccache:/ccache:delegated conda-python"+ format_run("--volume /host/build:/build --volume "+ "/host/ccache:/ccache:delegated conda-python"))]compose = DockerCompose(arrow_compose_path)@@ -401,14 +405,14 @@ def test_compose_run_force_pull_and_build(arrow_compose_path):expected_calls = ["pull --ignore-pull-failures conda-cpp",- "run --rm conda-cpp"+ format_run("conda-cpp")]with assert_compose_calls(compose, expected_calls):compose.run('conda-cpp', force_pull=True)expected_calls = ["build conda-cpp",- "run --rm conda-cpp"+ format_run("conda-cpp")]with assert_compose_calls(compose, expected_calls):compose.run('conda-cpp', force_build=True)@@ -416,7 +420,7 @@ def test_compose_run_force_pull_and_build(arrow_compose_path):expected_calls = ["pull --ignore-pull-failures conda-cpp","build conda-cpp",- "run --rm conda-cpp"+ format_run("conda-cpp")]with assert_compose_calls(compose, expected_calls):compose.run('conda-cpp', force_pull=True, force_build=True)@@ -428,7 +432,7 @@ def test_compose_run_force_pull_and_build(arrow_compose_path):"build conda-cpp","build conda-python","build conda-python-pandas",- "run --rm conda-python-pandas bash"+ format_run("conda-python-pandas bash")]with assert_compose_calls(compose, expected_calls):compose.run('conda-python-pandas', command='bash', force_build=True,@@ -440,7 +444,7 @@ def test_compose_run_force_pull_and_build(arrow_compose_path):"build conda-cpp","build conda-python","build --no-cache conda-python-pandas",- "run --rm conda-python-pandas bash"+ format_run("conda-python-pandas bash")]with assert_compose_calls(compose, expected_calls):compose.run('conda-python-pandas', command='bash', force_build=True,@@ -464,7 +468,6 @@ def test_compose_error(arrow_compose_path):PYTHON='3.8',PANDAS='master'))- compose.validate()error = subprocess.CalledProcessError(99, [])with mock.patch('subprocess.run', side_effect=error):diff --git a/docker-compose.yml b/docker-compose.ymlindex eecfbfd5d6..35f1e14f99 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -165,7 +165,7 @@ services:ARROW_BUILD_BENCHMARKS: "ON"volumes: &conda-volumes- .:/arrow:delegated- - .docker/${ARCH}-conda-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-conda-ccache:/ccache:delegatedcommand: &cpp-conda-command["/arrow/ci/scripts/cpp_build.sh /arrow /build true &&/arrow/ci/scripts/cpp_test.sh /arrow /build"]@@ -222,7 +222,7 @@ services:ARROW_ENABLE_TIMING_TESTS: # inheritvolumes: &cuda-volumes- .:/arrow:delegated- - .docker/${ARCH}-cuda-${CUDA}-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-cuda-${CUDA}-ccache:/ccache:delegatedcommand: &cpp-command >/bin/bash -c "/arrow/ci/scripts/cpp_build.sh /arrow /build &&@@ -251,7 +251,7 @@ services:ARROW_ENABLE_TIMING_TESTS: # inheritvolumes: &debian-volumes- .:/arrow:delegated- - .docker/${ARCH}-debian-${DEBIAN}-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-debian-${DEBIAN}-ccache:/ccache:delegatedcommand: *cpp-commandubuntu-cpp:@@ -278,7 +278,7 @@ services:ARROW_ENABLE_TIMING_TESTS: # inheritvolumes: &ubuntu-volumes- .:/arrow:delegated- - .docker/${ARCH}-ubuntu-${UBUNTU}-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-ubuntu-${UBUNTU}-ccache:/ccache:delegatedcommand: *cpp-commandubuntu-cpp-sanitizer:@@ -338,7 +338,7 @@ services:ARROW_ENABLE_TIMING_TESTS: # inheritvolumes: &fedora-volumes- .:/arrow:delegated- - .docker/${ARCH}-fedora-${FEDORA}-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-fedora-${FEDORA}-ccache:/ccache:delegatedcommand: *cpp-command############################### C GLib ######################################@@ -768,7 +768,7 @@ services:volumes:- .:/arrow:delegated- ./python/manylinux1:/io:delegated- - .docker/centos-python-manylinux1-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/centos-python-manylinux1-ccache:/ccache:delegatedcommand: &manylinux-command /io/build_arrow.shcentos-python-manylinux2010:@@ -789,7 +789,7 @@ services:volumes:- .:/arrow:delegated- ./python/manylinux201x:/io:delegated- - .docker/centos-python-manylinux2010-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/centos-python-manylinux2010-ccache:/ccache:delegatedcommand: *manylinux-commandcentos-python-manylinux2014:@@ -810,7 +810,7 @@ services:volumes:- .:/arrow:delegated- ./python/manylinux201x:/io:delegated- - .docker/centos-python-manylinux2014-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/centos-python-manylinux2014-ccache:/ccache:delegatedcommand: *manylinux-command################################## R ########################################@@ -1028,7 +1028,7 @@ services:shm_size: *shm-sizevolumes: &java-volumes- .:/arrow:delegated- - .docker/maven-cache:/root/.m2:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/maven-cache:/root/.m2:delegatedcommand: &java-command >/bin/bash -c "/arrow/ci/scripts/java_build.sh /arrow /build &&@@ -1054,8 +1054,8 @@ services:<<: *ccachevolumes:- .:/arrow:delegated- - .docker/maven-cache:/root/.m2:delegated- - .docker/${ARCH}-debian-9-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/maven-cache:/root/.m2:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-debian-9-ccache:/ccache:delegatedcommand:/bin/bash -c "/arrow/ci/scripts/cpp_build.sh /arrow /build &&@@ -1242,8 +1242,8 @@ services:shm_size: *shm-sizevolumes: &conda-maven-volumes- .:/arrow:delegated- - .docker/maven-cache:/root/.m2:delegated- - .docker/${ARCH}-conda-ccache:/ccache:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/maven-cache:/root/.m2:delegated+ - ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-conda-ccache:/ccache:delegatedcommand:["/arrow/ci/scripts/cpp_build.sh /arrow /build &&/arrow/ci/scripts/python_build.sh /arrow /build &&