Skip to content

Commit

Permalink
Added renovate config to bump kind
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontes11 committed May 12, 2024
1 parent 7a6fd71 commit 49680bb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"rebaseWhen": "never",
"prConcurrentLimit": 5,
"baseBranches": ["main"],
"semanticCommits": "enabled",
"labels": ["dependencies"],
"regexManagers": [
{
"fileMatch": [
"^kubernetes.sh$",
],
"matchStrings": [
"KIND_VERSION=${KIND_VERSION:-v(?<currentValue>.+?)}",
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "kubernetes-sigs/kind",
}
],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}
]
}
2 changes: 1 addition & 1 deletion kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ KUBENS_URL=https://github.com/ahmetb/kubectx/releases/download/$KUBECTX_VERSION/
install_bin kubens $KUBENS_URL

log "Installing kind..."
KIND_VERSION=${KIND_VERSION:-v0.22.0}
KIND_VERSION=${KIND_VERSION:-v0.21.0}
KIND_URL=https://kind.sigs.k8s.io/dl/$KIND_VERSION/kind-linux-$ARCH
install_bin kind $KIND_URL

Expand Down

0 comments on commit 49680bb

Please sign in to comment.