mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-04-19 23:36:04 -04:00
Use template config to allow privileged containers
This commit is contained in:
parent
bb5314ff5e
commit
1636e15b56
@ -21,6 +21,10 @@
|
||||
- docker-compose-plugin
|
||||
- name: install-earthly
|
||||
ansible.builtin.script: ./earthly-setup.sh
|
||||
- name: install-gitlab-runner-config
|
||||
ansible.builtin.copy:
|
||||
src: template.config.toml
|
||||
dest: /srv/gitlab-runner/config/
|
||||
- name: install-gitlab-runner
|
||||
ansible.builtin.script: ./gitlab-runner.sh install
|
||||
- name: register-gitlab-runner
|
||||
|
@ -17,6 +17,7 @@ register () {
|
||||
--url "${CI_SERVER_URL}" \
|
||||
--registration-token "${REGISTRATION_TOKEN}" \
|
||||
--description "${RUNNER_NAME}" \
|
||||
--template-config /srv/gitlab-runner/config/template.config.toml \
|
||||
--tag-list "amd64,linux"
|
||||
}
|
||||
|
||||
|
6
cicd/template.config.toml
Normal file
6
cicd/template.config.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[[runners]]
|
||||
executor = "docker"
|
||||
[runners.docker]
|
||||
tls_verify = false
|
||||
image = "alpine:latest"
|
||||
privileged = true
|
Loading…
x
Reference in New Issue
Block a user