Test with Keycloak 21.1.2 by default, use --features=declarative-user-profile for enabling User Profile features
This commit is contained in:
@ -46,7 +46,6 @@ export function generateStartKeycloakTestingContainer(params: {
|
|||||||
` --name ${containerName} \\`,
|
` --name ${containerName} \\`,
|
||||||
" -e KEYCLOAK_ADMIN=admin \\",
|
" -e KEYCLOAK_ADMIN=admin \\",
|
||||||
" -e KEYCLOAK_ADMIN_PASSWORD=admin \\",
|
" -e KEYCLOAK_ADMIN_PASSWORD=admin \\",
|
||||||
" -e JAVA_OPTS=-Dkeycloak.profile=preview \\",
|
|
||||||
...[themeName, ...extraThemeNames].map(
|
...[themeName, ...extraThemeNames].map(
|
||||||
themeName =>
|
themeName =>
|
||||||
` -v "${pathJoin(keycloakThemeBuildingDirPath, "src", "main", "resources", "theme", themeName).replace(
|
` -v "${pathJoin(keycloakThemeBuildingDirPath, "src", "main", "resources", "theme", themeName).replace(
|
||||||
@ -55,7 +54,7 @@ export function generateStartKeycloakTestingContainer(params: {
|
|||||||
)}":"/opt/keycloak/themes/${themeName}":rw \\`
|
)}":"/opt/keycloak/themes/${themeName}":rw \\`
|
||||||
),
|
),
|
||||||
` -it quay.io/keycloak/keycloak:${keycloakVersion} \\`,
|
` -it quay.io/keycloak/keycloak:${keycloakVersion} \\`,
|
||||||
` start-dev`,
|
` start-dev --features=declarative-user-profile`,
|
||||||
""
|
""
|
||||||
].join("\n"),
|
].join("\n"),
|
||||||
"utf8"
|
"utf8"
|
||||||
|
@ -92,7 +92,7 @@ export async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We want, however, to test in a container running the latest Keycloak version
|
// We want, however, to test in a container running the latest Keycloak version
|
||||||
const containerKeycloakVersion = "20.0.1";
|
const containerKeycloakVersion = "21.1.2";
|
||||||
|
|
||||||
generateStartKeycloakTestingContainer({
|
generateStartKeycloakTestingContainer({
|
||||||
keycloakThemeBuildingDirPath: buildOptions.keycloakifyBuildDirPath,
|
keycloakThemeBuildingDirPath: buildOptions.keycloakifyBuildDirPath,
|
||||||
|
Reference in New Issue
Block a user