forked from Luet-lab/extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mechanism to run a sed script directly without using jq
It also introduces the release_tag strategy in order to make testing easier Fixes kairos-io/kairos#1934
- Loading branch information
1 parent
e78455b
commit 393a530
Showing
3 changed files
with
96 additions
and
0 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
41 changes: 41 additions & 0 deletions
41
extensions/autobump-github/test_packages/complex_semver_package/collection.yaml
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,41 @@ | ||
packages: | ||
- name: k3s-openrc | ||
category: k8s | ||
version: "1.25.2" | ||
k3s_version: "2" | ||
labels: | ||
github.owner: "k3s-io" | ||
github.repo: "k3s" | ||
github.tag: "v1.28.2+k3s1" | ||
autobump.strategy: "release_tag" | ||
autobump.sed_script: 's/\+k3s1//g' | ||
uri: | ||
- https://github.com/k3s-io/k3s | ||
license: "APL-2" | ||
description: " Lightweight Kubernetes " | ||
- name: k3s-openrc | ||
category: k8s | ||
version: "1.26.3" | ||
k3s_version: "2" | ||
labels: | ||
github.owner: "k3s-io" | ||
github.repo: "k3s" | ||
autobump.strategy: "release" | ||
autobump.sed_replace: "s/+k3s1//g" | ||
uri: | ||
- https://github.com/k3s-io/k3s | ||
license: "APL-2" | ||
description: " Lightweight Kubernetes " | ||
- name: k3s-openrc | ||
category: k8s | ||
version: "1.27.3" | ||
k3s_version: "2" | ||
labels: | ||
github.owner: "k3s-io" | ||
github.repo: "k3s" | ||
autobump.strategy: "release" | ||
autobump.sed_replace: "s/+k3s1//g" | ||
uri: | ||
- https://github.com/k3s-io/k3s | ||
license: "APL-2" | ||
description: " Lightweight Kubernetes " |
41 changes: 41 additions & 0 deletions
41
extensions/autobump-github/test_packages/complex_semver_package/collection.yaml.golden
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,41 @@ | ||
packages: | ||
- name: k3s-openrc | ||
category: k8s | ||
version: "1.28.2" | ||
k3s_version: "2" | ||
labels: | ||
github.owner: "k3s-io" | ||
github.repo: "k3s" | ||
github.tag: "v1.28.2+k3s1" | ||
autobump.strategy: "release_tag" | ||
autobump.sed_script: 's/\+k3s1//g' | ||
uri: | ||
- https://github.com/k3s-io/k3s | ||
license: "APL-2" | ||
description: " Lightweight Kubernetes " | ||
- name: k3s-openrc | ||
category: k8s | ||
version: "1.26.3" | ||
k3s_version: "2" | ||
labels: | ||
github.owner: "k3s-io" | ||
github.repo: "k3s" | ||
autobump.strategy: "release" | ||
autobump.sed_replace: "s/+k3s1//g" | ||
uri: | ||
- https://github.com/k3s-io/k3s | ||
license: "APL-2" | ||
description: " Lightweight Kubernetes " | ||
- name: k3s-openrc | ||
category: k8s | ||
version: "1.27.3" | ||
k3s_version: "2" | ||
labels: | ||
github.owner: "k3s-io" | ||
github.repo: "k3s" | ||
autobump.strategy: "release" | ||
autobump.sed_replace: "s/+k3s1//g" | ||
uri: | ||
- https://github.com/k3s-io/k3s | ||
license: "APL-2" | ||
description: " Lightweight Kubernetes " |