Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote: quit early if no remote options specified #7198

Closed
wants to merge 1 commit into from

Conversation

buchgr
Copy link
Contributor

@buchgr buchgr commented Jan 21, 2019

If neither remote caching nor remote execution is enabled then
quit the remote initialization logic early. The current null
check on the RemoteOptions is not sufficient as it only works
if a none build command is used.

Also, don't create a remote logs directory and don't print
an invocation id if remoting is disabled.

If neither remote caching nor remote execution is enabled then
quit the remote initialization logic early. The current null
check on the RemoteOptions is not sufficient as it only works
if a none build command is used.

Also, don't create a remote logs directory and don't print
an invocation id if remoting is disabled.
@irengrig irengrig added the WIP label Jan 22, 2019
@bazel-io bazel-io closed this in 0eee6f7 Jan 23, 2019
weixiao-huang pushed a commit to weixiao-huang/bazel that referenced this pull request Jan 31, 2019
If neither remote caching nor remote execution is enabled then
quit the remote initialization logic early. The current null
check on the RemoteOptions is not sufficient as it only works
if a none build command is used.

Also, don't create a remote logs directory and don't print
an invocation id if remoting is disabled.

Closes bazelbuild#7198.

PiperOrigin-RevId: 230573618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants