Skip to content

Commit

Permalink
Merge branch 'reorg-part-tiflash-test' into reorg-part-tiflash-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjonss committed May 10, 2023
2 parents 687f396 + 8c04202 commit 233a467
Show file tree
Hide file tree
Showing 1,245 changed files with 91,305 additions and 97,672 deletions.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
startup --host_jvm_args=-Xmx8g
startup --host_jvm_args=-Xmx4g
startup --unlimit_coredumps

run:ci --color=yes
Expand All @@ -24,6 +24,7 @@ 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:ci --test_timeout=150,300,900,3600
test:race --test_timeout=1200,6000,18000,72000

try-import /data/bazel
4 changes: 4 additions & 0 deletions .github/licenserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ header:
- "docs/"
- "br/"
- ".gitignore"
- ".gitmodules"
- ".dockerignore"
- ".gitattributes"
- ".cilinter.yaml"
Expand Down Expand Up @@ -39,6 +40,9 @@ header:
- "tidb-binlog/driver/example"
- "tidb-binlog/proto/go-binlog/secondary_binlog.pb.go"
- "**/*.sql"
- "**/*.csv"
- "**/*.parquet"
- "**/*.zst"
- ".bazelversion"
- "build/image/.ci_bazel"
comment: on-failure
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "extension/enterprise"]
path = extension/enterprise
url = [email protected]:pingcap-inc/enterprise-extensions.git
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2023 PingCAP, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
minimum_pre_commit_version: '2.0.0'
repos:
- repo: local
hooks:
- id: check
name: check
entry: make precheck
language: system
pass_filenames: false
always_run: true
- id: go-mod-tidy
name: Run go mod tidy
entry: make tidy
files: '\.go$|go.mod$|go.sum$'
language: system
pass_filenames: false
always_run: false
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:exclude tidb-binlog/proto/proto
# gazelle:exclude plugin/conn_ip_example
# gazelle:exclude build/linter/staticcheck
# gazelle:resolve go github.com/bazelbuild/buildtools/build @com_github_bazelbuild_buildtools//build:go_default_library
gazelle(name = "gazelle")

package(default_visibility = ["//visibility:public"])
Expand Down
Loading

0 comments on commit 233a467

Please sign in to comment.