mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
feat!: add daemon to build & especially cache
This commit is contained in:
parent
bd1cfe94a4
commit
92f3560899
12 changed files with 93 additions and 17 deletions
21
gitlab-runner-example.toml
Normal file
21
gitlab-runner-example.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[[runners]]
|
||||
name = "Nix CI Runner"
|
||||
url = "https://gitlab.com"
|
||||
token = ""
|
||||
executor = "docker"
|
||||
[runners.custom_build_dir]
|
||||
[runners.docker]
|
||||
tls_verify = false
|
||||
image = "technofab/nix-gitlab-ci"
|
||||
privileged = true
|
||||
# we cant specify a json file here, so we need privileged for now
|
||||
#security_opt = [ "seccomp=/usr/share/containers/seccomp.json" ]
|
||||
disable_entrypoint_overwrite = false
|
||||
oom_kill_disable = false
|
||||
disable_cache = false
|
||||
volumes = [
|
||||
# prefixed with the docker-compose name
|
||||
"nix-gitlab-ci_nix-shared-store:/mnt/nix/store:ro",
|
||||
"nix-gitlab-ci_nix-daemon-socket:/mnt/nix/daemon-socket:ro"
|
||||
]
|
||||
shm_size = 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue