From 8cd804a8c06dc97bca3101917aba1bfc90f3f0d2 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 23 Aug 2022 12:10:25 +0200 Subject: Add Drone CI server with sqlite-on-s3 thing --- app/drone-ci/config/litestream.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/drone-ci/config/litestream.yml (limited to 'app/drone-ci/config') diff --git a/app/drone-ci/config/litestream.yml b/app/drone-ci/config/litestream.yml new file mode 100644 index 0000000..813c824 --- /dev/null +++ b/app/drone-ci/config/litestream.yml @@ -0,0 +1,10 @@ +dbs: + - path: /ephemeral/drone.db + replicas: + - url: s3://{{ key "secrets/drone-ci/s3_db_bucket" | trimSpace }}/drone.db + region: garage + endpoint: https://garage.deuxfleurs.fr + access-key-id: {{ key "secrets/drone-ci/s3_ak" | trimSpace }} + secret-access-key: {{ key "secrets/drone-ci/s3_sk" | trimSpace }} + force-path-style: true + sync-interval: 60s -- cgit v1.2.3