Skip to content

Commit

Permalink
feat: log the bazel version we use (#913)
Browse files Browse the repository at this point in the history
* feat: log the bazel version we use

* fix: show the output of bazel --version
  • Loading branch information
SurferJeffAtGoogle committed Jan 25, 2021
1 parent 845a4a0 commit 2023b67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions synthtool/gcp/gapic_bazel.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ def _generate_code(
cwd = os.getcwd()
os.chdir(str(api_definitions_repo))

# Log which version of bazel that we're using for easier debugging.
logger.debug("Which version of bazel will I run?")
shell.run(["bazel", "--version"], hide_output=False)

bazel_run_args = [
"bazel",
"--max_idle_secs=240",
Expand Down

0 comments on commit 2023b67

Please sign in to comment.