-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/datafuselabs/databend into …
…mergeinto-runtime-filter
- Loading branch information
Showing
588 changed files
with
16,982 additions
and
5,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Test ee management mode" | ||
description: "Running stateless tests in management mode" | ||
inputs: | ||
target: | ||
description: "" | ||
required: true | ||
default: "x86_64-unknown-linux-gnu" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: ./.github/actions/setup_bendsql | ||
- name: Download artifact | ||
uses: ./.github/actions/artifact_download | ||
with: | ||
sha: ${{ github.sha }} | ||
target: ${{ inputs.target }} | ||
|
||
- name: Run Stateful Tests with Standalone mode | ||
shell: bash | ||
run: | | ||
./scripts/ci/ci-run-ee-tests-management-mode.sh |
61 changes: 61 additions & 0 deletions
61
.github/actions/test_sqllogic_standalone_linux_minio/action.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: "Test sqllogic Standalone(minio)" | ||
description: "Running sqllogic tests in standalone mode" | ||
inputs: | ||
target: | ||
description: "" | ||
required: true | ||
default: "x86_64-unknown-linux-gnu" | ||
dirs: | ||
description: "logic test suites dirs" | ||
required: true | ||
default: "" | ||
handlers: | ||
description: "logic test handlers, mysql,http,clickhouse" | ||
required: true | ||
default: "" | ||
storage-format: | ||
description: "storage format for databend query to test" | ||
required: true | ||
default: all | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: ./.github/actions/setup_bendsql | ||
- name: Download artifact | ||
uses: ./.github/actions/artifact_download | ||
with: | ||
sha: ${{ github.sha }} | ||
target: ${{ inputs.target }} | ||
artifacts: sqllogictests,meta,query | ||
|
||
- name: Minio Setup for (ubuntu-latest only) | ||
shell: bash | ||
run: | | ||
docker run -d --network host --name minio \ | ||
-e "MINIO_ACCESS_KEY=minioadmin" \ | ||
-e "MINIO_SECRET_KEY=minioadmin" \ | ||
-e "MINIO_ADDRESS=:9900" \ | ||
-v /tmp/data:/data \ | ||
-v /tmp/config:/root/.minio \ | ||
minio/minio server /data | ||
export AWS_ACCESS_KEY_ID=minioadmin | ||
export AWS_SECRET_ACCESS_KEY=minioadmin | ||
export AWS_EC2_METADATA_DISABLED=true | ||
aws --endpoint-url http://127.0.0.1:9900/ s3 mb s3://testbucket | ||
- name: Run sqllogic Tests with Standalone mode | ||
if: inputs.storage-format == 'all' || inputs.storage-format == 'parquet' | ||
shell: bash | ||
env: | ||
TEST_HANDLERS: ${{ inputs.handlers }} | ||
run: bash ./scripts/ci/ci-run-sqllogic-tests-minio.sh ${{ inputs.dirs }} | ||
|
||
- name: Run native sqllogic Tests with Standalone mode | ||
if: inputs.storage-format == 'all' || inputs.storage-format == 'native' | ||
shell: bash | ||
env: | ||
TEST_HANDLERS: ${{ inputs.handlers }} | ||
run: bash ./scripts/ci/ci-run-sqllogic-tests-native-minio.sh ${{ inputs.dirs }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Links | ||
|
||
on: | ||
repository_dispatch: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "00 18 * * *" | ||
|
||
jobs: | ||
linkChecker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Restore lychee cache | ||
id: restore-cache | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: .lycheecache | ||
key: cache-lychee-${{ github.sha }} | ||
restore-keys: cache-lychee- | ||
|
||
- name: Link Checker | ||
id: lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
args: "--base . --cache --max-cache-age 1d . --exclude 'https?://twitter\\.com(?:/.*$)?$'" | ||
|
||
- name: Save lychee cache | ||
uses: actions/cache/save@v3 | ||
if: always() | ||
with: | ||
path: .lycheecache | ||
key: ${{ steps.restore-cache.outputs.cache-primary-key }} | ||
|
||
- name: Create Issue From File | ||
if: env.lychee_exit_code != 0 | ||
uses: peter-evans/create-issue-from-file@v4 | ||
with: | ||
title: Link Checker Report | ||
content-filepath: ./lychee/out.md | ||
labels: report, automated issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,3 +75,6 @@ benchmark/clickbench/results | |
|
||
# z3 | ||
**/.z3-trace | ||
|
||
# lychee | ||
.lycheecache |
Oops, something went wrong.