Skip to content

Commit c49960f

Browse files
authored
ci: tmp disable local benchmark (#17717)
1 parent 5095420 commit c49960f

File tree

1 file changed

+44
-46
lines changed

1 file changed

+44
-46
lines changed

.github/workflows/reuse.benchmark.yml

Lines changed: 44 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -42,52 +42,50 @@ env:
4242
RUNNER_PROVIDER: ${{ inputs.runner_provider }}
4343

4444
jobs:
45-
local:
46-
timeout-minutes: 60
47-
runs-on: [self-hosted, X64, Linux, 8c32g, "${{ inputs.runner_provider }}"]
48-
strategy:
49-
matrix:
50-
dataset:
51-
- internal
52-
# - hits
53-
fail-fast: true
54-
max-parallel: 1
55-
steps:
56-
- uses: actions/checkout@v4
57-
if: inputs.source == 'release'
58-
with:
59-
ref: ${{ inputs.sha }}
60-
- uses: actions/checkout@v4
61-
if: inputs.source == 'pr'
62-
with:
63-
ref: "refs/pull/${{ inputs.source_id }}/merge"
64-
- uses: ./.github/actions/setup_bendsql
65-
- uses: actions/setup-python@v5
66-
with:
67-
python-version: "3.12"
68-
- name: Download artifact
69-
uses: ./.github/actions/artifact_download
70-
with:
71-
sha: ${{ inputs.sha }}
72-
target: x86_64-unknown-linux-gnu
73-
category: full
74-
artifacts: meta,query
75-
- name: Setup Databend Binary
76-
shell: bash
77-
run: |
78-
sudo cp ./target/release/databend-* /usr/local/bin/
79-
databend-query --version
80-
databend-meta --version
81-
- uses: ./.github/actions/benchmark_local
82-
if: inputs.target == 'local' || inputs.target == 'all'
83-
timeout-minutes: 30
84-
id: benchmark
85-
with:
86-
sha: ${{ inputs.sha }}
87-
run_id: ${{ inputs.run_id }}
88-
dataset: ${{ matrix.dataset }}
89-
source: ${{ inputs.source }}
90-
source_id: ${{ inputs.source_id }}
45+
# local:
46+
# timeout-minutes: 60
47+
# runs-on: [self-hosted, X64, Linux, 8c32g, "${{ inputs.runner_provider }}"]
48+
# strategy:
49+
# matrix:
50+
# dataset:
51+
# - internal
52+
# # - hits
53+
# fail-fast: true
54+
# max-parallel: 1
55+
# steps:
56+
# - uses: actions/checkout@v4
57+
# if: inputs.source == 'release'
58+
# with:
59+
# ref: ${{ inputs.sha }}
60+
# - uses: actions/checkout@v4
61+
# if: inputs.source == 'pr'
62+
# with:
63+
# ref: "refs/pull/${{ inputs.source_id }}/merge"
64+
# - uses: ./.github/actions/setup_bendsql
65+
# - uses: ./.github/actions/setup_test
66+
# - name: Download artifact
67+
# uses: ./.github/actions/artifact_download
68+
# with:
69+
# sha: ${{ inputs.sha }}
70+
# target: x86_64-unknown-linux-gnu
71+
# category: full
72+
# artifacts: meta,query
73+
# - name: Setup Databend Binary
74+
# shell: bash
75+
# run: |
76+
# sudo cp ./target/release/databend-* /usr/local/bin/
77+
# databend-query --version
78+
# databend-meta --version
79+
# - uses: ./.github/actions/benchmark_local
80+
# if: inputs.target == 'local' || inputs.target == 'all'
81+
# timeout-minutes: 30
82+
# id: benchmark
83+
# with:
84+
# sha: ${{ inputs.sha }}
85+
# run_id: ${{ inputs.run_id }}
86+
# dataset: ${{ matrix.dataset }}
87+
# source: ${{ inputs.source }}
88+
# source_id: ${{ inputs.source_id }}
9189

9290
load:
9391
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]

0 commit comments

Comments
 (0)