Remove cleanup script to not check for nonexistent forgejo docker container
This commit is contained in:
parent
063a6016ae
commit
5a42d81b38
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue