Register GitLab Pipeline
register_gitlab_pipelineRegister a GitLab CI/CD pipeline for health monitoring by specifying project, branch/tag, and token environment variable.
Instructions
Register a GitLab CI/CD project pipeline. GitLab.com is allowed by default; self-hosted HTTPS origins require HEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST. Only the token environment-variable name is stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional branch or tag filter | |
| name | Yes | Unique local name for this GitLab pipeline target | |
| tags | No | Tags for grouping | |
| project | Yes | Numeric project ID or namespace/project path | |
| base_url | No | GitLab HTTPS origin; self-hosted origins require HEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST | https://gitlab.com |
| token_env | No | Environment variable containing a GitLab token; the token value is never persisted | GITLAB_TOKEN |
| check_interval_minutes | No |