Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
84f555bf
Commit
84f555bf
authored
5 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
simplify and unify manual builds
parent
4521dea9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tools/remote_build/README.md
+1
-1
1 addition, 1 deletion
tools/remote_build/README.md
tools/remote_build/manual.bazelrc
+3
-4
3 additions, 4 deletions
tools/remote_build/manual.bazelrc
tools/remote_build/windows.bazelrc
+2
-0
2 additions, 0 deletions
tools/remote_build/windows.bazelrc
with
6 additions
and
5 deletions
tools/remote_build/README.md
+
1
−
1
View file @
84f555bf
...
@@ -32,7 +32,7 @@ bazel --bazelrc=tools/remote_build/manual.bazelrc test --config=asan //test/...
...
@@ -32,7 +32,7 @@ bazel --bazelrc=tools/remote_build/manual.bazelrc test --config=asan //test/...
Run on Windows MSVC:
Run on Windows MSVC:
```
```
# RBE manual run only for c-core (must be run on a Windows host machine)
# RBE manual run only for c-core (must be run on a Windows host machine)
bazel --bazelrc=tools/remote_build/windows.bazelrc build :all
[--google_credentials=(path to service account credentials)]
bazel --bazelrc=tools/remote_build/windows.bazelrc build :all
```
```
Available command line options can be found in
Available command line options can be found in
...
...
This diff is collapsed.
Click to expand it.
tools/remote_build/manual.bazelrc
+
3
−
4
View file @
84f555bf
...
@@ -20,11 +20,10 @@ import %workspace%/tools/remote_build/rbe_common.bazelrc
...
@@ -20,11 +20,10 @@ import %workspace%/tools/remote_build/rbe_common.bazelrc
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com
# Enable authentication. This will pick up application default credentials by
# Enable authentication. Bazel will use application default credentials
# default. You can use --auth_credentials=some_file.json to use a service
# unless overridden by --google_credentials=service_account_credentials.json
# account credential instead.
# How to setup credentials:
# How to setup credentials:
#
See
https://cloud.google.com/remote-build-execution/docs/getting-started
#set_credentials
# https://cloud.google.com/remote-build-execution/docs/
results-ui/
getting-started
-results-ui
build --auth_enabled=true
build --auth_enabled=true
# Set flags for uploading to BES in order to view results in the Bazel Build
# Set flags for uploading to BES in order to view results in the Bazel Build
...
...
This diff is collapsed.
Click to expand it.
tools/remote_build/windows.bazelrc
+
2
−
0
View file @
84f555bf
...
@@ -3,6 +3,8 @@ startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
...
@@ -3,6 +3,8 @@ startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com
build --auth_enabled=true
build --host_crosstool_top=//third_party/toolchains/bazel_0.26.0_rbe_windows:toolchain
build --host_crosstool_top=//third_party/toolchains/bazel_0.26.0_rbe_windows:toolchain
build --crosstool_top=//third_party/toolchains/bazel_0.26.0_rbe_windows:toolchain
build --crosstool_top=//third_party/toolchains/bazel_0.26.0_rbe_windows:toolchain
build --extra_toolchains=//third_party/toolchains/bazel_0.26.0_rbe_windows:cc-toolchain-x64_windows
build --extra_toolchains=//third_party/toolchains/bazel_0.26.0_rbe_windows:cc-toolchain-x64_windows
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment