try to force TMPDIR to be the ram disk

CircleCI is providing a ramdisk as /mnt/ramdisk. Using the ramdisk
instead of local storage makes fsync operations essentially free,
which removes (some of) the frequent multi-second delays we see during
runs otherwise.
This commit is contained in:
Seebs 2021-06-21 11:15:27 -05:00
parent 01103b26f0
commit 5898c58a80

View file

@ -126,6 +126,8 @@ jobs:
name: golang
version: << parameters.golang_version >>
resource_class: << parameters.resource_class >>
environment:
TMPDIR: /mnt/ramdisk
steps:
- checkout-plus
- skip-if-root-unchanged