Skip to content

Commit 08e005a

Browse files
authored
Merge pull request #10756 from everpcpc/fix-docker
chore(ci): download binaries before setup docker
2 parents 8718b68 + b1814c9 commit 08e005a

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/actions/test_sqllogic_standalone_linux/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ runs:
3535
shell: bash
3636
env:
3737
TEST_HANDLERS: ${{ inputs.handlers }}
38-
run: bash ./scripts/ci/ci-run-sqllogic-tests-native.sh
38+
run: bash ./scripts/ci/ci-run-sqllogic-tests-native.sh ${{ inputs.dirs }}

.github/workflows/release.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,6 @@ jobs:
305305
- name: Get the version
306306
id: get_version
307307
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
308-
- name: Set up QEMU
309-
uses: docker/setup-qemu-action@v2
310-
- uses: ./.github/actions/setup_docker
311-
id: login
312-
with:
313-
repo: databend
314-
ecr_role_arn: ${{ secrets.ECR_ROLE_ARN }}
315-
dockerhub_user: ${{ secrets.DOCKERHUB_USERNAME }}
316-
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
317308
- name: Download binaries for usage
318309
id: download_binaries
319310
run: |
@@ -328,6 +319,15 @@ jobs:
328319
mkdir -p ./distro/linux/${platform}
329320
cp ./target/${target}/release/databend-* ./distro/linux/${platform}
330321
done
322+
- name: Set up QEMU
323+
uses: docker/setup-qemu-action@v2
324+
- uses: ./.github/actions/setup_docker
325+
id: login
326+
with:
327+
repo: databend
328+
ecr_role_arn: ${{ secrets.ECR_ROLE_ARN }}
329+
dockerhub_user: ${{ secrets.DOCKERHUB_USERNAME }}
330+
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
331331
- name: Build and push
332332
id: docker_build
333333
uses: docker/build-push-action@v3
@@ -369,15 +369,6 @@ jobs:
369369
- name: Get the version
370370
id: get_version
371371
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
372-
- name: Set up QEMU
373-
uses: docker/setup-qemu-action@v2
374-
- uses: ./.github/actions/setup_docker
375-
id: login
376-
with:
377-
repo: databend-${{ matrix.service }}
378-
ecr_role_arn: ${{ secrets.ECR_ROLE_ARN }}
379-
dockerhub_user: ${{ secrets.DOCKERHUB_USERNAME }}
380-
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
381372
- name: Download binaries for usage
382373
id: download_binaries
383374
run: |
@@ -392,6 +383,15 @@ jobs:
392383
mkdir -p ./distro/linux/${platform}
393384
cp ./target/${target}/release/databend-* ./distro/linux/${platform}
394385
done
386+
- name: Set up QEMU
387+
uses: docker/setup-qemu-action@v2
388+
- uses: ./.github/actions/setup_docker
389+
id: login
390+
with:
391+
repo: databend-${{ matrix.service }}
392+
ecr_role_arn: ${{ secrets.ECR_ROLE_ARN }}
393+
dockerhub_user: ${{ secrets.DOCKERHUB_USERNAME }}
394+
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
395395
- name: get image tags
396396
id: get_image_tags
397397
shell: bash

.github/workflows/trusted-benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
matrix:
126126
dataset:
127127
- hits
128-
- tpch
128+
# - tpch
129129
steps:
130130
- uses: actions/checkout@v3
131131
- uses: ./.github/actions/setup_bendsql

0 commit comments

Comments
 (0)