aboutsummaryrefslogtreecommitdiff
path: root/app/drone-ci/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-23 12:10:25 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-23 12:10:25 +0200
commit8cd804a8c06dc97bca3101917aba1bfc90f3f0d2 (patch)
treef6e59f65a65c0d8b5ba10735326a6a973d871737 /app/drone-ci/config
parent7d7efab9ee6b45b62e8966bbb56a5cf90397b179 (diff)
downloadnixcfg-8cd804a8c06dc97bca3101917aba1bfc90f3f0d2.tar.gz
nixcfg-8cd804a8c06dc97bca3101917aba1bfc90f3f0d2.zip
Add Drone CI server with sqlite-on-s3 thing
Diffstat (limited to 'app/drone-ci/config')
-rw-r--r--app/drone-ci/config/litestream.yml10
1 files changed, 10 insertions, 0 deletions
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