From b2829908f1d8a73f3e0356ce6b39e9c295084589 Mon Sep 17 00:00:00 2001 From: Ana Gelez Date: Fri, 26 Jun 2020 13:53:11 +0200 Subject: [PATCH] Fix a few errors in the config --- .drone.jsonnet | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 65ab43be..4ea2b96f 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -36,7 +36,7 @@ local restoreCache = { archive_format: "gzip", mount: [ "~/.cargo/", "./target" ] }, - volumes: { name: "cache", path: "/tmp/cache" } + volumes: [ { name: "cache", path: "/tmp/cache" } ] }; // And a step that saves the cache. @@ -51,7 +51,7 @@ local saveCache = { archive_format: "gzip", mount: [ "~/.cargo/", "./target" ] }, - volumes: { name: "cache", path: "/tmp/cache" } + volumes: [ { name: "cache", path: "/tmp/cache" } ] }; // Finally, the Docker volume to store the cache @@ -114,10 +114,10 @@ local Clippy(db) = basePipeline( // TODO -local Unit(db) = {}; -local Integration(db) = {}; -local Release(db) = {}; -local PushTranslations() = {}; +local Unit(db) = basePipeline("unit-" + db, []); +local Integration(db) = basePipeline("integration-" + db, []); +local Release(db) = basePipeline("release-" + db, []); +local PushTranslations() = basePipeline("push-translations", []); // And finally, the list of all our pipelines: [