aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/drone-ci/deploy
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-30 15:48:10 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-30 15:48:32 +0200
commite81716e41eac813e12824e028ec72c3daeb57588 (patch)
tree5cdc72edc5a318df605183d5d33cfc7b97dc6247 /cluster/prod/app/drone-ci/deploy
parentb5328c33411382799739fa30e30558c5e6b879cf (diff)
downloadnixcfg-e81716e41eac813e12824e028ec72c3daeb57588.tar.gz
nixcfg-e81716e41eac813e12824e028ec72c3daeb57588.zip
Update drone config and add drone monitoring to prometheus
Diffstat (limited to 'cluster/prod/app/drone-ci/deploy')
-rw-r--r--cluster/prod/app/drone-ci/deploy/server.hcl8
1 files changed, 3 insertions, 5 deletions
diff --git a/cluster/prod/app/drone-ci/deploy/server.hcl b/cluster/prod/app/drone-ci/deploy/server.hcl
index 85eb776..e3e9451 100644
--- a/cluster/prod/app/drone-ci/deploy/server.hcl
+++ b/cluster/prod/app/drone-ci/deploy/server.hcl
@@ -43,7 +43,7 @@ job "drone-ci" {
task "drone_server" {
driver = "docker"
config {
- image = "drone/drone:2.12.0"
+ image = "drone/drone:2.12.1"
ports = [ "web_port" ]
volumes = [
@@ -71,11 +71,9 @@ DRONE_S3_PATH_STYLE=true
DRONE_DATABASE_DRIVER=sqlite3
DRONE_DATABASE_DATASOURCE=/ephemeral/drone.db
DRONE_USER_CREATE=username:lx-admin,admin:true
-__DRONE_REGISTRATION_CLOSED=true
-DRONE_LOGS_TEXT=true
-DRONE_LOGS_PRETTY=true
+DRONE_REGISTRATION_CLOSED=true
DRONE_LOGS_DEBUG=true
-DOCKER_API_VERSION=1.39
+DRONE_LOGS_TRACE=true
EOH
destination = "secrets/env"
env = true