From 656ec5fa231670fd6355cceaad765b24ff7ec986 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Mon, 18 Nov 2019 09:00:44 +1100 Subject: [PATCH] Specify keycloak version in tests --- build-parent/pom.xml | 4 ++++ ci-templates/native-build-steps.yaml | 2 +- integration-tests/keycloak-authorization/pom.xml | 2 +- integration-tests/oidc-code-flow/pom.xml | 2 +- integration-tests/oidc/pom.xml | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build-parent/pom.xml b/build-parent/pom.xml index 34419692c..6744e08a8 100644 --- a/build-parent/pom.xml +++ b/build-parent/pom.xml @@ -76,6 +76,10 @@ 3.0.2 1.11.3 3.3.3 + + + + quay.io/keycloak/keycloak:7.0.1 diff --git a/ci-templates/native-build-steps.yaml b/ci-templates/native-build-steps.yaml index 0c52c60ca..f0c6445d8 100644 --- a/ci-templates/native-build-steps.yaml +++ b/ci-templates/native-build-steps.yaml @@ -36,7 +36,7 @@ jobs: - script: docker run --rm --publish 8000:8000 --name build-dynamodb -d amazon/dynamodb-local:1.11.477 displayName: 'start dynamodb' - ${{ if eq(parameters.keycloak, 'true') }}: - - script: docker run --rm --publish 8180:8080 --name build-keycloak -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e JAVA_OPTS="-server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dkeycloak.profile.feature.upload_scripts=enabled" -d quay.io/keycloak/keycloak + - script: docker run --rm --publish 8180:8080 --name build-keycloak -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e JAVA_OPTS="-server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dkeycloak.profile.feature.upload_scripts=enabled" -d quay.io/keycloak/keycloak:7.0.1 displayName: 'start keycloak' - ${{ if eq(parameters.mysql, 'true') }}: - bash: | diff --git a/integration-tests/keycloak-authorization/pom.xml b/integration-tests/keycloak-authorization/pom.xml index 3719a82bc..76014dfcc 100644 --- a/integration-tests/keycloak-authorization/pom.xml +++ b/integration-tests/keycloak-authorization/pom.xml @@ -193,7 +193,7 @@ - quay.io/keycloak/keycloak + ${keycloak.docker.image} quarkus-test-keycloak diff --git a/integration-tests/oidc-code-flow/pom.xml b/integration-tests/oidc-code-flow/pom.xml index 855892514..06bf52a0d 100644 --- a/integration-tests/oidc-code-flow/pom.xml +++ b/integration-tests/oidc-code-flow/pom.xml @@ -218,7 +218,7 @@ - quay.io/keycloak/keycloak + ${keycloak.docker.image} quarkus-test-keycloak diff --git a/integration-tests/oidc/pom.xml b/integration-tests/oidc/pom.xml index 15595eddf..b27ce1870 100644 --- a/integration-tests/oidc/pom.xml +++ b/integration-tests/oidc/pom.xml @@ -199,7 +199,7 @@ - quay.io/keycloak/keycloak + ${keycloak.docker.image} quarkus-test-keycloak