Implement versioning ADR (#126)

* Include release/0.1 branch in renovate

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

* Add release GHA

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

* Add Versioning Doc

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

* Correct branch in renovate

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

---------

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
This commit is contained in:
Vatsal Parekh 2025-01-28 22:54:56 +05:30 committed by GitHub
parent 9325fed685
commit 66dc89cc44
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.1"
],
"prHourlyLimit": 2
}

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

@ -0,0 +1,25 @@
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
env:
GH_TOKEN: ${{ github.token }}
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

@ -202,3 +202,7 @@ The following resources were helpful in writing these docs. They are highly reco
2. https://docs.bitnami.com/tutorials/a-deep-dive-into-kubernetes-controllers/
3. https://aly.arriqaaq.com/kubernetes-informers/
4. https://github.com/kubernetes/sample-controller/blob/master/docs/controller-client-go.md
# Versioning
See [VERSION.md](VERSION.md).

8
VERSION.md Normal file
View File

@ -0,0 +1,8 @@
Lasso 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 wrangler. The current supported versions of lasso are as follows:
The current supported release lines are:
| Lasso Branch | Lasso Minor version | Matching Wrangler Version |
|--------------------------|------------------------------------|------------------------------------------------|
| main | v0.2 | v3 |
| release/v0.1 | v0.1 | v2 |