aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-07-25 15:20:21 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-07-25 15:20:21 +0200
commit64172fc999d56f288a28b9ae106424e8e7247935 (patch)
tree8ee1e002ee3189e634e0bd75c65859c6c1994643
parentceae80d87cf9974bf0a69bd247fd35f416b9f8a9 (diff)
downloadinfrastructure-64172fc999d56f288a28b9ae106424e8e7247935.tar.gz
infrastructure-64172fc999d56f288a28b9ae106424e8e7247935.zip
update runners' doc
-rw-r--r--app/directory/deploy/directory.hcl2
-rw-r--r--app/drone-ci/integration/README.md10
-rw-r--r--app/drone-ci/integration/docker-compose.yml3
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