Murat ÖZDEMİR 5fe57ee108 Implement: Declarative act_runner configuration and Docker integration
Migrates `act_runner` configuration from shell-generated to an Ansible-templated `config.yaml`. This enables:
- Dynamic label provisioning, including `test-runner:docker://ubuntu:22.04`.
- Explicit configuration for joining the `iklimco-net` overlay network.
- Docker socket mounting for CI/CD jobs to interact with the Docker daemon.

Updates `setup/05-test-runner-ve-deploy-onkosullari.md` and other related documentation to reflect the new automated and integrated runner setup.
2026-05-12 19:49:24 +03:00

40 lines
838 B
Django/Jinja
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

log:
level: info
runner:
file: .runner
capacity: 1
timeout: 3h
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
labels:
{% for label in act_runner_labels.split(',') %}
- "{{ label }}"
{% endfor %}
cache:
enabled: true
dir: ""
host: ""
port: 0
external_server: ""
container:
# Job container'ları iklimco-net overlay network'üne katılır;
# böylece iklim-db_postgresql ve iklim-db_mongodb servislerine direkt erişebilir.
network: "iklimco-net"
enable_ipv6: false
privileged: false
# Docker socket mount: docker build/push/stack komutlarının çalışması için gerekli.
options: "-v /var/run/docker.sock:/var/run/docker.sock"
workdir_parent: ""
valid_volumes:
- "/var/run/docker.sock"
docker_host: ""
force_pull: false
force_rebuild: false
host:
workdir_parent: ""