mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 22:27:08 +00:00
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
This commit is contained in:
parent
ac209d58b4
commit
af4d008ce4
|
@ -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…
Reference in a new issue