bazel: use --remote_download_minimal in ci (#38780)
This commit is contained in:
4
Makefile
4
Makefile
@ -411,8 +411,10 @@ bazel_coverage_test: failpoint-enable bazel_ci_prepare
|
||||
|
||||
bazel_build: bazel_ci_prepare
|
||||
mkdir -p bin
|
||||
bazel $(BAZEL_GLOBAL_CONFIG) build $(BAZEL_CMD_CONFIG) \
|
||||
bazel $(BAZEL_GLOBAL_CONFIG) build --remote_download_minimal $(BAZEL_CMD_CONFIG) \
|
||||
//... --//build:with_nogo_flag=true
|
||||
bazel $(BAZEL_GLOBAL_CONFIG) build $(BAZEL_CMD_CONFIG) \
|
||||
//cmd/importer:importer //tidb-server:tidb-server //tidb-server:tidb-server-check --//build:with_nogo_flag=true
|
||||
cp bazel-out/k8-fastbuild/bin/tidb-server/tidb-server_/tidb-server ./bin
|
||||
cp bazel-out/k8-fastbuild/bin/cmd/importer/importer_/importer ./bin
|
||||
cp bazel-out/k8-fastbuild/bin/tidb-server/tidb-server-check_/tidb-server-check ./bin
|
||||
|
||||
Reference in New Issue
Block a user