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

feat(gpd): support of GOPACKAGESDRIVER_BAZEL_COMMON_FLAGS env variable #4117

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

lbcjbb
Copy link
Contributor

@lbcjbb lbcjbb commented Sep 24, 2024

This new environment variable can be used to explicitly give some flags for all bazel info, build and query commands, and complete the list of existing environment variables, i.e:

  • GOPACKAGESDRIVER_BAZEL_FLAGS: Startup bazel flags.
  • GOPACKAGESDRIVER_BAZEL_QUERY_FLAGS: Flags to give to all bazel query commands.
  • GOPACKAGESDRIVER_BAZEL_BUILD_FLAGS: Flags to give to all bazel build commands.

This new environment variable can be used to explicitly give some flags
for all bazel info, build and query commands, and complete the list of
existing environment variables, i.e:

- GOPACKAGESDRIVER_BAZEL_FLAGS: Startup bazel flags.
- GOPACKAGESDRIVER_BAZEL_QUERY_FLAGS: Flags to give to all bazel query commands.
- GOPACKAGESDRIVER_BAZEL_BUILD_FLAGS: Flags to give to all bazel build commands.
@fmeum fmeum enabled auto-merge (squash) September 24, 2024 21:31
@lbcjbb
Copy link
Contributor Author

lbcjbb commented Sep 25, 2024

@fmeum Can you retry the CI job 🙏 ?

bazel info output_base
2024/09/24 21:32:26 Downloading https://releases.bazel.build/7.3.1/release/bazel-7.3.1-linux-x86_64...
2024/09/24 21:32:27 could not download Bazel: failed to download bazel: failed to download bazel: could not copy from https://releases.bazel.build/7.3.1/release/bazel-7.3.1-linux-x86_64 to /var/lib/buildkite-agent/.cache/bazelisk/downloads/_tmp/download3375147512: 
  stream error: stream ID 1; INTERNAL_ERROR; received from peer

@fmeum fmeum merged commit d37da53 into bazelbuild:master Sep 25, 2024
2 checks passed
@lbcjbb lbcjbb deleted the gpd-simplify-setup-test branch September 26, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants