Builds
A build of a version group builds what changed and everything that depends on it, reuses the rest, and releases nothing unless all of it passes.
What gets built
A build plans on the group's newest revision. A package is built when it changed: its commit isn't the one its release was built from, or the packages it was built with have moved. Every package that depends on one that's built is built too. The rest is reused as it is. The plan says so before anything runs:
4 packages to build in the group: 1 changed, 3 dependent.
All or nothing
The build releases only when every package passed, and only if the group hasn't moved since it planned. Then each new release goes into one new revision of the group, together. Releases never change once made.
One at a time
A group runs one releasing build at a time, imports included, each planned on the revision the one before it made. A build that waits says Queued: the plan is computed when the build starts. A verify build, such as a review's dry run, releases nothing and never waits.
Verify, then release
A verify build builds, tests and packages everything a release would, and releases nothing. When it tried a change or a merge, you can release it afterwards: the same build puts what it built into the group, building nothing again. It waits for the group's releasing builds before it, then checks that the group is still at the revision it verified and that no other build took one of its versions. If either changed, it fails and says so: verify again, and release that build. What a verify build built is kept for a week.
When a package fails
- Each package gets three tries on its own before it fails.
- The packages that depend on it wait; everything else carries on.
- Retry on a package gives it one more try. Retry failed starts a new build that reuses everything already built.
A package is Waiting, Queued, Building, Built, Reused, Failed or Cancelled.
Where it runs
On plinto's build servers, one package at a time, each in a fresh, empty place that holds only the packages the group pins. A build can reach nothing on the network but plinto's own packages, and everything is wiped after each package. So a build can't depend on what a server happens to have.
In the Builds app
Build into a group builds chosen commits into a group by hand: type a branch or choose a commit for each package, Preview the plan, then Verify only, which releases nothing, or Build & release change. A verify build that passed has Release this change… (Merge this… for a merge), which releases that same build: see Verify, then release. Merge brings another group's changes in: see Try a change in a group of its own.