Skip to content

Commit

Permalink
add data_lakes suite to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alsugiliazova committed Sep 27, 2024
1 parent 0264b7a commit 456bacc
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/run-arm-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ on:
- benchmark_minio
- clickhouse_keeper
- clickhouse_keeper_failover
- data_lakes
- data_types
- datetime64_extended_range
- disk_level_encryption
Expand Down Expand Up @@ -650,6 +651,40 @@ jobs:
with:
name: ${{ env.SUITE }}-artifacts
path: ${{ env.artifact_paths}}

data_lakes:
runs-on: [self-hosted, arm64, type-cax41, image-arm-app-docker-ce]
timeout-minutes: 180
env:
SUITE: data_lakes
if: ${{ inputs.suite == 'all' || inputs.suite == 'data_lakes' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

- name: Setup
run: .github/setup.sh

- name: Run ${{ env.SUITE }} suite
run: python3
-u ${{ env.SUITE }}/regression.py
--clickhouse-binary-path ${{ env.clickhouse_binary_path }}
--clickhouse-version ${{ env.version }}${{ inputs.enable_thread_fuzzer && ' --thread-fuzzer' || '' }}${{ inputs.keeper_or_zookeeper == 'keeper' && ' --use-keeper' || '' }}
${{ env.args }} || EXITCODE=$?;
.github/add_link_to_logs.sh;
exit $EXITCODE

- name: Create and upload logs
if: always()
run: .github/create_and_upload_logs.sh ${{ vars.UPLOAD_LOGS }}

- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ env.SUITE }}-artifacts
path: ${{ env.artifact_paths}}

data_types:
runs-on: [self-hosted, arm64, type-cax41, image-arm-app-docker-ce]
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/run-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ on:
- benchmark_minio
- clickhouse_keeper
- clickhouse_keeper_failover
- data_lakes
- data_types
- datetime64_extended_range
- disk_level_encryption
Expand Down Expand Up @@ -650,6 +651,40 @@ jobs:
with:
name: ${{ env.SUITE }}-artifacts
path: ${{ env.artifact_paths}}

data_lakes:
runs-on: [self-hosted, x86, type-cpx41, image-x86-app-docker-ce]
timeout-minutes: 180
env:
SUITE: data_lakes
if: ${{ inputs.suite == 'all' || inputs.suite == 'data_lakes' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

- name: Setup
run: .github/setup.sh

- name: Run ${{ env.SUITE }} suite
run: python3
-u ${{ env.SUITE }}/regression.py
--clickhouse-binary-path ${{ env.clickhouse_binary_path }}
--clickhouse-version ${{ env.version }}${{ inputs.enable_thread_fuzzer && ' --thread-fuzzer' || '' }}${{ inputs.keeper_or_zookeeper == 'keeper' && ' --use-keeper' || '' }}
${{ env.args }} || EXITCODE=$?;
.github/add_link_to_logs.sh;
exit $EXITCODE

- name: Create and upload logs
if: always()
run: .github/create_and_upload_logs.sh ${{ vars.UPLOAD_LOGS }}

- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ env.SUITE }}-artifacts
path: ${{ env.artifact_paths}}

data_types:
runs-on: [self-hosted, x86, type-cpx41, image-x86-app-docker-ce]
Expand Down

0 comments on commit 456bacc

Please sign in to comment.