Skip to content

Commit

Permalink
fix docker run script
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan committed Nov 26, 2024
1 parent 73fcfd3 commit 70da3b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/velox_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,11 @@ jobs:
path: .m2/repository/org/apache/arrow/
- name: Build and run TPCH/DS tests
run: |
docker run -v $GITHUB_WORKSPACE:/work -v /$GITHUB_WORKSPACE/.m2:/root/.m2/ -w /work centos:7 \
docker pull centos:7
docker run -v $GITHUB_WORKSPACE:/work -v /$GITHUB_WORKSPACE/.m2:/root/.m2/ -w /work \
-e matrix.java=${{ matrix.java }} -e matrix.spark=${{ matrix.spark }} \
-e MVN_CMD=$MVN_CMD -e SETUP=$SETUP -e GITHUB_WORKSPACE=/work \
centos:7 \
bash -c "
sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* || true
sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-* || true
Expand Down

0 comments on commit 70da3b1

Please sign in to comment.