From 215a6703c6c55da502adcdc9cef56b04c58a3d06 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Mon, 27 Apr 2020 20:36:06 +0100 Subject: [PATCH] . --- .drone.star | 2 +- drone-starlark/repos/pipeline.star | 26 ++++++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.drone.star b/.drone.star index 2c37deb..425ede5 100644 --- a/.drone.star +++ b/.drone.star @@ -29,7 +29,7 @@ def main(ctx): secretSecrets, ), wait(15, "wait"), - build("guacamole-postgresql"), + # build("guacamole-postgresql"), build("ngrok-gitea"), build("letsencrypt-nginx"), build("drone-starlark"), diff --git a/drone-starlark/repos/pipeline.star b/drone-starlark/repos/pipeline.star index ba0b072..e95aa83 100644 --- a/drone-starlark/repos/pipeline.star +++ b/drone-starlark/repos/pipeline.star @@ -2,6 +2,8 @@ def pipeline( name, steps, dependsOn, + volumes, + dockerVolumes ): return { "kind": "pipeline", @@ -18,11 +20,11 @@ def pipeline( "name": "dockersock", "path": "/var/run", }, - { - "name": "ca", - "path": "/etc/docker/certs.d", - }, - ], + #{ + # "name": "ca", + # "path": "/etc/docker/certs.d", + #}, + ] + dockerVolumes, } ], "volumes": [ @@ -30,11 +32,11 @@ def pipeline( "name": "dockersock", "temp": {}, }, - { - "name": "ca", - "host": { - "path": "/home/giles/gitea-drone-stack/.ca", - }, - }, - ], + #{ + # "name": "ca", + # "host": { + # "path": "/home/giles/gitea-drone-stack/.ca", + # }, + #}, + ] + volumes, }