diff --git a/.github/workflows/bench-pr.yml b/.github/workflows/bench-pr.yml index 04ae2714455..4a8758a1674 100644 --- a/.github/workflows/bench-pr.yml +++ b/.github/workflows/bench-pr.yml @@ -14,6 +14,9 @@ on: branches: ["develop"] workflow_dispatch: { } +env: + VORTEX_OPERATORS: "true" + permissions: actions: write # for removing labels contents: read @@ -32,7 +35,6 @@ jobs: labels: benchmark bench: - needs: label_trigger timeout-minutes: 120 runs-on: - runs-on=${{ github.run_id }} @@ -48,7 +50,8 @@ jobs: name: Random Access - id: compress name: Compression - if: ${{ contains(github.event.head_commit.message, '[benchmark]') || github.event.label.name == 'benchmark' && github.event_name == 'pull_request' }} + env: + VORTEX_OPERATORS: "true" steps: - uses: runs-on/action@v2 if: github.event.pull_request.head.repo.fork == false @@ -133,7 +136,6 @@ jobs: comment-tag: bench-pr-comment-${{ matrix.benchmark.id }} sql: - needs: label_trigger uses: ./.github/workflows/sql-benchmarks.yml secrets: inherit with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ad48e0efd5..71d1e88a297 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,7 @@ name: CI concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} -on: - push: - branches: [develop] - pull_request: { } - workflow_dispatch: { } +on: { } permissions: actions: read diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4c288ee7342..4092a297066 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,10 +4,7 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -on: - push: - branches: [develop] - workflow_dispatch: { } +on: { } permissions: contents: read diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 27831333caa..bc7d4a39494 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -4,10 +4,7 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -on: - pull_request: - # Trigger on these PR activities - types: [opened, reopened, synchronize, labeled, unlabeled] +on: { } jobs: check_changelog_label: diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index e2891f48165..1dd1643418e 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -7,10 +7,7 @@ concurrency: # Cancel outdated runs on PRs, but let all develop commits complete. cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} -on: - push: - branches: [develop] - pull_request: { } +on: { } jobs: reuse-check: diff --git a/.github/workflows/sql-benchmarks.yml b/.github/workflows/sql-benchmarks.yml index e239c0da333..3e5a1ad6193 100644 --- a/.github/workflows/sql-benchmarks.yml +++ b/.github/workflows/sql-benchmarks.yml @@ -1,5 +1,8 @@ name: "SQL-related benchmarks" +env: + VORTEX_OPERATORS: "true" + on: workflow_call: inputs: @@ -94,7 +97,8 @@ jobs: fail-fast: false matrix: include: ${{ fromJSON(inputs.benchmark_matrix) }} - + env: + VORTEX_OPERATORS: "true" runs-on: - runs-on=${{ github.run_id }} - family=${{ inputs.machine_type }} @@ -135,6 +139,7 @@ jobs: shell: bash env: RUST_BACKTRACE: full + VORTEX_OPERATORS: "true" run: | # Generate data, running each query once to make sure they don't panic. target/release_debug/query_bench \ @@ -178,6 +183,7 @@ jobs: OTEL_EXPORTER_OTLP_ENDPOINT: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_ENDPOINT || '' }}" OTEL_EXPORTER_OTLP_HEADERS: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_HEADERS || '' }}" OTEL_RESOURCE_ATTRIBUTES: "bench-name=${{ matrix.id }}" + VORTEX_OPERATORS: "true" run: | target/release_debug/query_bench ${{ matrix.subcommand }} \ -d gh-json \ @@ -196,6 +202,7 @@ jobs: OTEL_EXPORTER_OTLP_ENDPOINT: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_ENDPOINT || '' }}" OTEL_EXPORTER_OTLP_HEADERS: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_HEADERS || '' }}" OTEL_RESOURCE_ATTRIBUTES: "bench-name=${{ matrix.id }}" + VORTEX_OPERATORS: "true" run: | target/release_debug/query_bench ${{ matrix.subcommand }} \ --use-remote-data-dir ${{ matrix.remote_storage }} \ diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index e1ca3ab2542..4f0d5fc4969 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -7,7 +7,7 @@ concurrency: permissions: contents: read -on: [pull_request] +on: { } env: CLICOLOR: 1