1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-22 11:58:18 +00:00

Implement versioning ADR (#321)

* update renovate

* add release workflow

* document versioning

---------

Co-authored-by: joshmeranda <joshua.meranda@gmail.com>
This commit is contained in:
Josh Meranda
2024-11-15 10:29:32 -05:00
committed by GitHub
parent ea177193f1
commit 61e80cffc8
4 changed files with 36 additions and 1 deletions

View File

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

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

@@ -0,0 +1,21 @@
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: |
gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -813,3 +813,8 @@ Before running the tests, you must run the following command to setup the fake s
# current client-go version, as seen in scripts/test.sh
export KUBEBUILDER_ASSETS=$(setup-envtest use -p path)
```
# Versioning
See [VERSION.md](VERSION.md).

9
VERSION.md Normal file
View File

@@ -0,0 +1,9 @@
Steve follows a pre-release (v0.x) strategy of semver. There is no compatibility between releases, and new releases are meant to be strictly compatible with a single version of Rancher. The current supported versions of Steve are as follows:
| Steve Branch | Steve Minor version | Matching Rancher Version |
|--------------------------|------------------------------------|------------------------------------------------|
| main | v0.5 | v2.11 |
| release/v0.4 | v0.4 | v2.10 |
| release/v0.3 | v0.3 | v2.9 |
| release/v0.2 | v0.2 | v2.8 |
| release/v0.1 | v0.1 | v2.7 |