Implement versioning ADR (#124)

* Implement versioning ADR

* Update to handle tags that contain -rc
This commit is contained in:
Chad Roberts 2024-11-15 09:36:48 -05:00 committed by GitHub
parent 74cd23ce3f
commit dce7e4650b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 38 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"github>rancher/renovate-config#release"
],
"baseBranches": [
"master"
"main", "release/v0.3", "release/v0.4", "release/v0.5"
],
"prHourlyLimit": 2
}

23
.github/workflows/release.yaml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Release
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name : Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Create release on Github
run: |
if [[ "${{ github.ref_name }}" == *-rc* ]]; then
gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes --prerelease
else
gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes
fi

View File

@ -10,3 +10,7 @@ By default, a newly signed certificate is set to expire 365 days (1 year) after
You can use the `CATTLE_NEW_SIGNED_CERT_EXPIRATION_DAYS` environment variable to change this value.
**Please note:** the value for the aforementioned variable must be a string representing an unsigned integer corresponding to the number of days until expiration (i.e. X509 "NotAfter" value).
# Versioning
See [VERSION.md](VERSION.md).

10
VERSION.md Normal file
View File

@ -0,0 +1,10 @@
DynamicListener follows a pre-release (v0.x) strategy of semver. There is limited compatibility between releases, though we do aim to avoid breaking changes on minor version lines. DynamicListener aims to support a limited set of Kubernetes minor versions (all values below are inclusive in start and end). The current supported versions of DynamicListener are as follows:
The current supported release lines are:
| DynamicListener Branch | DynamicListener Minor version | Kubernetes Version Range |
|--------------------------|------------------------------------|------------------------------------------------|
| main | v0.6 | v1.27+ |
| release/v0.5 | v0.5 | v1.26 - v1.30 |
| release/v0.4 | v0.4 | v1.25 - v1.28 |
| release/v0.3 | v0.3 | v1.23 - v1.27 |