2.4.1 release checklist
Kea 2.4.1 Release Checklist
This is thoroughly documented in the Kea Release Process guide.
Pre-Release Preparation
Some of these checks and updates can be made before the actual freeze. For new stable releases or maintenance releases, please don't use the kea-dev
build farm; use a dedicated build farm for each release cycle.
-
Check Jenkins results: -
Check Jenkins jobs for failures: distcheck, etc... -
Check Jenkins Tests Report. -
Check tarball check report
-
-
Check Performance Test Results in Jenkins for drops in performance. -
Create a Gitlab issue for bumping up library versions and KEA_HOOKS_VERSION
and notify developers.- In case of no developers available, it can be done by running: ./tools/bump-lib-versions.sh Kea-q.w.e Kea-a.b.c (where
a.b.c
is the version to be released andq.w.e
is the version previous to that).
- In case of no developers available, it can be done by running: ./tools/bump-lib-versions.sh Kea-q.w.e Kea-a.b.c (where
-
Look at the issue numbers in commit descriptions. Add to ChangeLog a mention about any change with visible impact that had not been mentioned already. -
If any changes have been done to database schemas, then: -
Check that a previously released schema has not been changed. -
Check that the additions to dhcpdb_create.*sql
, and nothing more nor less than what was added in this release, is present in aupgrade_*_to_*.sh.in
script that should also have been added in this release.
-
-
Prepare release notes. -
Create release note on Kea GitLab wiki and notify @tomek. It should be created under the Release-Notes
directory, like this one: https://gitlab.isc.org/isc-projects/kea/-/wikis/Release-Notes/release-notes-2.3.4 -
Finish release notes and conduct its review. -
Notify support that release notes are ready for review. To avoid conflicts in edits wait with next step after review is done. -
Notify @sgoldlust or @vicky that release notes are ready for review. Due to time difference please do this at least 36 hours before planned release.
-
-
Check that packages can be uploaded to cloudsmith. - Go to release-upload-to-cloudsmith.
- Click
Build with Parameters
. - Pick the latest pkg build in the
Packages
field, and the corresponding tarball build in theTarball
field, leave the rest as they arePrivPubRepos: "private"
,TarballOrPkg: "packages"
,TestProdRepos: "testing"
and clickBuild
. - If a new Cloudsmith repository is used, then:
-
Make sure freeradius packages are uploaded to the Cloudsmith repository or copied from a previous repository. -
Make sure access tokens have been synchronized from previous Cloudsmith repositories and to the check-pkgs.py QA tool.
-
-
Check if ReadTheDocs can build Kea documentation. Alternatively, look for failures in emails if you know that the ReadTheDocs webhook is working. - Trigger rebuilding docs on readthedocs.org and wait for the build to complete.
The following steps may involve changing files in the repository.
-
Run update-code-for-release.py
Example command:GITLAB_TOKEN='...' ./update-code-for-release.py 2.3.4 --repo-dir ~/isc/repos/kea/
.
Help:GITLAB_TOKEN='...' ./update-code-for-release.py --help
.
The script requires an explicit flag for stable and maintenances releases e.g.--repo-branch v2_4
.
The script makes the following changes and actions:- Runs prepare_kea_release.sh that:
- Adds release entries in ChangeLogs.
- Updates Kea version in configure.ac.
- Updates copyright years in files that were changed in current year.
- Sorts message files.
- Regenerates message files headers.
- Regenerates parsers using Bison from Docker
- Runs prepare_kea_release.sh that:
-
Run the script again with the --upload
flag which:- Creates an issue in GitLab for release changes in kea repo.
- Creates branches and merge requests for kea and kea-premium.
- Commits the changes in both repos.
- Checks out created branches in both repos.
- Commits and pushes the changes to GitLab server.
-
Check manually User's Guide sections: -
Chapter 1. Introduction -
On what platforms we are running tests using Jenkins? Update Supported Platforms in platforms.rst file. -
Did we add any additional 3rd party software? Update if needed. -
Is there a new tool installed in bin or sbin released this time? If yes, is it documented?
-
-
Chapter 2. Quick Start -
Has the default installation process changed (for kea and hooks)? If yes, are those changes documented and highlighted in the release notes?
-
-
Chapter 3. Installation -
Check installation hierarchy (this is also automatically checked at the end of ut-extended job). -
Check and update Build Requirements. -
Check configure options against what ./configure -h
says.
-
-
-
Check ChangeLog entries in Kea main and premium: spelling, trailing whitespaces, etc. -
Check AUTHORS, INSTALL, README files in Kea main and premium. - AUTHORS: update credits
- README: check "provides" with Release Notes, User Guide (1.3 Kea Software)
-
If changes were made, commit the change, push the branch to the main repository and request a review. Once the changes have been approved, merge the MR to master.
Build selection, tarballs upload and sanity checks
This is the last moment to freeze code!
-
Go to build-tarball Jenkins job and pick the last tarball built - it will be a release candidate. -
Check tarball before requesting sanity checks from the development team. - Download tarballs from picked Jenkins build
- Check hook libraries.
- Are there any new hook libraries installed in this release?
- Are they in the proper tarball? Premium or subscription?
- Do they have their own package?
- Are there any new hook libraries installed in this release?
- Check sizes - is the new package reasonable?
- Check installation tree, compare it with the previous release
- Check installed libraries.
- which were updated? (save results)
- Do any of the libraries from the current release have lower version than in the previous release?
- Uninstall Kea, check what left (there should be just configuration files)
- Check if each of the installed binaries has a man page.
- If not, is the binary included in the tarball? That might explain it.
- Are man pages up to date?
- Check if documentation is properly formatted, has correct versions and dates.
- It's advised to search for previous version numbers, some of them are statically added in statements that are no longer valid.
-
Upload tarballs to repo.isc.org using Jenkins and send sanity checks request. - Go to release-tarball-upload Jenkins job.
- Click
Build with Parameters
. - In field
Tarball
select picked tarball build. - In field
Pkg
select the corresponding pkg job. - In field
Release_Candidate
pick:-
rc1
if this is the first selected build for release, it will push the selected tarballs to repo.isc.org, to a directory suffixed with indicated rc# - next rc# if this is a respin after some fixes (note: it is not possible to pick previous rc number - it will result in an error)
-
- Submit the job that will automatically:
- Upload the tarballs.
- Create a GitLab issue for sanity checks, put the announcement there.
- Send Sanity Checks announcement on the Kea/DHCP channel on Mattermost.
The announcement includes:- a link to chapter 4 Sanity Checks of the release process: KeaReleaseProcess - SanityChecks
- a link to the GitLab issue
- tarballs locations with SHA256 checksums
- rpm/deb packages locations and versions
Releasing Tarballs and Packages
Now it's time to publish the code.
-
Update Release Notes with ChangeLog entries. -
Mark Jenkins jobs with release artifacts to be kept forever and update description of build by adding there version of released kea (e.g. Kea-2.3.4
).- Go to the following Jenkins jobs, click release build and then, on the build page, click
Keep this build forever
button and edit description:
- Go to the following Jenkins jobs, click release build and then, on the build page, click
-
Upload final tarballs to repo.isc.org. - Go to release-tarball-upload Jenkins job.
- Click
Build with Parameters
. - In field
Tarball
select picked tarball build. - In field
Pkg
select the corresponding pkg job. - In field
Release_Candidate
pickfinal
. This job will also:- Open an issue on the signing repository for signing final tarballs on repo.isc.org.
- Create Git tags
Kea-a.b.c
in Kea main and premium repositories. - Create Gitlab releases
Kea-a.b.c
in Kea main and premium repositories.
-
Sign tarballs with the personal key, by running sign_kea_and_upload_asc.sh which signs, verifies signatures and uploads them. - If release engineer does NOT have signing key, please contact team member.
-
Confirm that the tarballs have the checksums mentioned on the signing ticket. -
Wait for clearance from Security Officer to proceed with the public release (if applicable). If this is a security release, next steps will be impacted by CVE checklist. -
Login to repo.isc.org and upload final tarball to public ftp using make-available script (only OPS can remove incorrectly uploaded tarballs). -
For premium tarballs use --private
option.- For newest stable release use
--symlink=cur
option. - Example command:
make-available --public --symlink=cur /data/shared/sweng/kea/releases/2.3.4
.
- For newest stable release use
-
save links to all premium tarballs and put them into signing ticket as a comment.
-
-
Upload final RPM & DEB packages, tarballs and sign files to cloudsmith.io: - Go to release-upload-to-cloudsmith.
- Click
Build with Parameters
. - Pick your selected pkg build in the
Packages
field, the corresponding tarball build in theTarball
field,PrivPubRepos: "both"
,TarballOrPkg: "both"
,TestProdRepos: "production"
and clickBuild
.- This step also verifies sign files.
- When it finishes run check: releases-pkgs-check.
-
Check that Docker images can be uploaded to Cloudsmith. Run build-upload-docker. - Make sure the right package job is selected under
Packages
. - Tick
Upload
. - Leave
TestProdRepos
totesting
. - Leave
versionTag
ticked. - Tick
latestTag
if this is a stable or a maintenance release. - If this is a stable or maintenance release, change
KeaDockerBranch
to the appropriate branch. - Press
Build
.
- Make sure the right package job is selected under
-
Build and upload Docker images to Cloudsmith. Run build-upload-docker with the same actions as above except change TestProdRepos
toproduction
. -
Update ReadTheDocs: - Trick ReadTheDocs into pulling the latest tags. Click
Build version
on readthedocs.org. - Publish currently released version. On the
Versions
tab, scroll down toActivate a version
, search forkea-a.b.c
and clickActivate
. - If it's a stable release, change the default version to point to this stable release.
Admin -> Advanced Settings -> Default version* -> Kea-a.b.c
.
- Trick ReadTheDocs into pulling the latest tags. Click
-
Create an issue and a merge request to bump up Kea version in configure.ac
to next development version which could be, based on just released versiona.b.c
:-
a.b.z-git
wherez == c + 1
most of the time, or -
a.y.0-git
wherey == b + 2
if a new development series starts, or -
x.1.0-git
wherex == a + 1
when the released minor versionb
is 9 anda.b.c
was the last version in the development series and a new development version is coming up next.
-
-
Contact Marketing team, and find a member who will continue work on this release: -
Assign this ticket to person who will continue. -
Share link to signing ticket either directly or as a comment in this issue.
-
Marketing
-
Publish links to downloads on ISC website. -
Update the supported versions document in the Salesforce portal (if there are stable versions released), and update the Kea document in the portal. -
If it is a new major.minor
version, SWENG will have created a new repo in Cloudsmith, which will need the customer tokens migrated from an existing repo. Verify that the KB on installing from Cloudsmith has also been updated, then update the Kea document in the SF portal and notify support customers that this new private repo exists. -
If a new Cloudsmith repository is used, make sure that the Zapier scripts are updated. - If those are not updated, there was an error made during preparation for new stable release. Please contact QA team and coordinate fix.
-
Upload Premium hooks tarball to SendOwl. Create a new product if a new branch, otherwise update existing product. Send notifications to existing subscribers of the new version. -
Write release email to kea-announce. -
Write email to kea-users (if a major release). -
Announce on social media. -
Update Wikipedia entry for Kea. -
Write blog article (if a major release). -
Update Kea page on website if any new hooks. -
Update Kea Premium and Kea Subscription data sheets if any new hooks. -
Update significant features matrix (if any significant new features). -
Contact Support team, find a person who will continue this release and assign this issue to them.
Support
-
Update tickets in case of waiting for support customers. -
Close this ticket