The device plugin consists in two artifacts:
- The Device Plugin container
- The Device Plugin helm chart
- Create a release PR:
- Run the
./hack/prepare-release.shscript to update the version in all the needed files. This also creates a release issue - Run the
./hack/generate-changelog.shscript to generate the draft changelog and updateCHANGELOG.mdwith the changes. - Create a PR from the created
bump-release-{{ .VERSION }}branch.
- Run the
- Merge the release PR
- Tag the release and push the tag to the
internalmirror:- Image release pipeline:
- Wait for the image release to complete.
- Push the tag to the upstream GitHub repo.
- Wait for the
ReleaseGitHub Action to complete - Publish the draft release created by the GitHub Action
- Wait for the
Publish Helm ChartGitHub Action to complete
Note: This assumes that we have the release tag checked out locally.
- If the
ReleaseGitHub Action fails:- Check the logs for the error first.
- Create the helm packages locally by running:
./hack/package-helm-charts.sh {{ .VERSION }} - Create the draft release by running:
./hack/create-release.sh {{ .VERSION }}
- If the
Publish Helm ChartGitHub Action fails:- Check the logs for the error.
- Update the Helm package index on the
gh-pagesbranch by running:(this pulls the packages from the release created in the previous step)./hack/update-helm-index.sh --version {{ .VERSION }} - Push the change to the
gh-pagesbranch:git -C releases/{{ .VERSION }} remote set-url origin git@github.com:NVIDIA/k8s-device-plugin.git git -C releases/{{ .VERSION }} push origin gh-pages