fix: Update grafana dashboards
All checks were successful
Deploy to Staging / Build Images (push) Successful in 35s
Deploy to Staging / Deploy to Staging (push) Successful in 51s
Deploy to Staging / Verify Staging (push) Successful in 2m31s
Deploy to Staging / Notify Staging Ready (push) Successful in 7s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
All checks were successful
Deploy to Staging / Build Images (push) Successful in 35s
Deploy to Staging / Deploy to Staging (push) Successful in 51s
Deploy to Staging / Verify Staging (push) Successful in 2m31s
Deploy to Staging / Notify Staging Ready (push) Successful in 7s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
This commit is contained in:
@@ -300,24 +300,17 @@
|
||||
when: gitea_registry_token is defined
|
||||
|
||||
# ============================================
|
||||
# Maintenance Scripts
|
||||
# Remove Legacy Docker Cleanup (was destroying volumes)
|
||||
# ============================================
|
||||
- name: Create Docker cleanup script
|
||||
copy:
|
||||
dest: /usr/local/bin/docker-cleanup.sh
|
||||
content: |
|
||||
#!/bin/bash
|
||||
# Remove unused Docker resources older than 7 days
|
||||
docker system prune -af --filter "until=168h"
|
||||
docker volume prune -f
|
||||
mode: '0755'
|
||||
|
||||
- name: Schedule Docker cleanup cron job
|
||||
- name: Remove legacy Docker cleanup cron job
|
||||
cron:
|
||||
name: "Docker cleanup"
|
||||
minute: "0"
|
||||
hour: "3"
|
||||
job: "/usr/local/bin/docker-cleanup.sh >> /var/log/docker-cleanup.log 2>&1"
|
||||
state: absent
|
||||
|
||||
- name: Remove legacy Docker cleanup script
|
||||
file:
|
||||
path: /usr/local/bin/docker-cleanup.sh
|
||||
state: absent
|
||||
|
||||
handlers:
|
||||
- name: Restart act_runner
|
||||
|
||||
Reference in New Issue
Block a user