From f2d6cade13877c580cf7da7a1139245e853d59a4 Mon Sep 17 00:00:00 2001 From: Matthew McKinnon Date: Tue, 7 Oct 2025 20:29:48 +1000 Subject: [PATCH] chore: update renovate regrex --- ansible/group_vars/all.yml | 4 +++- ansible/tasks/gitea-runner.yml | 4 ---- renovate.json | 24 +++++++++--------------- 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index ca61b13..8527dc0 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -14,4 +14,6 @@ install_packages: - unattended-upgrades data_folder: /data - +alpine_latest_image: "alpine:latest" +ubuntu_latest_image: "node:22-trixie" +debian_latest_image: "git.comprofix.com/mmckinnon/debian-latest:2025.08.31-093853" diff --git a/ansible/tasks/gitea-runner.yml b/ansible/tasks/gitea-runner.yml index 211ca34..be429e4 100644 --- a/ansible/tasks/gitea-runner.yml +++ b/ansible/tasks/gitea-runner.yml @@ -19,10 +19,6 @@ when: configyaml.stat.exists == False - name: Create the gitea-runner container - vars: - alpine_latest_image: "alpine:latest" - ubuntu_latest_image: "node:22-trixie" - debian_latest_image: "git.comprofix.com/mmckinnon/debian-latest:2025.08.31-093853" docker_container: name: gitea-runner image: gitea/act_runner:0.2.13 diff --git a/renovate.json b/renovate.json index df7963c..03d7428 100644 --- a/renovate.json +++ b/renovate.json @@ -4,25 +4,19 @@ "local>RenovateBot/renovate-config", ":semanticCommitTypeAll(chore)" ], + "ignoreDeps": ["postgres"], "automerge": false, - "commitBodyTable": true, - "ignoreTests": true, - "major": { - "automerge": false, - "commitMessagePrefix": "chore(deps-major): ", - "labels": ["dependencies", "breaking"] - }, - "customManagers": [ + "automergeType": "branch", + "packageRules": [ { - "customType": "regex", - "managerFilePatterns": [ - "(^|/)tasks/.*\\.ya?ml$" - ], + "description": "Scan group_vars/all.yml for Docker images", + "matchFiles": ["group_vars/all.yml"], "matchStrings": [ - "(?\\w+_image):\\s+\"?(?[\\w./-]+):(?[\\w.-]+)\"?" + "alpine_latest_image:\\s*\"(?.*?)\"", + "ubuntu_latest_image:\\s*\"(?.*?)\"", + "debian_latest_image:\\s*\"(?.*?)\"" ], - "datasourceTemplate": "docker", - "versioningTemplate": "docker" + "datasourceTemplate": "docker" } ] }