forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
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 'upstream/master' into improve-sysvar-co…
…verage * upstream/master: (109 commits) *: rename TemporaryTableAttachedInfoSchema (pingcap#37408) *: enable noloopclosure (pingcap#37153) executor: add JSON opaque value condition to everywhere (pingcap#37390) *: refine mock session manager (pingcap#37400) lightning: check counter value to make code more robust (pingcap#37380) *: use go 1.19 (pingcap#36223) br: restore tiflash replica count after PiTR (pingcap#37181) testkit,executor: add MustQueryWitnContext API and fix unstable test TestCoprocessorPriority (pingcap#37382) executor: add conversion to opaque value for json_objectagg and json_arrayagg (pingcap#37337) expression: quote json path if necessarily (pingcap#37375) *: support ACCOUNT (UN)LOCK when creating/altering user (pingcap#37052) log-backup: support the ddl(exchange partition) when PiTR (pingcap#37050) *: change `integration.BeforeTest` to `integration.BeforeTestExternal` to avoid skip tests (pingcap#37341) executor: fix unstable TestGlobalMemoryTrackerOnCleanUp (pingcap#37372) util/ranger: avoid building ranges twice in detachCNFCondAndBuildRangeForIndex (pingcap#37177) statistics: track used stats status during query (pingcap#37101) *: fix data race in `TestTiFlashGroupIndexWhenStartup` (pingcap#37371) lightning: fix dpanic log when init session vars (pingcap#37301) executor: let plan replayer record table tiflash replica (pingcap#37336) types: fix a bug in casting str2str when `union` (pingcap#37242) ...
- Loading branch information
Showing
400 changed files
with
18,381 additions
and
12,636 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
Oops, something went wrong.