-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pre-release steps and docs (#102)
- Loading branch information
1 parent
270ac09
commit e61162f
Showing
4 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# How to cut a CAPI provider release | ||
|
||
For `minor` releases you need to do the following pre-release steps: | ||
|
||
1. Add the new release with the corresponding CAPI contract to [the metadata file](../metadata.yaml) | ||
2. Update the integration test files with the latest minor version: | ||
* https://github.com/canonical/cluster-api-k8s/blob/91e4fe70dfb7aaa357396d62c84f0d60de45595f/test/e2e/config/ck8s-docker.yaml#66 | ||
* https://github.com/canonical/cluster-api-k8s/blob/91e4fe70dfb7aaa357396d62c84f0d60de45595f/test/e2e/config/ck8s-docker.yaml#77 | ||
* https://github.com/canonical/cluster-api-k8s/blob/91e4fe70dfb7aaa357396d62c84f0d60de45595f/test/e2e/config/ck8s-aws.yaml#L64 | ||
* https://github.com/canonical/cluster-api-k8s/blob/91e4fe70dfb7aaa357396d62c84f0d60de45595f/test/e2e/config/ck8s-aws.yaml#L74 | ||
|
||
Now, for `minor` and `patch` releases alike, you only need to create a new tag `vX.Y.ZZ` or `vX.Y.ZZ-rcABC` for release candidates. | ||
The [Github workflow](https://github.com/canonical/cluster-api-k8s/blob/main/.github/workflows/release.yaml#L7) will then automatically create the release packages and add a new release to Github. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ releaseSeries: | |
- major: 0 | ||
minor: 2 | ||
contract: v1beta1 | ||
- major: 0 | ||
minor: 3 | ||
contract: v1beta1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters