From fea9c0597a8d4c01602a8936d92ab0a39b84086c Mon Sep 17 00:00:00 2001 From: Deepak Majeti Date: Thu, 19 Sep 2024 07:27:03 -0400 Subject: [PATCH] Fix CI adapters test --- .github/workflows/linux-build.yml | 7 +++++++ scripts/setup-adapters.sh | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 4c3fb9ade1ff..14ff621f9ed7 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -79,6 +79,13 @@ jobs: install_cuda ${CUDA_VERSION} fi + - name: Install Minio + run: | + MINIO_BINARY="minio-2022-05-26" + wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2022-05-26T05-48-41Z -O ${MINIO_BINARY} + chmod +x ./${MINIO_BINARY} + mv ./${MINIO_BINARY} /usr/local/bin/ + - uses: assignUser/stash/restore@v1 with: path: '${{ env.CCACHE_DIR }}' diff --git a/scripts/setup-adapters.sh b/scripts/setup-adapters.sh index b2b0e5a1170d..26f377c66ea6 100755 --- a/scripts/setup-adapters.sh +++ b/scripts/setup-adapters.sh @@ -44,7 +44,7 @@ function install_aws_deps { MINIO_ARCH="amd64" fi local MINIO_BINARY="minio-2022-05-26" - if [[! -f /usr/local/bin/${MINIO_BINARY} ]]; then + if [ ! -f /usr/local/bin/${MINIO_BINARY} ]; then local MINIO_OS="linux" if [[ "$OSTYPE" == darwin* ]]; then # minio will have to approved under the Privacy & Security on MacOS on first use.