update runners' doc

This commit is contained in:
Quentin 2022-07-25 15:20:21 +02:00
parent ceae80d87c
commit 64172fc999
Signed by: quentin
GPG Key ID: E9602264D639FF68
3 changed files with 2 additions and 13 deletions

View File

@ -69,7 +69,7 @@ job "directory" {
task "guichet" {
driver = "docker"
config {
image = "superboum/guichet_amd64:15"
image = "dxflrs/guichet:6y7pv4kgfsn02iijj55kf5af0rbksgrn"
readonly_rootfs = true
ports = [ "web_port" ]
volumes = [

View File

@ -28,15 +28,7 @@ chmod +x /usr/local/bin/docker-compose
## Prepare the runner
Nix folder must be populated before launching any build.
```bash
docker run --rm -it -v /var/lib/drone/nix:/mnt nixpkgs/nix:nixos-21.05 cp -r /nix/{store,var} /mnt/
```
This folder will grow over time and might need to be garbage collected.
As a rule of thumb, after running a full release of Garage, this folder will require 10GB.
Consider provisioning it with at least 20GB.
*The folder does not need to be prepared anymore*
## Launch the runner

View File

@ -13,13 +13,10 @@ services:
- DRONE_RPC_DUMP_HTTP=true
- DRONE_RPC_DUMP_HTTP_BODY=true
- DRONE_RUNNER_NAME=${DRONE_NAME}
- DRONE_RUNNER_LABELS=nix:1
#- DRONE_RUNNER_VOLUMES=/var/lib/drone/nix:/nix
ports:
- "3000:3000/tcp"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/var/lib/drone/nix:/var/lib/drone/nix"
drone-gc:
image: drone/gc:latest