1+ {
2+ "$schema" : "https://docs.renovatebot.com/renovate-schema.json" ,
3+ "extends" : [
4+ "config:base" ,
5+ ":disableRateLimiting" ,
6+ ":rebaseStalePrs" ,
7+ "github>orange-cloudfoundry/renovate-presets:default.json5"
8+ ] ,
9+
10+ "packageRules" : [
11+ {
12+ "description" : "@JCL38-ORANGE assignments" ,
13+ "matchPackagePatterns" : [
14+ "*"
15+ ] ,
16+ "assignees" : [
17+ "JCL38-ORANGE"
18+ ]
19+ }
20+ ] ,
21+
22+ "regexManagers" : [
23+ {
24+ "description" : "GOSS version in DockerFile https://regex101.com/r/pRv0bq/1" ,
25+ "fileMatch" : [ "Dockerfile$" ] ,
26+ "matchStrings" : [
27+ "ENV GOSS_VERSION=\"(?<currentValue>.*)\""
28+ ] ,
29+ "depNameTemplate" : "goss-org/goss" ,
30+ "datasourceTemplate" : "github-releases" ,
31+ //Test in https://regex101.com/r/g2sXWF/2
32+ "versioningTemplate" : "regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?(?<prerelease>-[0-9A-Za-z-\\.]+)?$"
33+ } ,
34+ {
35+ "description" : "YQ version in DockerFile" ,
36+ "fileMatch" : [ "Dockerfile$" ] ,
37+ "matchStrings" : [
38+ "ENV YQ_VERSION=\"(?<currentValue>.*)\""
39+ ] ,
40+ "depNameTemplate" : "mikefarah/yq" ,
41+ "datasourceTemplate" : "github-releases" ,
42+ "versioningTemplate" : "regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$"
43+ } ,
44+ {
45+ "description" : "YTT version in DockerFile https://regex101.com/r/pRv0bq/1" ,
46+ "fileMatch" : [ "Dockerfile$" ] ,
47+ "matchStrings" : [
48+ "ENV YTT_VERSION=\"(?<currentValue>.*)\""
49+ ] ,
50+ "depNameTemplate" : "vmware-tanzu/carvel-ytt" ,
51+ "datasourceTemplate" : "github-releases" ,
52+ "versioningTemplate" : "regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$"
53+ } ,
54+ {
55+ "description" : "Kuttl version in DockerFile https://regex101.com/r/pRv0bq/1" ,
56+ "fileMatch" : [ "Dockerfile$" ] ,
57+ "matchStrings" : [
58+ "ENV KUTTL_VERSION=\"(?<currentValue>.*)\""
59+ ] ,
60+ "depNameTemplate" : "kudobuilder/kuttl" ,
61+ "datasourceTemplate" : "github-releases" ,
62+ "versioningTemplate" : "regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$" ,
63+ // kuttl releases start with v
64+ // https://docs.renovatebot.com/configuration-options/#extractversion
65+ // use this config option when the raw version strings from the datasource do not match the expected format that you need in your package file.
66+ extractVersionTemplate : "^v(?<version>.*)"
67+ }
68+ ]
69+
70+ }
0 commit comments