Skip to content

Commit

Permalink
renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Oct 3, 2024
1 parent 1bdcb67 commit 2ceef2a
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
4 changes: 4 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ inputs:
kind_version:
description: 'The version of kind to use'
required: false
# renovate: github-releases packageName=kubernetes-sigs/kind
default: 'v0.23.0'
kubectl_version:
description: 'The version of kubectl to use'
required: false
# renovate: k8s
default: 'v1.30.1'
node_image:
description: 'The version of node image to use'
required: false
# renovate: docker
default: 'kindest/node:v1.30.0'
ingress_enabled:
description: 'enable ingress for the cluster'
Expand All @@ -21,6 +24,7 @@ inputs:
registry_image:
description: 'The registry docker image to be used'
required: false
# renovate: docker
default: 'registry:2'
outputs:
ingress_class_name:
Expand Down
45 changes: 44 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "docker",
"description": "Update docker images in action.yaml",
"fileMatch": [
"^action\\.yaml$"
],
"matchStrings": [
"# renovate: docker\\s+default:\\s\\'(?<packageName>.+?):(?<currentValue>.+?)'\\s"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
"description": "Update github-releases images in action.yaml",
"fileMatch": [
"^action\\.yaml$"
],
"matchStrings": [
"# renovate: github-releases packageName=(?<packageName>.+?)\\s+default:\\s\\'(?<currentValue>.+?)'\\s"
]
},
{
"customType": "regex",
"datasourceTemplate": "custom.k8s",
"depNameTemplate": "kubectl",
"description": "Update k8s images in action.yaml",
"fileMatch": [
"^action\\.yaml$"
],
"matchStrings": [
"# renovate: k8s\\s+default:\\s\\'(?<currentValue>.+?)'\\s"
]
}
],
"customDatasources": {
"k8s": {
"defaultRegistryUrlTemplate": "https://storage.googleapis.com/kubernetes-release/release/stable.txt",
"format": "plain"
}
},
"dependencyDashboard": true
}

0 comments on commit 2ceef2a

Please sign in to comment.