Fix a few errors in the config

This commit is contained in:
Ana Gelez 2020-06-26 13:53:11 +02:00
parent 60bb5b72f6
commit b2829908f1

View File

@ -36,7 +36,7 @@ local restoreCache = {
archive_format: "gzip", archive_format: "gzip",
mount: [ "~/.cargo/", "./target" ] mount: [ "~/.cargo/", "./target" ]
}, },
volumes: { name: "cache", path: "/tmp/cache" } volumes: [ { name: "cache", path: "/tmp/cache" } ]
}; };
// And a step that saves the cache. // And a step that saves the cache.
@ -51,7 +51,7 @@ local saveCache = {
archive_format: "gzip", archive_format: "gzip",
mount: [ "~/.cargo/", "./target" ] mount: [ "~/.cargo/", "./target" ]
}, },
volumes: { name: "cache", path: "/tmp/cache" } volumes: [ { name: "cache", path: "/tmp/cache" } ]
}; };
// Finally, the Docker volume to store the cache // Finally, the Docker volume to store the cache
@ -114,10 +114,10 @@ local Clippy(db) = basePipeline(
// TODO // TODO
local Unit(db) = {}; local Unit(db) = basePipeline("unit-" + db, []);
local Integration(db) = {}; local Integration(db) = basePipeline("integration-" + db, []);
local Release(db) = {}; local Release(db) = basePipeline("release-" + db, []);
local PushTranslations() = {}; local PushTranslations() = basePipeline("push-translations", []);
// And finally, the list of all our pipelines: // And finally, the list of all our pipelines:
[ [