Skip to content

Commit

Permalink
Update test container with Renovate (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Nov 4, 2024
1 parent 4d0d359 commit c1c9d52
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommitsDisabled",
"schedule:daily"
],
"labels": [
"dependencies"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"src/test/java/hudson/security/docker/PlanetExpressTest.java"
],
"matchStrings": [
".* TEST_IMAGE =\n\\s*\"(?<repo>.*?):(?<currentValue>.*?)@(?<currentDigest>sha256:.*?)\";\n"
],
"depNameTemplate": "{{{repo}}}",
"datasourceTemplate": "docker"
}
],
"rebaseWhen": "conflicted"
}
3 changes: 2 additions & 1 deletion src/test/java/hudson/security/docker/PlanetExpressTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
*/
public class PlanetExpressTest {

static final String TEST_IMAGE = "rroemhild/test-openldap@sha256:b4e433bbcba1f17899d6bcb0a8e854bbe52c754faa4e785d0c27a2b55eb12cd8";
static final String TEST_IMAGE =
"rroemhild/test-openldap@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";
Expand Down

0 comments on commit c1c9d52

Please sign in to comment.