Use Keycloak 24.0.4 assets (and use kc 24 in testing container)

This commit is contained in:
Joseph Garrone 2024-05-11 23:11:52 +02:00
parent f1177469c2
commit 771322aa97
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ export function readBuildOptions(params: { processArgv: string[] }): BuildOption
})(), })(),
"artifactId": process.env.KEYCLOAKIFY_ARTIFACT_ID ?? userProvidedBuildOptions.artifactId ?? `${themeNames[0]}-keycloak-theme`, "artifactId": process.env.KEYCLOAKIFY_ARTIFACT_ID ?? userProvidedBuildOptions.artifactId ?? `${themeNames[0]}-keycloak-theme`,
"doCreateJar": userProvidedBuildOptions.doCreateJar ?? true, "doCreateJar": userProvidedBuildOptions.doCreateJar ?? true,
"loginThemeResourcesFromKeycloakVersion": userProvidedBuildOptions.loginThemeResourcesFromKeycloakVersion ?? "11.0.3", "loginThemeResourcesFromKeycloakVersion": userProvidedBuildOptions.loginThemeResourcesFromKeycloakVersion ?? "24.0.4",
reactAppRootDirPath, reactAppRootDirPath,
reactAppBuildDirPath, reactAppBuildDirPath,
"keycloakifyBuildDirPath": (() => { "keycloakifyBuildDirPath": (() => {

View File

@ -37,7 +37,7 @@ export async function main() {
fs.writeFileSync(pathJoin(buildOptions.keycloakifyBuildDirPath, "pom.xml"), Buffer.from(pomFileCode, "utf8")); fs.writeFileSync(pathJoin(buildOptions.keycloakifyBuildDirPath, "pom.xml"), Buffer.from(pomFileCode, "utf8"));
} }
const containerKeycloakVersion = "23.0.6"; const containerKeycloakVersion = "24.0.4";
const jarFilePath = pathJoin(buildOptions.keycloakifyBuildDirPath, "target", `${buildOptions.artifactId}-${buildOptions.themeVersion}.jar`); const jarFilePath = pathJoin(buildOptions.keycloakifyBuildDirPath, "target", `${buildOptions.artifactId}-${buildOptions.themeVersion}.jar`);