mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-25 10:23:52 +00:00
molecule: make scenarios work on containerized CI runners
Since the molecule jobs moved to self-hosted container runners, molecule talks to a Docker daemon that does not share the runner's filesystem or network namespace: - quarkus_ha*: drop the postgresql.conf bind mount (the workspace path does not exist on the daemon side) and pass listen_addresses via -c - quarkus, quarkus_devmode: fetch the openid configuration from the instance with ansible.builtin.uri instead of curl | jq on the runner, and drop the fixed host published_ports that are no longer needed - quarkus_nohost: add the missing roles symlink Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9c5f03b8be
commit
68a1f3d28b
@@ -30,17 +30,13 @@ platforms:
|
||||
image: ubuntu/postgres:14-22.04_beta
|
||||
pre_build_image: true
|
||||
privileged: true
|
||||
command: postgres
|
||||
command: "postgres -c listen_addresses=*"
|
||||
groups:
|
||||
- database
|
||||
networks:
|
||||
- name: rhbk
|
||||
exposed_ports:
|
||||
- "5432/tcp"
|
||||
mounts:
|
||||
- type: bind
|
||||
target: /etc/postgresql/postgresql.conf
|
||||
source: ${MOLECULE_PROJECT_DIRECTORY}/molecule/quarkus_ha_remote/postgresql/postgresql.conf
|
||||
env:
|
||||
POSTGRES_USER: keycloak
|
||||
POSTGRES_PASSWORD: mysecretpass
|
||||
|
||||
Reference in New Issue
Block a user