Skip to content

Commit d04609a

Browse files
authored
Update Renovate configuration (#8381)
1 parent 6997628 commit d04609a

File tree

7 files changed

+25
-62
lines changed

7 files changed

+25
-62
lines changed

.github/scripts/exclude_ci_files.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
.github/workflows/stale.yml
5050
.github/workflows/update-docker-images.yml
5151
.github/workflows/update-docker-sha.yml
52-
.github/workflows/update-kubernetes-version.yml
5352
.github/workflows/update-release-draft.yml
5453
.github/workflows/updates-notification.yml
5554
.github/workflows/version-bump.yml

.github/workflows/cherry-pick.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
pull-requests: write
1616
runs-on: ubuntu-24.04
1717
name: Cherry pick into release branch
18-
if: ${{ (contains(github.event.pull_request.labels.*.name, 'dependencies') || contains(github.event.pull_request.labels.*.name, 'needs cherry pick')) && github.event.pull_request.merged == true }}
18+
if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry pick') && github.event.pull_request.merged == true }}
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

.github/workflows/update-docker-sha.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ on:
1616
dry_run:
1717
type: boolean
1818
default: false
19-
schedule:
20-
- cron: "0 1 * * 1-5" # 01:00 UTC Mon-Fri
2119

2220
defaults:
2321
run:

.github/workflows/update-kubernetes-version.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
VER = $(shell grep IC_VERSION .github/data/version.txt | cut -d '=' -f 2)
33
GIT_TAG = $(shell git describe --exact-match --tags || echo untagged)
44
VERSION = $(VER)-SNAPSHOT
5-
NGINX_OSS_VERSION ?= 1.29
5+
# renovate: datasource=docker depName=nginx/nginx
6+
NGINX_OSS_VERSION ?= 1.29.1
67
NGINX_PLUS_VERSION ?= R35
78
NAP_WAF_VERSION ?= 35+5.527
89
NAP_WAF_COMMON_VERSION ?= 11.559

build/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# syntax=docker/dockerfile:1.19
22
ARG BUILD_OS=debian
3-
ARG NGINX_OSS_VERSION=1.29
3+
# renovate: datasource=docker depName=nginx/nginx
4+
ARG NGINX_OSS_VERSION=1.29.1
45
ARG NGINX_PLUS_VERSION=R35
56
ARG NAP_WAF_VERSION=35+5.527
67
ARG NAP_WAF_COMMON_VERSION=11.559
@@ -106,6 +107,7 @@ RUN --mount=type=bind,from=nginx-files,src=nginx_signing.rsa.pub,target=/etc/apk
106107

107108
############################################# Base image for Debian #############################################
108109
FROM nginx:1.29.1@sha256:8adbdcb969e2676478ee2c7ad333956f0c8e0e4c5a7463f4611d7a2e7a7ff5dc AS debian
110+
ARG NGINX_OSS_VERSION
109111
ARG NGINX_AGENT_VERSION
110112

111113
RUN --mount=type=bind,from=nginx-files,src=nginx_signing.key,target=/tmp/nginx_signing.key \
@@ -121,7 +123,9 @@ RUN --mount=type=bind,from=nginx-files,src=nginx_signing.key,target=/tmp/nginx_s
121123
http://packages.nginx.org/nginx-agent/debian `lsb_release -cs` agent" >> /etc/apt/sources.list.d/nginx.list \
122124
&& printf "%s" "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" > /etc/apt/preferences.d/99nginx \
123125
&& apt-get update \
124-
&& apt-get install --no-install-recommends --no-install-suggests -y nginx-agent=${NGINX_AGENT_VERSION}* nginx-module-otel=${NGINX_OSS_VERSION}* \
126+
&& apt-get install --no-install-recommends --no-install-suggests -y \
127+
nginx-agent=${NGINX_AGENT_VERSION}* \
128+
nginx-module-otel=${NGINX_OSS_VERSION}* \
125129
&& apt-get purge --auto-remove -y gpg \
126130
&& rm -rf /var/lib/apt/lists/* /etc/apt/preferences.d/99nginx /etc/apt/sources.list.d/nginx.list \
127131
&& agent.sh

renovate.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,27 @@
174174
"source[\\s]+=[\\s]+\"github.com/(?<depName>\\S*)\"[\\s]+version[\\s]+=[\\s]+\"(?<currentValue>\\S*)\"",
175175
"version[\\s]+=[\\s]+\"(?<currentValue>\\S*)[\\s]+source[\\s]+=[\\s]+\"github.com/(?<depName>\\S*)\""
176176
]
177+
},
178+
{
179+
"customType": "regex",
180+
"datasourceTemplate": "docker",
181+
"depNameTemplate": "kindest/node",
182+
"description": "Kubernetes version in helm schema file",
183+
"managerFilePatterns": [
184+
"/values\\.schema\\.json$/"
185+
],
186+
"matchStrings": [
187+
"master\\/(?<currentValue>v\\d+\\.\\d+\\.\\d+)\\/_definitions\\.json"
188+
]
177189
}
178190
],
179191
"timezone": "Europe/Dublin",
180192
"automerge": true,
181193
"automergeStrategy": "squash",
194+
"baseBranchPatterns": [
195+
"main",
196+
"release-5.2"
197+
],
182198
"commitBodyTable": true,
183199
"configMigration": true,
184200
"customDatasources": {

0 commit comments

Comments
 (0)