Skip to content

Commit

Permalink
Fix CI adapters test (#11038)
Browse files Browse the repository at this point in the history
Summary:
Minio download broke in this PR: #10920

Resolves: #11035

Pull Request resolved: #11038

Reviewed By: Yuhta

Differential Revision: D63030598

Pulled By: pedroerp

fbshipit-source-id: 1e884813e4a88e5d33196dd4b0bb172558d979a2
  • Loading branch information
majetideepak authored and facebook-github-bot committed Sep 19, 2024
1 parent 243f9e5 commit 48c6628
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ jobs:
install_cuda ${CUDA_VERSION}
fi
- name: Install Minio
run: |
MINIO_BINARY="minio-2022-05-26"
if [ ! -f /usr/local/bin/${MINIO_BINARY} ]; then
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/
fi
- uses: assignUser/stash/restore@v1
with:
path: '${{ env.CCACHE_DIR }}'
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-adapters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 48c6628

Please sign in to comment.