113 lines
3.0 KiB
JSON
113 lines
3.0 KiB
JSON
{
|
|
"slug": "gitlab-runner",
|
|
"kind": "compose",
|
|
"metadata": {
|
|
"name": "Gitlab-Runner",
|
|
"description": "CI/CD build runner for GitLab pipelines. Executes jobs defined in .gitlab-ci.yml using the Docker executor.",
|
|
"tags": [],
|
|
"icon": {
|
|
"provider": "simple-icons",
|
|
"id": "gitlab"
|
|
},
|
|
"draft": false,
|
|
"version": {
|
|
"name": "alpine-v17.9.1",
|
|
"source_dep_name": "docker.io/gitlab/gitlab-runner",
|
|
"source_dep_version": "alpine-v17.9.1"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"title": "General",
|
|
"name": "general",
|
|
"items": [
|
|
{
|
|
"name": "service_name",
|
|
"type": "str",
|
|
"title": "Service Name",
|
|
"required": false,
|
|
"default": "gitlab-runner",
|
|
"config": {
|
|
"placeholder": "gitlab-runner"
|
|
}
|
|
},
|
|
{
|
|
"name": "container_name",
|
|
"type": "str",
|
|
"title": "Container Name",
|
|
"required": false,
|
|
"default": "gitlab-runner",
|
|
"config": {
|
|
"placeholder": "gitlab-runner"
|
|
}
|
|
},
|
|
{
|
|
"name": "restart_policy",
|
|
"type": "enum",
|
|
"title": "Restart Policy",
|
|
"required": true,
|
|
"default": "unless-stopped",
|
|
"config": {
|
|
"options": [
|
|
"unless-stopped",
|
|
"always",
|
|
"on-failure",
|
|
"no"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "gitlab_url",
|
|
"type": "str",
|
|
"title": "GitLab URL",
|
|
"required": true,
|
|
"config": {
|
|
"placeholder": "https://gitlab.example.com/"
|
|
},
|
|
"description": "Base URL of the GitLab instance."
|
|
},
|
|
{
|
|
"name": "gitlab_runner_name",
|
|
"type": "str",
|
|
"title": "Runner Name",
|
|
"required": false,
|
|
"default": "gitlab-runner",
|
|
"config": {
|
|
"placeholder": "gitlab-runner"
|
|
},
|
|
"description": "Runner name shown in GitLab."
|
|
},
|
|
{
|
|
"name": "gitlab_runner_token",
|
|
"type": "secret",
|
|
"title": "Runner Authentication Token",
|
|
"required": true,
|
|
"description": "Runner authentication token created in GitLab."
|
|
},
|
|
{
|
|
"name": "gitlab_runner_concurrent",
|
|
"type": "int",
|
|
"title": "Concurrent Jobs",
|
|
"required": false,
|
|
"default": 4,
|
|
"description": "Maximum number of jobs the runner can process at the same time.",
|
|
"config": {
|
|
"placeholder": "4"
|
|
}
|
|
},
|
|
{
|
|
"name": "gitlab_executor_image",
|
|
"type": "str",
|
|
"title": "Default Executor Image",
|
|
"required": false,
|
|
"default": "alpine:latest",
|
|
"config": {
|
|
"placeholder": "alpine:latest"
|
|
},
|
|
"description": "Default Docker image used for jobs that do not specify one."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|