feat: add Gitea act runner configuration and update docker-compose integration
Some checks failed
Nix Format Check / check-format (push) Has been cancelled

This commit is contained in:
2025-03-12 13:40:03 +01:00
parent 37d1a1d1a6
commit c83d94f702
3 changed files with 108 additions and 3 deletions

View File

@@ -21,10 +21,17 @@
mode: "0644"
register: gitea_compose
- name: Deploy Gitea act-runner-config.yaml
ansible.builtin.template:
src: act-runner-config.yaml.j2
dest: "{{ gitea_service_dir }}/act-runner-config.yaml"
mode: "0644"
register: gitea_act_runner_config
- name: Stop Gitea service
ansible.builtin.command: docker compose -f "{{ gitea_service_dir }}/docker-compose.yml" down --remove-orphans
when: gitea_compose.changed
when: gitea_compose.changed or gitea_act_runner_config.changed
- name: Start Gitea service
ansible.builtin.command: docker compose -f "{{ gitea_service_dir }}/docker-compose.yml" up -d
when: gitea_compose.changed
when: gitea_compose.changed or gitea_act_runner_config.changed