Skip to content

Commit

Permalink
ci: add renovate to makefiles (#455)
Browse files Browse the repository at this point in the history
Signed-off-by: realanna <[email protected]>
Signed-off-by: RealAnna <[email protected]>
  • Loading branch information
RealAnna authored Apr 12, 2023
1 parent b8f6c5b commit 01d81a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ HELM ?= $(LOCALBIN)/HELM
ENVTEST ?= $(LOCALBIN)/setup-envtest

## Tool Versions
# renovate: datasource=github-tags depName=kubernetes-sigs/kustomize
KUSTOMIZE_VERSION ?= v4.5.7
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
CONTROLLER_TOOLS_VERSION ?= v0.10.0

KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
Expand Down
15 changes: 14 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"kubernetes": {
"fileMatch": [
"^chart/templates/rendered\\.yaml$",
"^config/default/.*-patch\\.yaml$"
"^config/default/.*-patch\\.yaml$",
"test\\/.*\\.ya?ml$"
]
},
"packageRules": [
Expand Down Expand Up @@ -55,6 +56,18 @@
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^flagd/(?<version>.*)$"
},
{
"fileMatch": [
"(^|\\/)Makefile$",
"(^|\\/)Dockerfile",
"(^|\\/).*\\.ya?ml$",
"(^|\\/).*\\.toml$",
"(^|\\/).*\\.sh$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)\\s.*?_VERSION ?(\\??=|\\: ?) ?\\\"?(?<currentValue>.+?)?\\\"?\\s"
]
},
{
"fileMatch": ["^controllers/core/flagsourceconfiguration/controller.go$"],
"matchStrings": ["\"(?<currentValue>.*?)\" \\/\\/FLAGD_PROXY_TAG_RENOVATE"],
Expand Down

0 comments on commit 01d81a0

Please sign in to comment.