Skip to content

Commit f9e8cf8

Browse files
authored
Fix documentation about release servers (#184)
In most cases Bazel binaries are fetched from GCS now, with the exception of forks (still on Github).
1 parent 8cf79c1 commit f9e8cf8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ Additionally, a few special version names are supported for our official release
5151

5252
## Where does Bazelisk get Bazel from?
5353

54-
By default Bazelisk retrieves the list of Bazel versions from the Bazel GitHub project. If this fails, Bazelisk queries the official Bazel release server instead.
55-
In both cases the actual binaries are downloaded from the release server.
54+
By default Bazelisk retrieves Bazel releases, release candidates and binaries built at green commits from Google Cloud Storage.
5655

57-
As mentioned in the previous section, the `<FORK>/<VERSION>` version format allows you to use your own Bazel fork instead of working with the official servers:
56+
As mentioned in the previous section, the `<FORK>/<VERSION>` version format allows you to use your own Bazel fork hosted on GitHub:
5857

5958
If you want to create a fork with your own releases, you have to follow the naming conventions that we use in `bazelbuild/bazel` for the binary file names.
6059
The URL format looks like `https://github.com/<FORK>/bazel/releases/download/<VERSION>/<FILENAME>`.

bazelisk.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
func main() {
2727
gcs := &repositories.GCSRepo{}
2828
gitHub := repositories.CreateGitHubRepo(core.GetEnvOrConfig("BAZELISK_GITHUB_TOKEN"))
29+
// Fetch releases, release candidates and Bazel-at-commits from GCS, forks from GitHub
2930
repos := core.CreateRepositories(gcs, gcs, gitHub, gcs, true)
3031

3132
exitCode, err := core.RunBazelisk(os.Args[1:], repos)

0 commit comments

Comments
 (0)