Update development Keycloak server to version 14 (#856)

This commit is contained in:
Jon Koops 2021-07-16 10:51:09 +02:00 committed by GitHub
parent df8118c707
commit 9faa0d4016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ import decompress from "decompress";
import decompressTargz from "decompress-targz"; import decompressTargz from "decompress-targz";
const args = process.argv.slice(2); const args = process.argv.slice(2);
const version = args[0] || "12.0.1"; const version = args[0] || "14.0.0";
const folder = "server"; const folder = "server";
const fileName = path.join(folder, `keycloak-${version}.tar.gz`); const fileName = path.join(folder, `keycloak-${version}.tar.gz`);
@ -40,6 +40,7 @@ const run = () => {
addProc.on("exit", () => { addProc.on("exit", () => {
const proc = spawn(path.join(serverPath, "bin", `standalone${extension}`), [ const proc = spawn(path.join(serverPath, "bin", `standalone${extension}`), [
"-Djboss.socket.binding.port-offset=100", "-Djboss.socket.binding.port-offset=100",
"-Dprofile.feature.newadmin=enabled",
]); ]);
proc.stdout.on("data", (data) => { proc.stdout.on("data", (data) => {
console.log(data.toString()); console.log(data.toString());