The Nebari release process
This page describes the high-level details of cutting a new Nebari release.
Cadence | Versioning System | Release Checklist | Testing Checklist |
---|---|---|---|
3rd week of the month | CalVer - (for example 2022.10.1 ) | Link to issue template | Link to issue template |
Release Captain responsibilities
For every release, there is an assigned "Release Captain". The Release Captain's responsibilities are:
- Manage both the release and testing processes and update the checklists as needed.
- Communicate the status of the release to the rest of the Nebari development team and the community (through updating the checklists and adding status updates as comments).
- Assign owners to checklist items (if not owned by the Release Captain).
- Adjust the schedule, particularly the publishing dates, based on defects found, fixes made, holidays, vacations, and so on.
CalVer details
Nebari releases should follow the following CalVer versioning style:
YYYY-MM-releaseNumber
YYYY
represents the year - such as 2023
MM
represents the non-zero padded month - such as 1
for January, 12
for December
releaseNumber
represents the current release for that month, starting at 1
. Anything above 1
represents a hotfix (patch) release.
For the release tag, there should be NO prepended v
For example, the first Nebari CalVer release was 2022.10.1
. If a hotfix release was needed in the same month, we increment the releaseNumber
by 1, which would be 2022.10.2
(this is to illustrate how the increment works, this release does not exist.)
Branching strategy
We use the following guidelines to manage git
branches by assigning certain roles to particular branches.
-
develop
- Represents the active development branch and is the default branch on the GitHub repository. -
main
- Represents a production-ready state of the code-base, with an appropriate tag to match the most recent release. -
release/YYYY-MM-releaseNumber
- Represents the branch for the upcoming release and only briefly exist while actively preparing for the release.
Process
Although this process is captured in the release checklist template, it's worth making clear how branches are managed.
- Active development occurs against the
develop
branch. - When it's time for a release, the Release Captain will create the release branch
release/YYYY-MM-releaseNumber
and prepare the branch for the release. At times, this might mean cherry-picking commits that are needed for this release and at other times, this might mean mergingdevelop
into this release branch. - As soon as this release branch is ready, the Release Captain can open a pull request against
main
. From here, all of the changes that are included in the release should be visible in the "Files changed" section of the pull request. - Once CI passes, all manual tests are successful and the team is happy with the changes, the Release Captain can complete the release checklist and cut the release.
Hotfixes
In the event that a patch or hotfix release is needed, release process is the same as outlined above. The only difference is that the commits that are merged into the hotfix release branch will need to be cherry-picked from the develop
branch.
Related packages
nebari-dask
nebari-dask
is a meta package which contains specific versions of dask
, dask-gateway
and distributed
.
Released at the same time as
nebari
with matching version numbers. Included in the release checklist linked above.
nebari-docker-images
The nebari-docker-images
repo contains the Dockerfiles for the JupyterHub, JupyterLab, and Dask-Gateway Kubernetes deployments. This repo also contains the workflow needed to build and push them the images to github.com/orgs/nebari-dev/packages and quay.io/organization/nebari.
These images are built and tagged with the same version number of the corresponding
nebari
release. Included in the release checklist linked above.