From 1e3f4616e0446667b4a057fba70bcc5d99681d64 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 22 May 2025 10:36:06 +0000 Subject: [PATCH 1/7] chore(deps): update postgres docker tag to v17.5 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0ac02ca..fd13264 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.5" services: db: - image: postgres:17.2-alpine + image: postgres:17.5-alpine environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres From a334ab6bc479e3579519d9d99382cdc79e78cd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Eppl=C3=A9e?= Date: Thu, 22 May 2025 12:42:57 +0200 Subject: [PATCH 2/7] chore(renovate): Use glob patterns to match postgres packages --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 3b89620..fadc4d2 100644 --- a/renovate.json +++ b/renovate.json @@ -13,7 +13,7 @@ { "groupName": "postgres", "description": "Group updates to postgres across drone ci, docker-compose.yml and other files", - "matchDepNames": ["postgres"] + "matchDepNames": ["**postgres**"] }, { "matchFileNames": [".tool-versions"], From 9e7d8b227755302e68471ee20ab9170580970865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Eppl=C3=A9e?= Date: Thu, 22 May 2025 12:46:23 +0200 Subject: [PATCH 3/7] chore: Remove variables from dockerfile base images to enable renovate updates --- Dockerfile | 8 ++------ renovate.json | 6 +++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 60e0c6b..5503e2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,12 +11,8 @@ # - https://pkgs.org/ - resource for finding needed packages # - Ex: hexpm/elixir:1.18.3-erlang-27.3-debian-bullseye-20250317-slim # -ARG ELIXIR_VERSION=1.18.3 -ARG OTP_VERSION=27.3 -ARG DEBIAN_VERSION=bullseye-20250317-slim - -ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}" -ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}" +ARG BUILDER_IMAGE="hexpm/elixir:1.18.3-erlang-27.3-debian-bullseye-20250317-slim" +ARG RUNNER_IMAGE="debian:bullseye-20250317-slim" FROM ${BUILDER_IMAGE} as builder diff --git a/renovate.json b/renovate.json index fadc4d2..6f76f2a 100644 --- a/renovate.json +++ b/renovate.json @@ -13,11 +13,11 @@ { "groupName": "postgres", "description": "Group updates to postgres across drone ci, docker-compose.yml and other files", - "matchDepNames": ["**postgres**"] + "matchPackageNames": ["**postgres**"] }, { - "matchFileNames": [".tool-versions"], - "matchPackageNames": ["elixir"], + "matchFileNames": [".tool-versions", "Dockerfile"], + "matchCurrentValue": "**elixir-otp-**", "enabled": false } ] From 60f20ceacff5969433daab5ddf575e35fa0842b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Eppl=C3=A9e?= Date: Thu, 22 May 2025 12:58:34 +0200 Subject: [PATCH 4/7] fix: Elixir version matching in renovate config --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 6f76f2a..111dc1b 100644 --- a/renovate.json +++ b/renovate.json @@ -17,7 +17,7 @@ }, { "matchFileNames": [".tool-versions", "Dockerfile"], - "matchCurrentValue": "**elixir-otp-**", + "matchCurrentValue": "**-otp-**", "enabled": false } ] From aeb9cb8e2989fd675739d2149931e9b5c71746ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Eppl=C3=A9e?= Date: Thu, 22 May 2025 13:06:08 +0200 Subject: [PATCH 5/7] fix(renovate): Exclude elixir dependencies from postgres update --- renovate.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 111dc1b..7e12828 100644 --- a/renovate.json +++ b/renovate.json @@ -13,7 +13,8 @@ { "groupName": "postgres", "description": "Group updates to postgres across drone ci, docker-compose.yml and other files", - "matchPackageNames": ["**postgres**"] + "matchPackageNames": ["postgres", "docker.io/library/postgres"], + "matchDatasources": ["docker"] }, { "matchFileNames": [".tool-versions", "Dockerfile"], From 0d33f1baf72621456a38608456e49c5726fa9d9a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 22 May 2025 10:24:42 +0000 Subject: [PATCH 6/7] chore(deps): update renovate/renovate docker tag to v40 --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index bb82576..7012ac5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -81,7 +81,7 @@ environment: steps: - name: renovate - image: renovate/renovate:39.264 + image: renovate/renovate:40.22 environment: RENOVATE_CONFIG_FILE: "renovate_backend_config.js" RENOVATE_TOKEN: From 69081b1a8a62462f2ec17a1f420d756f78ca5b8a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 22 May 2025 11:12:15 +0000 Subject: [PATCH 7/7] chore(deps): update postgres to v17.5 --- .drone.yml | 4 ++-- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7012ac5..025f7ce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ name: check services: - name: postgres - image: docker.io/library/postgres:17.2 + image: docker.io/library/postgres:17.5 environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres @@ -35,7 +35,7 @@ steps: - mix credo - name: wait_for_postgres - image: docker.io/library/postgres:17.2 + image: docker.io/library/postgres:17.5 commands: # Wait for postgres to become available - | diff --git a/docker-compose.yml b/docker-compose.yml index 0ac02ca..fd13264 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.5" services: db: - image: postgres:17.2-alpine + image: postgres:17.5-alpine environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres