-
Notifications
You must be signed in to change notification settings - Fork 579
Longhorn Release Process
Sheng Yang edited this page Dec 6, 2020
·
16 revisions
- Validate any failed nightly testing cases, make sure they're not reproducible on the second run.
- Make sure the latest builds are all green.
- Make sure all the settings have been updated in the Helm Chart and doc.
- Including the description, default value
- Make sure
longhorn/longhorn:chart
is identical to other Helm repos, e.g.rancher/charts
. - If the live upgrade is not supported, make sure the
Upgrade Engine
button is enabled only when the volume is detached. - If there are upgrade specific instructions, make sure they're documented in the RC's release note for QA to test.
- Make a new commit for the version, then tag following repositories with the same tag on master, e.g. v0.8.1-rc1
- Drone will build and push the related tagged image to the Docker Hub.
- Synchronize Longhorn deployment YAML with Longhorn Manager
- Modify the image tags in the deployment YAML.
- Modify the chart tags in the deployment YAML.
- Check if instance manager was updated. If so, need to update Chart's value manually.
- Check if share manager was updated. If so, need to update Chart's value manually.
- Modify the tags in
release-images.txt
andimages.txt
.- Check if instance manager was updated. If so, need to update the value manually.
- Check if share manager was updated. If so, need to update the value manually.
- If there is any images not belong to
longhoronio
Docker Hub account, retag all the images and push to Docker Hub using following commands:./scripts/save-images.sh -l ./deploy/release-images.txt ./scripts/load-images.sh -l ./deploy/release-images.txt
- Commit change. Create a release using GitHub on https://github.com/longhorn/longhorn .
- For RC releases, create the release in the versioned branch, e.g. v1.0.0
- For formal releases, create the release in the versioned branch first, then use
merge
to merge to the master.
- For formal releases:
- Copy the charts directory to
longhorn/charts
to create the new chart for https://charts.longhorn.io/. - Merge
longhorn/website
<version>
branch tomaster
- Copy the charts directory to