dotfiles/.woodpecker.yml

24 lines
491 B
YAML
Raw Normal View History

2022-11-08 13:48:19 +00:00
pipeline:
2022-11-08 19:56:34 +00:00
restore-cache:
2022-11-08 19:41:48 +00:00
image: drillster/drone-volume-cache
2022-11-08 19:56:34 +00:00
restore: true
mount:
- /nix/store
2022-11-08 19:41:48 +00:00
volumes:
2022-11-08 19:45:57 +00:00
- /var/lib/woodpecker/cache:/cache
2022-11-08 19:41:48 +00:00
2022-11-08 16:24:13 +00:00
check:
2022-11-08 16:36:28 +00:00
image: nixpkgs/nix-flakes:latest
pull: true
2022-11-08 13:48:19 +00:00
commands:
2022-11-08 16:36:28 +00:00
- nix --no-sandbox flake info
- nix --no-sandbox develop -c statix check
2022-11-08 17:49:50 +00:00
2022-11-08 19:56:34 +00:00
rebuild-cache:
2022-11-08 19:45:57 +00:00
image: drillster/drone-volume-cache
2022-11-08 19:56:34 +00:00
rebuild: true
mount:
- /nix/store
2022-11-08 19:45:57 +00:00
volumes:
- /var/lib/woodpecker/cache:/cache