wip, reenable docker

This commit is contained in:
Adam Shamblin 2022-11-16 22:31:12 -07:00
parent f9bc78d89c
commit 919d91b930
No known key found for this signature in database
GPG Key ID: 22E0BC8E6B4D8C8E
3 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
variables:
NO_DOCKER: 1
# NO_DOCKER: 1
BUILDKIT_HOST: tcp://veilid-runner-1:8372
EARTHLY_EXEC_CMD: "/bin/sh"

View File

@ -8,4 +8,5 @@ docker run -d --restart always \
-v earthly-tmp:/tmp/earthly:rw \
-v /var/run/docker.sock:/var/run/docker.sock \
--env BUILDKIT_TCP_TRANSPORT_ENABLED=true \
--env CNI_MTU=1500 \
earthly/buildkitd:v0.6.28

View File

@ -5,6 +5,7 @@ install () {
docker run -d --name gitlab-runner --restart always \
-v /srv/gitlab-runner/config:/etc/gitlab-runner \
-v /var/run/docker.sock:/var/run/docker.sock \
--network="host" \
gitlab/gitlab-runner:latest
}
@ -13,6 +14,7 @@ register () {
docker run --rm -it \
-v /srv/gitlab-runner/config:/etc/gitlab-runner \
-v /tmp/gitlab-runner:/tmp/gitlab-runner \
--network="host" \
gitlab/gitlab-runner register \
--config /etc/gitlab-runner/config.toml \
--template-config /tmp/gitlab-runner/template.config.toml \