Build Roles

bazel-build

Build project using Bazel.

Role Variables

bazel_build_target

Build target to specify when invoking Bazel. See Bazel docs for details

zuul_work_dir
Default: {{ zuul.project.src_dir }}

Directory where project will be built.

ensure-bazel

Download and install Bazel, if the specified version is not already present.

Role Variables

bazel_version
Default: '3.1.0'

The version of Bazel required.

bazel_release_url
Default: 'https://github.com/bazelbuild/bazel/releases/download'

The base URL to use when downloading Bazel releases.

bazel_installer_checksum
Default: None

The Bazel installer SHA256 checksum. If not provided, the checksum will be retrieved from Github.