Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
52712859
Commit
52712859
authored
Apr 01, 2024
by
Manuel Buil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add updatecli policy to update k3s-root
Signed-off-by:
Manuel Buil
<
mbuil@suse.com
>
parent
7f659759
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
updatek3sroot.yaml
updatecli/updatecli.d/updatek3sroot.yaml
+54
-0
No files found.
updatecli/updatecli.d/updatek3sroot.yaml
0 → 100644
View file @
52712859
---
name
:
"
Update
k3sroot
version"
sources
:
k3sroot
:
name
:
Get k3s-root version
kind
:
githubrelease
spec
:
owner
:
k3s-io
repository
:
k3s-root
token
:
'
{{
requiredEnv
.github.token
}}'
typefilter
:
release
:
true
draft
:
false
prerelease
:
false
versionfilter
:
kind
:
semver
# pattern accepts any semver constraint
pattern
:
"
*"
targets
:
versionfile
:
name
:
"
Bump
to
latest
k3s-root
version
in
scripts/version.sh"
kind
:
file
scmid
:
default
sourceid
:
k3sroot
spec
:
file
:
"
scripts/version.sh"
matchpattern
:
'
(?m)^VERSION_ROOT=(.*)'
replacepattern
:
'
VERSION_ROOT={{
source
"k3sroot"
}}'
scms
:
default
:
kind
:
github
spec
:
token
:
'
{{
requiredEnv
.github.token
}}'
username
:
'
{{
requiredEnv
.github.username
}}'
user
:
'
{{
.github.user
}}'
email
:
'
{{
.github.email
}}'
owner
:
'
{{
.k3s.org
}}'
repository
:
'
{{
.k3s.repo
}}'
branch
:
'
{{
.k3s.branch
}}'
actions
:
default
:
title
:
'
Bump
K3s-root
version
to
{{
source
"k3sroot"
}}'
kind
:
github/pullrequest
spec
:
automerge
:
false
labels
:
-
dependencies
scmid
:
default
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment