Files
fission-src/hack/Releasing.txt
T
Soam VasaniandGitHub 1edb9723e8 Release checklist (#522)
* release checklist

* release checklist updates
2018-03-01 12:46:56 -08:00

87 lines
2.0 KiB
Plaintext

Prerequisites
-------------
1. Get a dockerhub account if you don't have one. Ask to be added to
the fission dockerhub account.
2. Get a Github "personal access token":
https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
Save the token to ~/.gh-access-token (make sure that the file is
readable only by you)
3. Go toolchain set up.
The ability to build docker images.
`docker login`
Update versions
---------------
Update the version in the source code, helm charts and docs.
In the sources, the version is present in both CLI and controller:
fission/main.go
controller/api.go
In each charts, the version is in Chart.yaml, values.yaml and
templates/NOTES.yaml.
Commit your changes, push them, open a PR, merge it.
Make the release
----------------
1. cd to the top of the repo and run
./hack/release.sh <VERSION>
This script checks to make sure you're releasing from the master
branch, and that your repo is clean (no modified/staged files).
This will take a while.
2. Generate docs, copy to the right place, push to github
3. Copy over charts, update helm chart index, push to github
4. Manually test an installation, just for a sanity check
5. Switch the github release from pre-release to release.
Update chart repo
-----------------
Copy the helm charts over to the fission-charts repo.
Run `index.sh` in that repo. (Don't edit the index.yaml in this repo
manually. index.sh generates it, using the helm repo CLI.)
git add, git commit, and git push your changes.
The chart repo is a github page, so once you push the master branch,
you're all set.
Update the docs website
-----------------------
Rebuild the docs website using hugo.
Create a new folder named by version under fission.io/docs. Copy the
generated docs public folder into this folder.
Update the 'latest' symlink to point to the new version of the docs.
git add, git commit, git push.
Announce the release
--------------------
Announce the release on #contributors.