mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-10-23 11:38:09 +09:00
Follow-up to 025fa0be: keep serverkit.ai as the stable icon host rather
than jsDelivr. The registry repo remains the canonical home of the logo
files; serverkit.ai proxies /imgs/template-icons/ from its raw tree, so
these URLs now resolve for all 210 logos instead of only the legacy
subset the website bundles.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
id: gitlab-runner
|
|
name: GitLab Runner
|
|
version: "16.6"
|
|
description: Application that works with GitLab CI/CD to run jobs in a pipeline
|
|
icon: https://serverkit.ai/imgs/template-icons/gitlab-runner.png
|
|
website: https://docs.gitlab.com/runner/
|
|
documentation: https://docs.gitlab.com/runner/
|
|
categories:
|
|
- devops
|
|
- ci-cd
|
|
- gitlab
|
|
|
|
variables:
|
|
- name: GITLAB_URL
|
|
description: GitLab instance URL
|
|
default: https://gitlab.com
|
|
required: true
|
|
- name: REGISTRATION_TOKEN
|
|
description: Runner registration token
|
|
type: password
|
|
required: true
|
|
- name: RUNNER_NAME
|
|
description: Runner name/description
|
|
default: docker-runner
|
|
|
|
volumes:
|
|
- name: config
|
|
path: /etc/gitlab-runner
|
|
description: Runner configuration
|
|
- name: docker
|
|
path: /var/run/docker.sock
|
|
description: Docker socket
|
|
|
|
requirements:
|
|
memory: 1GB
|
|
storage: 10GB
|
|
|
|
compose:
|
|
services:
|
|
gitlab-runner:
|
|
image: gitlab/gitlab-runner:v${VERSION:-16.6.0}
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
volumes:
|
|
- runner_config:/etc/gitlab-runner
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
volumes:
|
|
runner_config:
|
|
|
|
post_install: |
|
|
docker exec ${APP_NAME} gitlab-runner register \
|
|
--non-interactive \
|
|
--url "${GITLAB_URL}" \
|
|
--registration-token "${REGISTRATION_TOKEN}" \
|
|
--executor "docker" \
|
|
--docker-image alpine:latest \
|
|
--description "${RUNNER_NAME}"
|