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
revert-4266-ci-faster-sql-fmt
Nutomic 5 months ago committed by GitHub
parent ac209d58b4
commit af4d008ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

Loading…
Cancel
Save