From 64172fc999d56f288a28b9ae106424e8e7247935 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 25 Jul 2022 15:20:21 +0200 Subject: [PATCH] update runners' doc --- app/directory/deploy/directory.hcl | 2 +- app/drone-ci/integration/README.md | 10 +--------- app/drone-ci/integration/docker-compose.yml | 3 --- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/app/directory/deploy/directory.hcl b/app/directory/deploy/directory.hcl index a40eb5f..5f32193 100644 --- a/app/directory/deploy/directory.hcl +++ b/app/directory/deploy/directory.hcl @@ -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 = [ 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