2022-12-03 16:29:14 +00:00
|
|
|
pipeline:
|
|
|
|
|
|
|
|
check:
|
|
|
|
image: nixpkgs/nix-flakes:latest
|
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- nix --no-sandbox flake metadata
|
|
|
|
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
|
2022-12-04 00:10:43 +00:00
|
|
|
- nix --no-sandbox flake check --eval-store ./nix-store
|
2022-12-03 16:29:14 +00:00
|
|
|
|
2022-12-04 13:04:08 +00:00
|
|
|
volumes:
|
|
|
|
- /var/lib/woodpecker/nix-store/:/nix/store
|
2022-12-04 13:30:24 +00:00
|
|
|
|
|
|
|
notify:
|
|
|
|
image: drillster/drone-email
|
|
|
|
settings:
|
|
|
|
host: smtp.eu.mailgun.org
|
|
|
|
username: postmaster@$peninsula.industries
|
|
|
|
password:
|
|
|
|
from_secret: mailgun_token
|
|
|
|
from: ci@peninsula.industries
|
|
|
|
when:
|
|
|
|
- status: [ failure ]
|