Skip to content

Commit

Permalink
update keycloak container vie renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
jtnord committed Sep 11, 2024
1 parent da7973e commit d9fa1de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,14 @@
"matchStrings": ["ARG DOCKER_VERSION=(?<currentValue>.*?)\n"],
"depNameTemplate": "docker",
"datasourceTemplate": "docker"
},
{
"fileMatch": ["src/test/java/plugins/OicAuthPluginTest.java"],
"matchStrings": [".* KEYCLOAK_IMAGE=\"(?<repo>.*?):(?<currentValue>.*?)@(?<currentDigest>sha256:.*?)\";\n"],
"depNameTemplate": "{{{repo}}}",
"datasourceTemplate": "docker"
}

],
"customDatasources": {
"firefox": {
Expand Down
4 changes: 3 additions & 1 deletion src/test/java/plugins/OicAuthPluginTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ public class OicAuthPluginTest extends AbstractJUnitTest {
private static final String REALM = "test-realm";
private static final String CLIENT = "jenkins";

private static final String KEYCLOAK_IMAGE="keycloak/keycloak:25.0.4@sha256:bf788a3b7fd737143f98d4cb514cb9599c896acee01a26b2117a10bd99e23e11";

@Rule
public KeycloakContainer keycloak = new KeycloakContainer();
public KeycloakContainer keycloak = new KeycloakContainer(KEYCLOAK_IMAGE);

@Inject
public KeycloakUtils keycloakUtils;
Expand Down

0 comments on commit d9fa1de

Please sign in to comment.