dotfiles/.woodpecker.yml

28 lines
592 B
YAML
Raw Normal View History

2022-11-08 13:48:19 +00:00
pipeline:
2022-11-08 21:03:42 +00:00
restore-cache:
2022-11-08 19:41:48 +00:00
image: drillster/drone-volume-cache
2022-11-08 21:03:42 +00:00
pull: true
settings:
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
2022-11-08 21:03:42 +00:00
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
2022-11-08 17:49:50 +00:00
2022-11-08 21:03:42 +00:00
save-cache:
2022-11-08 19:45:57 +00:00
image: drillster/drone-volume-cache
2022-11-08 21:03:42 +00:00
pull: true
settings:
rebuild: true
mount:
- ./nix-store
2022-11-08 19:45:57 +00:00
volumes:
- /var/lib/woodpecker/cache:/cache