mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 19:56:06 +00:00
Add initial instructions for releasing plugins (#2952)
* Add initial instructions for releasing plugins Signed-off-by: Nolan Brubaker <brubakern@vmware.com> * Document that goreleaser isn't needed Signed-off-by: Nolan Brubaker <brubakern@vmware.com> * Add link from core release instructions to plugins Signed-off-by: Nolan Brubaker <brubakern@vmware.com> * Add notes about updating compatibility matrix Signed-off-by: Nolan Brubaker <brubakern@vmware.com> * Add velero install note Signed-off-by: Nolan Brubaker <brubakern@vmware.com> * Address review feedback Signed-off-by: Nolan Brubaker <brubakern@vmware.com> * Remove anchor link to table, since it didn't work Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Releasing Velero plugins
|
||||
layout: docs
|
||||
toc: "true"
|
||||
---
|
||||
|
||||
Velero plugins maintained by the core maintainers do not have any shipped binaries, only container images, so there is no need to invoke a GoReleaser script.
|
||||
Container images are built via a CI job on git push.
|
||||
|
||||
Plugins the Velero core team is responsible include all those listed in [the Velero-supported providers list](supported-providers.md) _except_ the vSphere plugin.
|
||||
|
||||
1. Update the README.md file to update the compatibility matrix and `velero install` instructions with the expected version number and open a PR.
|
||||
1. Determining the version number is based on semantic versioning and whether the plugin uses any newly introduced, changed, or removed methods or variables from Velero.
|
||||
1. Once the updated README.md PR is merged, checkout the upstream `main` branch. `git checkout upstream/main`.
|
||||
1. Tag the git version - `git tag v<version>`.
|
||||
1. Push the git tag - `git push --tags <upstream remote name>`
|
||||
1. Wait for the container images to build
|
||||
@@ -97,6 +97,10 @@ These are the steps to update the Velero Homebrew version.
|
||||
- Run `export HOMEBREW_GITHUB_API_TOKEN=your_token_here` on your command line to make sure that `brew` can work on GitHub on your behalf.
|
||||
- Run `hack/release-tools/brew-update.sh`. This script will download the necessary files, do the checks, and invoke the brew helper to submit the PR, which will open in your browser.
|
||||
- Update Windows Chocolatey version. From a Windows computer, follow the step-by-step instructions to [create the Windows Chocolatey package for Velero CLI](https://github.com/adamrushuk/velero-choco/blob/main/README.md)
|
||||
-
|
||||
### Plugins
|
||||
|
||||
To release plugins maintained by the core team, follow the [plugin release instructions](plugin-release-instructions.md).
|
||||
|
||||
## How to write and release a blog post
|
||||
What to include in a release blog:
|
||||
|
||||
Reference in New Issue
Block a user