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): remove test for clickhouse handler #13851

Merged
merged 2 commits into from
Nov 29, 2023
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/reuse.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ jobs:
QUERY_DATABEND_ENTERPRISE_LICENSE: ${{ steps.license.outputs.license }}
with:
dirs: ee
handlers: mysql,http,clickhouse
handlers: mysql,http
storage-format: ${{ matrix.format }}
- name: Upload failure
if: failure()
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/reuse.sqllogic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
timeout-minutes: 10
with:
dirs: management
handlers: mysql,http,clickhouse
handlers: mysql,http

standalone:
runs-on: [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
Expand All @@ -46,7 +46,6 @@ jobs:
handler:
- "mysql"
- "http"
- "clickhouse"
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_sqllogic_standalone_linux
Expand Down Expand Up @@ -74,7 +73,7 @@ jobs:
timeout-minutes: 15
with:
dirs: udf_server
handlers: mysql,http,clickhouse
handlers: mysql,http
storage-format: all
- name: Upload failure
if: failure() || cancelled()
Expand All @@ -95,7 +94,7 @@ jobs:
timeout-minutes: 15
with:
dirs: task
handlers: mysql,http,clickhouse
handlers: mysql,http
storage-format: all
- name: Upload failure
if: failure() || cancelled()
Expand All @@ -120,7 +119,6 @@ jobs:
handler:
- "mysql"
- "http"
- "clickhouse"
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_sqllogic_cluster_linux
Expand Down Expand Up @@ -149,7 +147,7 @@ jobs:
with:
storage: ${{ matrix.storage }}
dirs: stage
handlers: mysql,http,clickhouse
handlers: mysql,http
- name: Upload failure
if: failure()
uses: ./.github/actions/artifact_failure
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-ee-sqllogic-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export STORAGE_ALLOW_INSECURE=true
echo "Starting standalone DatabendQuery and DatabendMeta"
./scripts/ci/deploy/databend-query-standalone.sh

TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http,clickhouse"}
TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http"}
BUILD_PROFILE=${BUILD_PROFILE:-debug}

RUN_DIR=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests-cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export STORAGE_ALLOW_INSECURE=true
echo "Starting standalone DatabendQuery and DatabendMeta"
./scripts/ci/deploy/databend-query-standalone.sh

TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http,clickhouse"}
TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http"}
BUILD_PROFILE=${BUILD_PROFILE:-debug}

RUN_DIR=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "Starting Cluster databend-query"

export RUST_BACKTRACE=1

TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http,clickhouse"}
TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http"}
BUILD_PROFILE=${BUILD_PROFILE:-debug}

RUN_DIR=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests-management-mode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export STORAGE_ALLOW_INSECURE=true
echo "Starting standalone DatabendQuery and DatabendMeta"
./scripts/ci/deploy/databend-query-management-mode.sh

TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http,clickhouse"}
TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http"}
BUILD_PROFILE=${BUILD_PROFILE:-debug}

RUN_DIR=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export STORAGE_ALLOW_INSECURE=true
echo "Starting standalone DatabendQuery and DatabendMeta"
./scripts/ci/deploy/databend-query-standalone-native.sh

TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http,clickhouse"}
TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http"}
BUILD_PROFILE=${BUILD_PROFILE:-debug}

RUN_DIR=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests-without-sandbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export STORAGE_ALLOW_INSECURE=true
echo "Starting standalone DatabendQuery and DatabendMeta"
./scripts/ci/deploy/databend-query-standalone.sh

TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http,clickhouse"}
TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http"}
BUILD_PROFILE=${BUILD_PROFILE:-debug}

RUN_DIR=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export STORAGE_ALLOW_INSECURE=true
echo "Starting standalone DatabendQuery and DatabendMeta"
./scripts/ci/deploy/databend-query-standalone.sh

TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http,clickhouse"}
TEST_HANDLERS=${TEST_HANDLERS:-"mysql,http"}
BUILD_PROFILE=${BUILD_PROFILE:-debug}

RUN_DIR=""
Expand Down
48 changes: 4 additions & 44 deletions scripts/setup/dev_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,45 +162,6 @@ function install_openssl {
esac
}

function install_sccache {
PACKAGE_MANAGER=$1

if sccache --version; then
echo "==> sccache is already installed"
return
fi
echo "==> installing sccache..."

case "$PACKAGE_MANAGER" in
brew)
install_pkg sccache "$PACKAGE_MANAGER"
;;
*)

arch=$(uname -m)
case "$arch" in
amd64)
arch="x86_64"
;;
arm64)
arch="aarch64"
;;
esac
download_version="v0.5.3"
download_target="sccache-${download_version}-${arch}-unknown-linux-musl"
SCCACHE_RELEASE="https://github.com/mozilla/sccache/releases/"
curl -fLo sccache.tar.gz "${SCCACHE_RELEASE}/download/${download_version}/${download_target}.tar.gz"
tar -xzf sccache.tar.gz
"${PRE_COMMAND[@]}" cp "${download_target}/sccache" /usr/local/bin/
"${PRE_COMMAND[@]}" chmod +x /usr/local/bin/sccache
rm -rf "${download_target}"
rm sccache.tar.gz
;;
esac

sccache --version
}

function install_protobuf {
PACKAGE_MANAGER=$1

Expand Down Expand Up @@ -568,16 +529,15 @@ if [[ "$INSTALL_BUILD_TOOLS" == "true" ]]; then

# Any call to cargo will make rustup install the correct toolchain
cargo version

# Install tools that needed in build
install_sccache "$PACKAGE_MANAGER"
cargo install cargo-quickinstall
cargo quickinstall cargo-binstall
cargo binstall -y sccache
cargo binstall -y cargo-zigbuild
fi

if [[ "$INSTALL_CHECK_TOOLS" == "true" ]]; then
if [[ -f scripts/setup/rust-tools.txt ]]; then
export RUSTFLAGS="-C target-feature=-crt-static"
cargo install cargo-quickinstall
cargo quickinstall cargo-binstall
while read -r tool; do
cargo binstall -y "$tool"
done <scripts/setup/rust-tools.txt
Expand Down
Loading