Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): adjust runner size #16879

Merged
merged 12 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bindings.python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:

jobs:
linux:
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 8c16g, aws]
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 4c16g, aws]
strategy:
matrix:
include:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

build:
needs: info
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 16c32g, aws]
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 8c32g, aws]
strategy:
matrix:
include:
Expand All @@ -71,7 +71,7 @@ jobs:
docker:
needs: [info, build]
timeout-minutes: 10
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
runs-on: [self-hosted, X64, Linux, 2c8g, aws]
outputs:
tag: ${{ steps.prepare.outputs.tag }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

build:
needs: info
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 16c32g, aws]
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 8c32g, aws]
strategy:
matrix:
include:
Expand All @@ -56,7 +56,7 @@ jobs:

chaos:
needs: [info, build]
runs-on: [self-hosted, X64, Linux, 8c16g, aws]
runs-on: [self-hosted, X64, Linux, 4c16g, aws]
steps:
- uses: actions/checkout@v4
with:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
delete-branch: true

build_default:
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 16c32g, aws]
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 8c32g, aws]
needs: create_release
strategy:
fail-fast: false
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
bash ./scripts/ci/ci-run-sqllogic-tests.sh base

build_musl:
runs-on: [self-hosted, X64, Linux, 16c32g, aws]
runs-on: [self-hosted, X64, Linux, 8c32g, aws]
needs: create_release
strategy:
fail-fast: false
Expand All @@ -157,7 +157,7 @@ jobs:
artifacts: query,meta,metactl

build_udf:
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 16c32g, aws]
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 8c32g, aws]
needs: create_release
strategy:
fail-fast: false
Expand All @@ -184,7 +184,7 @@ jobs:
category: udf

publish:
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
runs-on: [self-hosted, X64, Linux, 2c8g, aws]
needs: [create_release, build_default, build_musl]
strategy:
fail-fast: false
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
category: ${{ matrix.category }}

publish_testsuite:
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
runs-on: [self-hosted, X64, Linux, 2c8g, aws]
needs: [create_release, build_default]
strategy:
fail-fast: false
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
category: testsuite

docker_all_in_one:
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
runs-on: [self-hosted, X64, Linux, 2c8g, aws]
needs: [create_release, build_default]
steps:
- name: Checkout
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
readme-filepath: ./docker/README.md

docker_service:
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
runs-on: [self-hosted, X64, Linux, 2c8g, aws]
needs: [create_release, build_udf]
strategy:
fail-fast: false
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
file: ./docker/service/${{ matrix.service }}.Dockerfile

distribution:
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
runs-on: [self-hosted, X64, Linux, 2c8g, aws]
needs: [create_release, build_default]
strategy:
matrix:
Expand Down Expand Up @@ -592,7 +592,7 @@ jobs:

sqlsmith:
needs: [create_release, notify]
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
runs-on: [self-hosted, X64, Linux, 2c8g, aws]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -617,7 +617,7 @@ jobs:

metachaos:
needs: [create_release, notify]
runs-on: [self-hosted, X64, Linux, 8c16g, aws]
runs-on: [self-hosted, X64, Linux, 4c16g, aws]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -643,7 +643,7 @@ jobs:
await script({context, core})

# sharing:
# runs-on: [self-hosted, X64, Linux, 4c8g, aws]
# runs-on: [self-hosted, X64, Linux, 2c8g, aws]
# needs: [create_release, notify]
# steps:
# - uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ env:
jobs:
local:
timeout-minutes: 60
runs-on: [self-hosted, X64, Linux, 16c32g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 8c32g, "${{ inputs.runner_provider }}"]
strategy:
matrix:
dataset:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reuse.linux.hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:

jobs:
build:
runs-on: [self-hosted, X64, Linux, 8c16g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 4c16g, "${{ inputs.runner_provider }}"]
strategy:
matrix:
include:
Expand All @@ -43,7 +43,7 @@ jobs:

test_stateful_hive_standalone:
needs: build
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_stateful_hive_standalone
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/reuse.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:

jobs:
check:
runs-on: [self-hosted, X64, Linux, 16c32g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 8c32g, "${{ inputs.runner_provider }}"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -41,7 +41,7 @@ jobs:
- self-hosted
- "${{ matrix.runner }}"
- Linux
- 16c32g
- 8c32g
- "${{ inputs.runner_provider }}"
strategy:
fail-fast: false
Expand All @@ -67,7 +67,7 @@ jobs:
- self-hosted
- "${{ matrix.runner }}"
- Linux
- 16c32g
- 8c32g
- "${{ inputs.runner_provider }}"
strategy:
fail-fast: false
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
# - self-hosted
# - "${{ matrix.runner }}"
# - Linux
# - 16c32g
# - 8c32g
# - "${{ inputs.runner_provider }}"
# strategy:
# fail-fast: false
Expand All @@ -115,7 +115,7 @@ jobs:
# artifacts: query

test_unit:
runs-on: [self-hosted, X64, Linux, 16c32g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 8c32g, "${{ inputs.runner_provider }}"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -125,63 +125,63 @@ jobs:
timeout-minutes: 60

test_metactl:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_metactl
timeout-minutes: 10

test_compat_meta_query:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_compat_meta_query
timeout-minutes: 10

test_compat_fuse:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_compat_fuse
timeout-minutes: 20

test_compat_meta_meta:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_compat_meta_meta
timeout-minutes: 20

test_logs:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_logs
timeout-minutes: 20

test_meta_cluster:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_meta_cluster
timeout-minutes: 10

test_stateless_standalone:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_stateless_standalone_linux
timeout-minutes: 15

test_stateless_cluster:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
Expand All @@ -193,7 +193,7 @@ jobs:
timeout-minutes: 15

test_stateful_standalone:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
Expand All @@ -206,7 +206,7 @@ jobs:
name: test-stateful-standalone-linux

test_stateful_cluster:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
Expand All @@ -224,15 +224,15 @@ jobs:

test_stateful_large_data:
if: contains(github.event.pull_request.labels.*.name, 'ci-largedata')
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_stateful_large_data
timeout-minutes: 60

test_stateful_iceberg_rest:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
needs: [build, check]
steps:
- uses: actions/checkout@v4
Expand All @@ -245,7 +245,7 @@ jobs:
name: test-stateful-iceberg-rest-standalone

# test_fuzz_standalone:
# runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
# runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
# needs: [build, check]
# steps:
# - uses: actions/checkout@v4
Expand All @@ -255,7 +255,7 @@ jobs:

test_ee_standalone:
needs: [build, check]
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_license
Expand All @@ -272,7 +272,7 @@ jobs:

test_ee_standalone_background:
needs: [build, check]
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_bendsql
Expand All @@ -295,7 +295,7 @@ jobs:
#
# test_ee_standalone_fake_time:
# needs: [build, check]
# runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
# runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/setup_license
Expand All @@ -312,7 +312,7 @@ jobs:

test_ee_management_mode:
needs: [build, check]
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_bendsql
Expand Down
Loading
Loading