The kops project is released on an as-needed basis. The process is as follows:
- An issue is proposing a new release with a changelog since the last release
- All OWNERS must LGTM this release
- An OWNER runs
git tag -s $VERSION
and inserts the changelog and pushes the tag withgit push $VERSION
- The release issue is closed
- An announcement email is sent to
[email protected]
with the subject[ANNOUNCE] kops $VERSION is released
We maintain a release-1.4
branch for kops 1.4.X, release-1.5
for kops 1.5.X
etc.
master
is where development happens. We create new branches from master as a
new kops version is released, or in preparation for a new release. As we are
preparing for a new kubernetes release, we will try to advance the master branch
to focus on the new functionality, and start cherry-picking back more selectively
to the release branches only as needed.
Generally we don't encourage users to run older kops versions, or older branches, because newer versions of kops should remain compatible with older versions of Kubernetes.
Releases should be done from the release-1.X
branch. The tags should be made
on the release branches.
We do currently maintain a release
branch which should point to the same tag as
the current release-1.X
tag.
See 1.5.0-alpha4 commit for example
- Edit makefile
- If updating dns-controller: bump version in Makefile, code, manifests, and tests
make ci
make dns-controller-push DOCKER_REGISTRY=kope
# export AWS_PROFILE=??? # If needed
make upload S3_BUCKET=s3://kubeupv2
Make sure you are on the release branch git checkout release-1.X
make release-tag
git push
git push --tags
For the time being, we are also maintaining a release branch. We push released versions to that.
git push origin release-1.7:release
Use shipbot to upload the release:
make release-github
e.g.
git log 1.8.0-beta.1..1.8.0-beta.2 --oneline | grep Merge.pull | cut -f 5 -d ' ' | tac > ~/shipbot/prs
- Download release
- Validate it
- Add notes
- Publish it
Once we are satisfied the release is sound:
- Bump the kops recommended version in the alpha channel
Once we are satisfied the release is stable:
- Bump the kops recommended version in the stable channel