forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'pingcap/master' into analyze-concurrenc…
…y-hotfix
- Loading branch information
Showing
185 changed files
with
10,621 additions
and
8,214 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 |
---|---|---|
@@ -1,18 +1,27 @@ | ||
startup --host_jvm_args=-Xmx8g | ||
startup --unlimit_coredumps | ||
|
||
run:ci --color=yes | ||
|
||
build --announce_rc | ||
build --java_language_version=17 | ||
build --java_runtime_version=17 | ||
build --tool_java_language_version=17 | ||
build --tool_java_runtime_version=17 | ||
|
||
run --color=yes | ||
build:release --workspace_status_command=./build/print-workspace-status.sh --stamp | ||
build:release --config=ci | ||
build --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution | ||
build:ci --color=yes | ||
build:ci --experimental_remote_cache_compression | ||
test:ci --verbose_failures | ||
test:ci --test_env=GO_TEST_WRAP_TESTV=1 --test_verbose_timeout_warnings | ||
test:ci --test_env=TZ=Asia/Shanghai --test_output=errors --experimental_ui_max_stdouterr_bytes=104857600 | ||
build:release --workspace_status_command=./build/print-workspace-status.sh --stamp | ||
build:release --config=ci | ||
build:race --config=ci | ||
build:race --@io_bazel_rules_go//go/config:race --test_env=GORACE=halt_on_error=1 --test_sharding_strategy=disabled | ||
|
||
test --test_env=TZ=Asia/Shanghai | ||
test --test_output=errors --test_summary=testcase | ||
test:ci --color=yes | ||
test:ci --verbose_failures --test_verbose_timeout_warnings | ||
test:ci --test_env=GO_TEST_WRAP_TESTV=1 | ||
test:ci --experimental_ui_max_stdouterr_bytes=104857600 | ||
test:race --test_timeout=1200,6000,18000,72000 | ||
|
||
try-import /data/bazel |
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,56 @@ | ||
name: DumplingCommon | ||
on: | ||
workflow_call: | ||
inputs: | ||
debug: | ||
type: boolean | ||
description: 'set tmate on failure' | ||
required: true | ||
mysql_version: | ||
type: string | ||
description: 'specify mysql version' | ||
required: true | ||
|
||
jobs: | ||
integration-test: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
strategy: | ||
fail-fast: true | ||
services: | ||
mysql: | ||
image: mysql:${{ inputs.mysql_version }} | ||
env: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: yes | ||
ports: | ||
- 3306:3306 | ||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
steps: | ||
- name: 'checkout repository' | ||
uses: actions/checkout@v3 | ||
- name: 'set up golang' | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
- name: 'try to use build cache' | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
~/Library/Caches/go-build | ||
~\AppData\Local\go-build | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: 'download binary dependencies' | ||
run: sh dumpling/install.sh | ||
- name: 'build tidb' | ||
run: make server | ||
- name: 'build lightning' | ||
run: make build_lightning | ||
- name: 'integration test' | ||
run: make dumpling_integration_test VERBOSE="true" | ||
- name: 'set up tmate session if necessary' | ||
if: ${{ failure() && inputs.debug }} | ||
uses: mxschmitt/action-tmate@v3 |
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
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
Oops, something went wrong.