try caching localdirectory
This commit is contained in:
parent
9e34135dc1
commit
f9cb7b9e50
1 changed files with 13 additions and 9 deletions
|
@ -1,9 +1,11 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
restore-cache:
|
restore-cache:
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
restore: true
|
pull: true
|
||||||
mount:
|
settings:
|
||||||
- /nix/store
|
restore: true
|
||||||
|
mount:
|
||||||
|
- ./nix-store
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/woodpecker/cache:/cache
|
- /var/lib/woodpecker/cache:/cache
|
||||||
|
|
||||||
|
@ -12,12 +14,14 @@ pipeline:
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- nix --no-sandbox flake info
|
- nix --no-sandbox flake info
|
||||||
- nix --no-sandbox develop -c statix check
|
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
|
||||||
|
|
||||||
rebuild-cache:
|
save-cache:
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
rebuild: true
|
pull: true
|
||||||
mount:
|
settings:
|
||||||
- /nix/store
|
rebuild: true
|
||||||
|
mount:
|
||||||
|
- ./nix-store
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/woodpecker/cache:/cache
|
- /var/lib/woodpecker/cache:/cache
|
||||||
|
|
Loading…
Reference in a new issue