playwright (#6025)

This commit is contained in:
Anthony Stirling
2026-04-27 11:35:50 +01:00
committed by GitHub
parent 688c3e1e58
commit 8daee7303d
63 changed files with 5032 additions and 668 deletions
@@ -55,8 +55,8 @@ services:
context: ../..
dockerfile: docker/embedded/Dockerfile
extra_hosts:
- "localhost:host-gateway"
- "${KEYCLOAK_HOST:-kubernetes.docker.internal}:host-gateway"
localhost: host-gateway
kubernetes.docker.internal: host-gateway
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080$${SYSTEM_ROOTURIPATH:-''}/api/v1/info/status | grep -q 'UP'"]
interval: 5s
+3 -2
View File
@@ -9,9 +9,10 @@ NC='\033[0m'
echo -e "${YELLOW}Validating OAuth test environment...${NC}"
echo ""
# Check Keycloak health
# Check Keycloak health — Keycloak 24+ moved /health off the main listener,
# so probe the realm directly which is the meaningful liveness check anyway.
echo -n "Checking Keycloak health... "
if curl -sf http://localhost:9080/health/ready > /dev/null 2>&1; then
if curl -sf http://localhost:9080/realms/stirling-oauth > /dev/null 2>&1; then
echo -e "${GREEN}${NC}"
else
echo -e "${RED}✗ Keycloak is not ready${NC}"
+3 -2
View File
@@ -9,9 +9,10 @@ NC='\033[0m'
echo -e "${YELLOW}Validating SAML test environment...${NC}"
echo ""
# Check Keycloak health
# Check Keycloak health — Keycloak 24+ moved /health off the main listener,
# so probe the realm directly which is the meaningful liveness check anyway.
echo -n "Checking Keycloak health... "
if curl -sf http://localhost:9080/health/ready > /dev/null 2>&1; then
if curl -sf http://localhost:9080/realms/stirling-saml > /dev/null 2>&1; then
echo -e "${GREEN}${NC}"
else
echo -e "${RED}✗ Keycloak is not ready${NC}"