blob: e2663b1f34d27b361a3f69bcfb46f91af9db555d [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": [
24 "ARG PROJECT=(?<depName>.*)",
25 "ARG RELEASE=(?<version>.*)",
26 "ARG REF=(?<currentDigest>.*)"
27 ]
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",
58 "docker.io/rabbitmqoperator",
59 "docker.io/rancher",
60 "docker.io/rook",
61 "docker.io/timberio",
62 "quay.io/ceph",
63 "quay.io/cilium",
64 "quay.io/jetstack",
65 "quay.io/keycloak",
66 "quay.io/kiwigrid",
67 "quay.io/prometheus",
68 "quay.io/skopeo",
69 "registry.k8s.io/"
70 ]
Mohammed Naseraa48ddb2023-12-30 00:11:22 -050071 },
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050072 {
Mohammed Naseraa48ddb2023-12-30 00:11:22 -050073 "enabled": false,
Mohammed Nasereb8cc652024-01-02 09:03:04 -050074 "matchUpdateTypes": [
75 "major"
76 ],
77 "excludePackageNames": [
78 "cryptography",
79 "pyOpenSSL"
80 ],
81 "matchFileNames": [
82 "images/cloud-archive-builder/**/upper-constraints.txt"
83 ]
Mohammed Naser59702dd2024-01-01 21:14:55 -050084 },
85 {
86 "groupName": "upper-constraints",
Mohammed Nasereb8cc652024-01-02 09:03:04 -050087 "matchFileNames": [
88 "images/cloud-archive-builder/**/upper-constraints.txt"
89 ]
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050090 }
91 ],
92 "regex": {
93 "pinDigests": true
94 },
95 "ignorePaths": [
96 "charts/**",
97 "molecule/**",
Mohammed Naser10a8bfa2023-12-29 18:54:16 -050098 "roles/kube_prometheus_stack/files/jsonnet/**",
Mohammed Naser6f0c9a52024-01-02 10:06:19 -050099 "roles/tempest/tasks/main.yml",
100 ".python-version",
Mohammed Naser10a8bfa2023-12-29 18:54:16 -0500101 "Dockerfile",
Mohammed Naser6f0c9a52024-01-02 10:06:19 -0500102 "galaxy.yml",
103 "pyproject.toml",
104 "requirements.txt"
Mohammed Naser10a8bfa2023-12-29 18:54:16 -0500105 ]
106}