Skip to content
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1157163
Synching develop branch with master. (#161)
rcbjBlueMars Jul 14, 2026
824f9bf
feature/152 (#163)
rcbjBlueMars Jul 14, 2026
c0126be
Initial page + test creation. (#164)
rcbjBlueMars Jul 14, 2026
414a59e
Merge branch 'master' into develop
rcbjBlueMars Jul 14, 2026
aa9865b
Fixing test #13.
rcbjBlueMars Jul 14, 2026
cd0a6c7
Fix coverage report.
rcbjBlueMars Jul 14, 2026
b97bd69
Another change attempting to fix the code coverage bug.
rcbjBlueMars Jul 14, 2026
0a4b033
Successful deployment to test.idptools.com and selenium test run.
rcbjBlueMars Jul 15, 2026
e8b5d40
Merge branch 'master' into develop
rcbjBlueMars Jul 15, 2026
5098222
Terraform creates IAM role with minimmum permissions.
rcbjBlueMars Jul 15, 2026
fd97531
Terraform creates IAM role with minimmum permissions.
rcbjBlueMars Jul 15, 2026
e20378c
Merge branch 'develop' of github.com:rcbj/oauth2-oidc-debugger into d…
rcbjBlueMars Jul 15, 2026
886a480
Automatically run terraform against test when commmits / merge made t…
rcbjBlueMars Jul 15, 2026
6c2e8e0
Updating develop / test 'test suite run' + terraform + static-content…
rcbjBlueMars Jul 15, 2026
20a468e
Test change to kick off pipelines.
rcbjBlueMars Jul 15, 2026
1bc7283
Kick-off another workflow run.
rcbjBlueMars Jul 15, 2026
adf3f54
Terraform deploy job didn't run as expected on push.
rcbjBlueMars Jul 15, 2026
904672b
Merge branch 'master' into develop
rcbjBlueMars Jul 15, 2026
e893d08
Initiate workflows by push. Test.
rcbjBlueMars Jul 15, 2026
b2dfa88
Merge branch 'develop' of github.com:rcbj/oauth2-oidc-debugger into d…
rcbjBlueMars Jul 15, 2026
7e910e3
Run hosted site test suite after deployment.
rcbjBlueMars Jul 15, 2026
4ba1295
Live website test should run better now.
rcbjBlueMars Jul 15, 2026
c1d68a8
Merge branch 'master' into develop
rcbjBlueMars Jul 15, 2026
763d4b5
Triggering another workflow.
rcbjBlueMars Jul 15, 2026
219ebc3
Another fix to live-test workflow.
rcbjBlueMars Jul 15, 2026
fdf7589
Merge branch 'master' into develop
rcbjBlueMars Jul 15, 2026
bb1141c
Force a workflow to start on push.
rcbjBlueMars Jul 15, 2026
76f16d8
Merge branch 'develop' of github.com:rcbj/oauth2-oidc-debugger into d…
rcbjBlueMars Jul 15, 2026
9910099
Fixing yet another live-test bug.
rcbjBlueMars Jul 15, 2026
53b3417
Merge branch 'master' into develop
rcbjBlueMars Jul 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 14 additions & 32 deletions docker-compose-live-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
# uses): the browser drives the public HTTPS site and must call the local
# Keycloak from that HTTPS page. Chrome treats http://localhost (loopback) as
# potentially-trustworthy and exempt from mixed-content / private-network
# blocking, but a private-IP host (e.g. a bridge service name) is blocked. So
# both containers share the host network and Keycloak is reached at
# http://localhost:8080 — exactly the scenario remote-run-tests.sh proves.
# blocking, but a private-IP host (e.g. a bridge service name like
# "keycloak:8080") is blocked. So both containers share the host network and
# Keycloak is reached at http://localhost:8080 — the scenario remote-run-tests.sh
# proves. (No user-defined networks or volumes: host net needs neither, and
# Keycloak uses in-memory H2 for throwaway test data.)
#
# Readiness: instead of a Docker healthcheck (flaky under host networking), the
# tests container waits for Keycloak itself (docker-run-tests.sh waitForKeycloak).
Expand All @@ -19,36 +21,15 @@
# LIVE_DEBUGGER_BASE_URL (default https://test.idptools.com)
# LIVE_CONFIG_FILE (default ./env/test-idptools-com.js)
services:
postgres:
image: postgres:18
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: keycloak
POSTGRES_DB: keycloak
# postgres:18 refuses to start on a data dir initialized by an older
# major version. Initialize into a fresh subdirectory of the volume so
# the upgrade starts cleanly (test data is disposable and recreated each
# run); any legacy PG17 files at the volume root are ignored.
PGDATA: /var/lib/postgresql/data/pgdata
healthcheck:
test: pg_isready
interval: 10s
timeout: 60s
retries: 5
start_period: 45s
networks:
- keycloak

keycloak:
image: quay.io/keycloak/keycloak:26.6.4
command: ["start-dev"]
hostname: keycloak
network_mode: "host"
environment:
KC_DB: postgres
KC_DB_URL: jdbc:postgresql://postgres:5432/keycloak
KC_DB_USERNAME: keycloak
KC_DB_PASSWORD: keycloak
KC_HTTP_PORT: "8080"
KC_BOOTSTRAP_ADMIN_USERNAME: keycloak
KC_BOOTSTRAP_ADMIN_PASSWORD: keycloak
KEYCLOAK_ADMIN: keycloak
KEYCLOAK_ADMIN_PASSWORD: keycloak
KC_HEALTH_ENABLED: "true"
Expand All @@ -58,16 +39,17 @@ services:
build:
context: .
dockerfile: tests/Dockerfile
network_mode: "host"
environment:
# Target the deployed site; talk to the local Keycloak over loopback.
- DEBUGGER_BASE_URL=${LIVE_DEBUGGER_BASE_URL:-https://test.idptools.com}
- KEYCLOAK_BASE_URL=http://keycloak:8080
- KEYCLOAK_LOCALHOST_BASE_URL=http://keycloak:8080
- KEYCLOAK_BASE_URL=http://localhost:8080
- KEYCLOAK_LOCALHOST_BASE_URL=http://localhost:8080
- CONFIG_FILE=${LIVE_CONFIG_FILE:-./env/test-idptools-com.js}
# Persist the generated report/logs to the host (gitignored).
volumes:
- ./tests/report:/usr/src/app/report
# Start-order only (host networking healthchecks are unreliable); the test
# Start-order only (host-networking healthchecks are unreliable); the test
# runner waits for Keycloak to answer before configuring it.
depends_on:
- keycloak