Remove cleanup script to not check for nonexistent forgejo docker container
Some checks failed
CI/CD Pipeline / Test Backend (push) Failing after 3s
CI/CD Pipeline / Test Frontend (push) Failing after 22s
CI/CD Pipeline / Build and Push Docker Images (push) Has been skipped
CI/CD Pipeline / Deploy to Production (push) Has been skipped

This commit is contained in:
continuist 2025-06-29 17:58:12 -04:00
parent 063a6016ae
commit 5a42d81b38

View file

@ -18,7 +18,7 @@ REGISTRY_DIR="${REGISTRY_DIR:-/opt/registry}"
DRY_RUN="${DRY_RUN:-false}" DRY_RUN="${DRY_RUN:-false}"
# Critical infrastructure protection # Critical infrastructure protection
CRITICAL_CONTAINERS="harbor-core,harbor-db,harbor-jobservice,harbor-log,harbor-portal,nginx,redis,registry,registryctl,trivy-adapter,forgejo-runner" CRITICAL_CONTAINERS="harbor-core,harbor-db,harbor-jobservice,harbor-log,harbor-portal,nginx,redis,registry,registryctl,trivy-adapter"
CRITICAL_IMAGES="goharbor,forgejo-runner" CRITICAL_IMAGES="goharbor,forgejo-runner"
CRITICAL_VOLUMES="harbor" CRITICAL_VOLUMES="harbor"
CRITICAL_NETWORKS="harbor" CRITICAL_NETWORKS="harbor"
@ -63,6 +63,13 @@ check_critical_infrastructure() {
log_success "All critical infrastructure containers are running" log_success "All critical infrastructure containers are running"
fi fi
# Check Forgejo runner service
if systemctl is-active --quiet forgejo-runner.service; then
log_success "Forgejo runner service is running"
else
log_warning "Forgejo runner service is not running"
fi
echo echo
} }