Browse Source

test: parametrize keycloak version

319-any-information-on-which-versions-of-keycloak-are-supported
Richard Nemeth 2 years ago
parent
commit
39f4afe9b6
No known key found for this signature in database GPG Key ID: 21C39470DF3DEC39
  1. 2
      test_keycloak_init.sh
  2. 1
      tox.env

2
test_keycloak_init.sh

@ -1,7 +1,7 @@
#!/usr/bin/env bash
CMD_ARGS=$1
KEYCLOAK_DOCKER_IMAGE="quay.io/keycloak/keycloak:latest"
KEYCLOAK_DOCKER_IMAGE="quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}"
function keycloak_stop() {
docker stop unittest_keycloak &> /dev/null

1
tox.env

@ -2,3 +2,4 @@ KEYCLOAK_ADMIN=admin
KEYCLOAK_ADMIN_PASSWORD=admin
KEYCLOAK_HOST={env:KEYCLOAK_HOST:localhost}
KEYCLOAK_PORT=8080
KEYCLOAK_VERSION={env:KEYCLOAK_VERSION:latest}
Loading…
Cancel
Save