From af4d008ce4e2ed17eea487352a920047f5b09103 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Thu, 14 Dec 2023 17:18:15 +0100 Subject: [PATCH] Minor CI improvements (#4266) * Speed up SQL formatting in CI with parallel processing * mess up formatting * check permissions * make repo world writable * need git * use debian image * apt update * perl image for faster install * fix format * run restore cache in parallel to format * add drone-cache exit code * revert sql format changes --- .woodpecker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6e30293de..6b9126bff 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -85,6 +85,7 @@ steps: - if [[ "$IGNORED" ]]; then echo "Ignored files present:\n$IGNORED\n"; exit 1; fi restore-cache: + group: format image: meltwater/drone-cache:v1 pull: true settings: @@ -104,6 +105,7 @@ steps: - ".cargo_home" - "target" - "api_tests/node_modules" + exit_code: true secrets: [MINIO_ENDPOINT, MINIO_WRITE_USER, MINIO_WRITE_PASSWORD, MINIO_BUCKET] when: *slow_check_paths @@ -230,6 +232,7 @@ steps: - ".cargo_home" - "target" - "api_tests/node_modules" + exit_code: true secrets: [MINIO_ENDPOINT, MINIO_WRITE_USER, MINIO_WRITE_PASSWORD, MINIO_BUCKET] when: