Some checks failed
🚀 Build & Deploy Image / Determine Build Necessity (push) Failing after 10m14s
🚀 Build & Deploy Image / Build Runtime Base Image (push) Has been skipped
🚀 Build & Deploy Image / Build Docker Image (push) Has been skipped
🚀 Build & Deploy Image / Run Tests & Quality Checks (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Staging (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Production (push) Has been skipped
Security Vulnerability Scan / Check for Dependency Changes (push) Failing after 11m25s
Security Vulnerability Scan / Composer Security Audit (push) Has been cancelled
- Remove middleware reference from Gitea Traefik labels (caused routing issues) - Optimize Gitea connection pool settings (MAX_IDLE_CONNS=30, authentication_timeout=180s) - Add explicit service reference in Traefik labels - Fix intermittent 504 timeouts by improving PostgreSQL connection handling Fixes Gitea unreachability via git.michaelschiemer.de
18 lines
469 B
YAML
18 lines
469 B
YAML
---
|
|
# Handlers for Gitea Role
|
|
|
|
- name: wait for gitea
|
|
ansible.builtin.uri:
|
|
url: "{{ gitea_url }}/api/healthz"
|
|
method: GET
|
|
status_code: [200]
|
|
validate_certs: false
|
|
timeout: "{{ gitea_health_check_timeout | default(10) }}"
|
|
register: gitea_health_handler
|
|
until: gitea_health_handler.status == 200
|
|
retries: "{{ gitea_restart_retries | default(30) }}"
|
|
delay: "{{ gitea_restart_delay | default(2) }}"
|
|
changed_when: false
|
|
ignore_errors: yes
|
|
|