This repository has been archived by the owner on Sep 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from aiuto/docs
add outline about what CI pipelines mean
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Bazel Federation - How we use CI to gate PR and releases | ||
|
||
*NOTE: This document is a work in progress. It is very much incomplete.* | ||
|
||
## TL;DR; | ||
|
||
For non-incompatible flag flip realeases | ||
|
||
- There is a Federation major version track for every incompatible flag flip | ||
bazel release. | ||
- We have a minor federation release every time we update a rule version | ||
- Minor version changes (semantically compatible) are allowed in a federation | ||
track | ||
- Major version chanages are only allowed at flag flip releasess. | ||
- Bazel RC candidates (N+1)rc have to test with the federation using bazel N. | ||
If CI fails, then we have to block the Bazel release, because we must have made an | ||
incompatible change by mistake. We do not block Bazel CI at post submit, | ||
because we may decide to fix forward. | ||
|
||
For incompatible flag flip realeases | ||
|
||
- There will be a CI chain with Bazel + all the incompatible flags we intend | ||
to flip in the next major release | ||
- Breaking rules will not block any individual submit | ||
- We can only do the Federation release when there is a solution with all | ||
the rules passing. Bazel team and rule owners have to learn to work this | ||
out with reasonable speed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters