diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-07-25 15:20:21 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-07-25 15:20:21 +0200 |
commit | 64172fc999d56f288a28b9ae106424e8e7247935 (patch) | |
tree | 8ee1e002ee3189e634e0bd75c65859c6c1994643 /app/drone-ci/integration | |
parent | ceae80d87cf9974bf0a69bd247fd35f416b9f8a9 (diff) | |
download | infrastructure-64172fc999d56f288a28b9ae106424e8e7247935.tar.gz infrastructure-64172fc999d56f288a28b9ae106424e8e7247935.zip |
update runners' doc
Diffstat (limited to 'app/drone-ci/integration')
-rw-r--r-- | app/drone-ci/integration/README.md | 10 | ||||
-rw-r--r-- | app/drone-ci/integration/docker-compose.yml | 3 |
2 files changed, 1 insertions, 12 deletions
diff --git a/app/drone-ci/integration/README.md b/app/drone-ci/integration/README.md index b3c1cc6..6c7f756 100644 --- a/app/drone-ci/integration/README.md +++ b/app/drone-ci/integration/README.md @@ -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 diff --git a/app/drone-ci/integration/docker-compose.yml b/app/drone-ci/integration/docker-compose.yml index 1e37255..2644918 100644 --- a/app/drone-ci/integration/docker-compose.yml +++ b/app/drone-ci/integration/docker-compose.yml @@ -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 |