Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #69 from aiuto/docs
Browse files Browse the repository at this point in the history
add outline about what CI pipelines mean
  • Loading branch information
aiuto committed Sep 23, 2019
2 parents 7c7ad8e + 70c4a7c commit 7cda90c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/ci.md
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.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ incomplete.*
- [About](about.md)
- [How to integrate rules into the Federation](how_to_integrate.md)
- [Code](https://github.com/bazelbuild/bazel-federation)
- [How CI is used to gate releases](ci.md)

0 comments on commit 7cda90c

Please sign in to comment.