Make this post a wiki
Roles
Prep Week: 2023-01-31 to 2023-02-04
Installer Maintainer
-
Make releases of installer modules
- Tier 0 (no dependencies)
- candlepin: Release 13.2.0 by ehelms · Pull Request #227 · theforeman/puppet-candlepin · GitHub
- certs
- dhcp
- dns: Release 9.5.1 by ehelms · Pull Request #226 · theforeman/puppet-dns · GitHub
- foreman
- git
- pulpcore
- puppet: Release 16.4.0 by ekohl · Pull Request #864 · theforeman/puppet-puppet · GitHub
- puppetserver_foreman
- qpid
- tftp
- Tier 1 (Dependencies on Tier 0)
- Tier 2 (Dependencies on Tier 1)
- Tier 0 (no dependencies)
Release Owner
- Ensure headline features planned for the release have been merged or push them off to the next release.
- Translations:
-
Update locales in foreman develop:
make -C locale tx-update
- Ask plugin authors to start extracting i18n strings and pushing the changes into develop/master git branches so Transiflex can pick it up
- Announce string freeze date on Discourse and send announcement
- Update foreman-dev with translations status to encourage 100% translations before release
-
Update locales in foreman develop:
Stabilization Week: 2023-02-07 to 2023-02-11
Release Owner
- Announce start of stabilization week to discourse development category.
- Request new Hammer CLI release from maintainers if needed.
- Prepare the manual for the new version:
-
Change
$next
parameter on web class to point to the new version number. - Copy website manual content from nightly to 3.6 and update version numbers mentioned in it.
- Update installer options section of nightly manual using the get-params script
- Clean up deprecation and upgrade warnings from nightly manual.
-
Change
- Branch foreman-documentation git repository and update website for new release:
- Branch the github repository.
- Add the 3.6 in index page and versions with RC as a state
- Add new languages that are at a reasonable completion on Transifex to develop
Release Engineer
- Create new GPG key for release. See GPG_Keys if needed.
-
Publish the key by exporting the GPG key
- Update the website’s security.md and create a file in static/keys
- Create releases/3.6/RPM-GPG-KEY-foreman on yum.theforeman.org
-
Commit the settings file to the
theforeman-rel-eng
repository
-
Create new settings files for client, ensure it has the rights
OSES
list and commit it too. -
Create
configs/foreman/3.6.yaml
based on the nightly and previous release. Ensure that anybased_on
entries are filled out and pointing to nightly version of tag.-
Generate mash configs
bundle exec ./tools.rb mash-scripts configs/foreman/3.6.yaml sed -i '/strict_keys/ s/True/False/' mash_scripts/foreman/3.6.0/foreman-plugins-3.6-*.mash
- Open PR with new config and mash scripts for review
-
Create mash configuration on Koji, from tool_belt checkout:
scp mash_scripts/foreman/3.6.0/*.mash root@koji.katello.org:/etc/mash/
-
Generate mash configs
-
Update collection-mash-split.py
- Add a Katello version mapping
- Make any changes if needed (usually happens when there are tag changes)
- Deploy using
scp collection-mash-split.py root@koji.katello.org:/usr/local/bin
-
Open a PR with the result of jenkins-jobs branching:
./branch-foreman 3.6 KATELLO_VERSION
- Open PR to remove any jobs that are related to end of life versions
- Open PR to add 3.6 to Forklift versions config. Once the PR is merged, upgrade pipelines will fail, so do not merge it before packaging has been branched.
Branching: 2023-02-14
Release Engineer
-
Branch RPM packaging using tool_belt
-
Clone tags and create build targets in Koji:
bundle exec ./tools.rb koji --commit configs/foreman/3.6.yaml
-
Create a
rpm/3.6
branch in foreman-packaging based onrpm/develop
-
Clone tags and create build targets in Koji:
-
Branch Debian packaging
- Clone Debian nightly repos to 3.6 using copy/freight instructions
-
Create a
deb/3.6
branch in foreman-packaging based ondeb/develop
Release Owner
-
Create 3.6-stable branches
- foreman
-
foreman-installer
-
bundle exec rake pin_modules && sed -i '/Puppetfile.lock/d' .gitignore && bundle exec librarian-puppet install && git add Puppetfile*
-
- foreman-selinux
- smart-proxy
- hammer-cli
- hammer-cli-foreman
The next step should only be done after all branching, including packaging, has completed.
-
Bump versions to 3.7-develop
echo 3.7.0-develop > VERSION
-
foreman
Also change package.json version field to 3.7.0 - foreman-installer
- foreman-selinux
- smart-proxy
- hammer-cli
- hammer-cli-foreman
-
foreman
Preparing build systems: 2023-02-14
Release engineer
-
Update foreman-packaging rpm/develop to ensure nightlies build:
-
rpm/develop:
-
Update the build tag:
sed -i 's/fm3_6/fm3_7/g' package_manifest.yaml
-
Set to version
3.7.0
, reset release to1
inpackages/foreman/foreman{,-{installer,proxy,release,selinux}}/*.spec
andpackages/foreman/rubygem-hammer_cli{,_foreman}/*.spec
. Then create a changelog usingobal changelog --message '- Bump version to 3.7-develop' foreman{,-{installer,proxy,release,selinux}} rubygem-hammer_cli{,_foreman}
-
Update the build tag:
-
deb/develop:
scripts/changelog.rb -v 3.7.0-1 -m "Bump changelog to 3.7.0 to match VERSION" debian/*/*/changelog
-
rpm/develop:
-
Prepare build systems for 3.6 release:
-
foreman-packaging’s rpm/3.6
-
Update
packages/foreman/foreman-release/foreman.gpg
,mock/*.cfg
,package_manifest.yaml
andrepoclosure/*.conf
-
Update
-
foreman-packaging’s deb/3.6
-
Update
debian/*/foreman-release/theforeman-archive-keyring.asc
from https://deb.theforeman.org/foreman.asc, you will only see changes if the key was recently updated.
-
Update
-
foreman-packaging’s rpm/3.6
-
Trigger the
foreman-packaging-rpm-3.6
job once, so that GitHub hooks are properly set up. -
Trigger the
foreman-packaging-deb-3.6
job once, so that GitHub hooks are properly set up.
Other systems: 2023-02-14
Release Owner
- Create release schedule page for next version (3.7) linked from Development_Resources and post planned schedule on Discourse.
- Create Redmine versions
- Ensure current Foreman deprecations for the next release are removed in develop
This was based on the wiki procedure and sometimes has a bit more info.