ae22e2c171
Checksum retrieval from Github doesn't work when Artifactory is used as a Github mirror when the installer is not already cached. Allow setting the Bazel installer checksum as a variable to make the role work in such cases. See also https://www.jfrog.com/jira/browse/RTFACT-22923 Change-Id: Icc3480420895b9052a4f1c133659a31fff0723be
20 lines
516 B
ReStructuredText
20 lines
516 B
ReStructuredText
Download and install Bazel, if the specified version is not already present.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: bazel_version
|
|
:default: '3.1.0'
|
|
|
|
The version of Bazel required.
|
|
|
|
.. zuul:rolevar:: bazel_release_url
|
|
:default: 'https://github.com/bazelbuild/bazel/releases/download'
|
|
|
|
The base URL to use when downloading Bazel releases.
|
|
|
|
.. zuul:rolevar:: bazel_installer_checksum
|
|
:default: None
|
|
|
|
The Bazel installer SHA256 checksum. If not provided, the checksum will be
|
|
retrieved from Github.
|