Files
ansible-middleware.keycloak/molecule/quarkus/molecule.yml
T
Aleksandr ManginandClaude Opus 5.5 68a1f3d28b 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>
2026-11-02 09:44:24 +01:00

49 lines
946 B
YAML

---
driver:
name: docker
platforms:
- name: instance
image: registry.access.redhat.com/ubi9/ubi-init:latest
pre_build_image: true
privileged: true
command: "/usr/sbin/init"
exposed_ports:
- "8080/tcp"
- "8443/tcp"
- "8009/tcp"
- "9000/tcp"
provisioner:
name: ansible
config_options:
defaults:
interpreter_python: auto_silent
ssh_connection:
pipelining: false
playbooks:
prepare: prepare.yml
converge: converge.yml
verify: verify.yml
inventory:
host_vars:
localhost:
ansible_python_interpreter: "{{ ansible_playbook_python }}"
env:
ANSIBLE_FORCE_COLOR: "true"
PYTHONHTTPSVERIFY: 0
PROXY: "${PROXY}"
NO_PROXY: "${NO_PROXY}"
verifier:
name: ansible
scenario:
test_sequence:
- cleanup
- destroy
- create
- prepare
- converge
- idempotence
- side_effect
- verify
- cleanup
- destroy