GitLab runners should remain Active so jobs are not silently skipped. An inactive runner stays registered but does not pick up new jobs, which often masks an unintended outage and lets pipelines stall without operator awareness. Audit the Active flag periodically so a deactivated runner is either re-activated or unregistered. Reference: https://docs.gitlab.com/ee/api/runners.html
1. In GitLab, navigate to the runner scope (Admin > CI/CD > Runners for instance, Group > CI/CD > Runners for group, Project > Settings > CI/CD > Runners for project). 2. Locate the runner whose Active flag is false. 3. Toggle it to Active (or pause it explicitly when intentional). 4. Re-run any stalled jobs that were waiting for the runner.
{
"target": "GLRunner",
"if": {
"allOf": [
{
"resource": "GLRunner",
"property": "Active",
"operator": "equals",
"value": true
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. All Rights Reserved. Privacy Policy | Cookie Policy | Terms and Conditions | v1.0.2