blob: c9fc620acf7bf49113f72b0fa7e7ed68c2b35963 [file] [log] [blame]
Mohammed Naser10a8bfa2023-12-29 18:54:16 -05001{
2 "$schema": "https://docs.renovatebot.com/renovate-schema.json",
Mohammed Naser30a5e5b2023-12-29 18:55:45 -05003 "extends": [
Mohammed Naser10a8bfa2023-12-29 18:54:16 -05004 "docker:pinDigests",
Mohammed Naseraecc4232024-01-01 20:55:05 -05005 "group:kubernetes",
Mohammed Naser10a8bfa2023-12-29 18:54:16 -05006 "helpers:pinGitHubActionDigests"
7 ],
Mohammed Naseraa48ddb2023-12-30 00:11:22 -05008 "pip_requirements": {
Mohammed Nasereb8cc652024-01-02 09:03:04 -05009 "fileMatch": [
10 "upper-constraints.txt"
11 ]
Mohammed Naseraa48ddb2023-12-30 00:11:22 -050012 },
13 "customManagers": [
14 {
15 "customType": "regex",
Mohammed Naser876ac032024-01-02 13:40:47 -050016 "matchStringsStrategy": "combination",
17 "fileMatch": [
18 "images/\\w+/Earthfile"
19 ],
20 "datasourceTemplate": "git-refs",
21 "packageNameTemplate": "https://github.com/openstack/{{{depName}}}",
22 "currentValueTemplate": "stable/{{{version}}}",
23 "matchStrings": [
Mohammed Naser403c0422024-01-16 14:36:28 -050024 "ARG --global RELEASE=(?<version>.*)",
25 "ARG --global PROJECT=(?<depName>.*)",
26 "ARG --global PROJECT_REF=(?<currentDigest>.*)"
Mohammed Naser876ac032024-01-02 13:40:47 -050027 ]
28 },
29 {
30 "customType": "regex",
Mohammed Naseraa48ddb2023-12-30 00:11:22 -050031 "fileMatch": [
32 "roles/defaults/vars/main\\.yml"
33 ],
34 "datasourceTemplate": "docker",
35 "versioningTemplate": "docker",
36 "matchStrings": [
37 " \\w+?: (?<depName>[^:\\s]*):(?<currentValue>[^:@\\s]*)@?(?<currentDigest>sha256:[a-f0-9]+)?"
38 ]
39 }
40 ],
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050041 "packageRules": [
42 {
43 "enabled": false,
Mohammed Nasereb8cc652024-01-02 09:03:04 -050044 "matchUpdateTypes": [
45 "major",
46 "minor",
47 "patch"
48 ],
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050049 "matchPackagePrefixes": [
50 "docker.io/bitnami",
51 "docker.io/coredns",
52 "docker.io/grafana",
53 "docker.io/library",
54 "docker.io/nginxinc",
55 "docker.io/percona",
56 "docker.io/prom",
57 "docker.io/rabbitmqoperator",
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050058 "docker.io/rancher",
59 "docker.io/rook",
60 "docker.io/timberio",
61 "quay.io/ceph",
62 "quay.io/cilium",
63 "quay.io/jetstack",
64 "quay.io/keycloak",
65 "quay.io/kiwigrid",
66 "quay.io/prometheus",
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050067 "registry.k8s.io/"
68 ]
Mohammed Naseraa48ddb2023-12-30 00:11:22 -050069 },
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050070 {
Mohammed Naseraa48ddb2023-12-30 00:11:22 -050071 "enabled": false,
Mohammed Nasereb8cc652024-01-02 09:03:04 -050072 "matchUpdateTypes": [
73 "major"
74 ],
75 "excludePackageNames": [
76 "cryptography",
77 "pyOpenSSL"
78 ],
79 "matchFileNames": [
Mohammed Naserc7c333d2024-01-05 12:28:10 -050080 "images/openstack-service/**/upper-constraints.txt"
Mohammed Nasereb8cc652024-01-02 09:03:04 -050081 ]
Mohammed Naser59702dd2024-01-01 21:14:55 -050082 },
83 {
84 "groupName": "upper-constraints",
Mohammed Nasereb8cc652024-01-02 09:03:04 -050085 "matchFileNames": [
Mohammed Naserc7c333d2024-01-05 12:28:10 -050086 "images/openstack-service/**/upper-constraints.txt"
Mohammed Nasereb8cc652024-01-02 09:03:04 -050087 ]
Mohammed Naser8a4bffa2024-01-05 14:52:59 -050088 },
89 {
90 "groupName": "images",
91 "matchFileNames": [
92 "roles/defaults/vars/main.yml"
93 ]
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050094 }
95 ],
96 "regex": {
97 "pinDigests": true
98 },
99 "ignorePaths": [
100 "charts/**",
101 "molecule/**",
Mohammed Naser10a8bfa2023-12-29 18:54:16 -0500102 "roles/kube_prometheus_stack/files/jsonnet/**",
Mohammed Naser6f0c9a52024-01-02 10:06:19 -0500103 "roles/tempest/tasks/main.yml",
104 ".python-version",
Mohammed Naser10a8bfa2023-12-29 18:54:16 -0500105 "Dockerfile",
Mohammed Naser6f0c9a52024-01-02 10:06:19 -0500106 "galaxy.yml",
107 "pyproject.toml",
108 "requirements.txt"
Mohammed Naser10a8bfa2023-12-29 18:54:16 -0500109 ]
110}