From fd49953b41efaafdf8fce40c40986f05ddbc6108 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Mon, 4 Nov 2024 13:01:25 -0800 Subject: [PATCH] Update dependencies with Renovate (#148) --- .github/dependabot.yml | 18 ---------- .github/renovate.json | 34 +++++++++++++++++++ .../docker/PlanetExpressTest.java | 2 +- 3 files changed, 35 insertions(+), 19 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index bd90db4..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,18 +0,0 @@ -# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file ---- -version: 2 -updates: - - package-ecosystem: "maven" - directory: "/" - schedule: - interval: "weekly" - ignore: - - dependency-name: "org.jenkins-ci.main:jenkins-core" - open-pull-requests-limit: 10 - reviewers: - - rda1ton - - sboardwell - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..ff10e64 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":semanticCommitsDisabled", + "schedule:daily" + ], + "labels": [ + "dependencies" + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "src/test/java/org/jenkinsci/plugins/reverse_proxy_auth/docker/PlanetExpressTest.java" + ], + "matchStrings": [ + ".* TEST_IMAGE =\n\\s*\"(?.*?):(?.*?)@(?sha256:.*?)\";\n" + ], + "depNameTemplate": "{{{repo}}}", + "datasourceTemplate": "docker" + } + ], + "rebaseWhen": "conflicted", + "ignorePaths": [ + "**/node_modules/**", + "**/bower_components/**", + "**/vendor/**", + "**/examples/**", + "**/__tests__/**", + "**/tests/**", + "**/__fixtures__/**" + ] +} diff --git a/src/test/java/org/jenkinsci/plugins/reverse_proxy_auth/docker/PlanetExpressTest.java b/src/test/java/org/jenkinsci/plugins/reverse_proxy_auth/docker/PlanetExpressTest.java index a28bcd7..35578d6 100644 --- a/src/test/java/org/jenkinsci/plugins/reverse_proxy_auth/docker/PlanetExpressTest.java +++ b/src/test/java/org/jenkinsci/plugins/reverse_proxy_auth/docker/PlanetExpressTest.java @@ -25,7 +25,7 @@ public class PlanetExpressTest { static final String TEST_IMAGE = - "rroemhild/test-openldap@sha256:b4e433bbcba1f17899d6bcb0a8e854bbe52c754faa4e785d0c27a2b55eb12cd8"; + "rroemhild/test-openldap:1.0@sha256:b4e433bbcba1f17899d6bcb0a8e854bbe52c754faa4e785d0c27a2b55eb12cd8"; static final String DN = "dc=planetexpress,dc=com"; static final String MANAGER_DN = "cn=admin,dc=planetexpress,dc=com"; static final String MANAGER_SECRET = "GoodNewsEveryone";