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 add-bootstrap-sql
* upstream/master: (1323 commits) ttl: escape parameters for finish job sql (pingcap#40118) statistics: fix incorrect datetime value when loading stats (pingcap#40084) planner: move code of generating IndexMergePath to a separated file (pingcap#40134) ddl: set context correctly in the setDDLLabelForDiagnosis (pingcap#40090) parser: fix cast function restore (pingcap#40129) ddl: fix issue of partition table with foreign key and add more test case (pingcap#40122) ddl: fix issue of add foreign key too slow in big table (pingcap#40112) *: support foreign key check/cascade when execute replace into statement (pingcap#40069) server: support download plan replayer continues capture file (pingcap#40085) statistics: fix the sync load sql did'nt running internally (pingcap#40087) *: optimize mpp probe (pingcap#39932) server: avoid reusing cached stmt ctx on cursor read (pingcap#40023) metrics: add metrics for ema cpu metrics and GOGC (pingcap#40049) *: filter particularly errors when `truncateAsWarning` is true (pingcap#40078) parser: support keep_order and no_keep_order hint (pingcap#39965) planner: check the `ignore-plan-cache` hint in insert-stmt (pingcap#40080) *: fix issue of multi-schema change with foreign key (pingcap#40042) sysvar: allow modifying 'tidb_allow_remove_auto_inc' when SEM is ON (pingcap#40083) ddl: check the limitation when creating multi-valued index (pingcap#39818) planner: support set binding status by sql digest (pingcap#39517) ...
- Loading branch information
Showing
2,110 changed files
with
180,778 additions
and
59,977 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,17 +1,29 @@ | ||
startup --host_jvm_args=-Xmx8g | ||
startup --unlimit_coredumps | ||
|
||
run:ci --color=yes | ||
|
||
build --announce_rc | ||
build --experimental_guard_against_concurrent_changes | ||
build --experimental_remote_merkle_tree_cache | ||
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 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution | ||
build:ci --color=yes | ||
build:ci --experimental_remote_cache_compression | ||
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 --remote_cache=http://172.16.4.21:8080/tidb --remote_timeout="10s" | ||
test:ci --verbose_failures | ||
test:ci --test_env=GO_TEST_WRAP_TESTV=1 --test_verbose_timeout_warnings | ||
test:ci --remote_cache=http://172.16.4.21:8080/tidb --remote_timeout="10s" | ||
test:ci --test_env=TZ=Asia/Shanghai --test_output=errors --experimental_ui_max_stdouterr_bytes=104857600 | ||
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 @@ | ||
5.3.2 |
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,10 @@ | ||
.git/ | ||
bazel-bin/ | ||
bazel-out/ | ||
bazel-tidb/ | ||
bazel-testlogs/ | ||
bin/ | ||
tidb-server/tidb-server | ||
*.test.bin | ||
cmd/ | ||
Dockerfile |
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,14 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "friday" | ||
time: "18:00" | ||
timezone: "Asia/Shanghai" | ||
allow: | ||
- dependency-name: "golang.org/*" | ||
- dependency-name: "github.com/golangci/golangci-lint" | ||
open-pull-requests-limit: 2 | ||
|
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,41 +1,44 @@ | ||
name: BR & Lightning | ||
name: BR & Lightning | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'release-[0-9].[0-9]*' | ||
- "release-[0-9].[0-9]*" | ||
paths: | ||
- 'br/**' | ||
- '!**.html' | ||
- '!**.md' | ||
- '!CNAME' | ||
- '!LICENSE' | ||
- '!br/docs/**' | ||
- '!br/tests/**' | ||
- '!br/docker/**' | ||
#change trigger policy | ||
- "br/**" | ||
- "!**.html" | ||
- "!**.md" | ||
- "!CNAME" | ||
- "!LICENSE" | ||
- "!br/docs/**" | ||
- "!br/tests/**" | ||
- "!br/docker/**" | ||
#change trigger policy | ||
pull_request: | ||
types: | ||
- labeled # <-- | ||
- labeled # <-- | ||
branches: | ||
- master | ||
- 'release-[0-9].[0-9]*' | ||
- "release-[0-9].[0-9]*" | ||
paths: | ||
- 'br/**' | ||
- '!**.html' | ||
- '!**.md' | ||
- '!CNAME' | ||
- '!LICENSE' | ||
- '!br/docs/**' | ||
- '!br/tests/**' | ||
- '!br/docker/**' | ||
- "br/**" | ||
- "!**.html" | ||
- "!**.md" | ||
- "!CNAME" | ||
- "!LICENSE" | ||
- "!br/docs/**" | ||
- "!br/tests/**" | ||
- "!br/docker/**" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
jobs: | ||
compile-windows: | ||
if: github.event_name == 'push' || github.event_name == 'pull_request' && github.event.label.name == 'action/run-br-cross-platform-build' | ||
|
@@ -45,13 +48,13 @@ jobs: | |
- uses: actions/[email protected] | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
go-version-file: 'go.mod' | ||
|
||
- name: Run build | ||
run: make build_tools | ||
|
||
compile: | ||
if: github.event_name == 'pull_request' && github.event.label.name == 'action/run-br-cross-platform-build' | ||
name: Compile for ${{ matrix.os }} / ${{ matrix.target}} | ||
|
Oops, something went wrong.