infrastructure/.woodpecker.yml
Vivian 9714ee2bd9
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
aaa
2023-05-25 23:26:57 +02:00

21 lines
781 B
YAML

pipeline:
check:
image: nixos/nix:2.15.1
commands:
- echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
- echo "store = unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt" >> /etc/nix/nix.conf
- nix run 'nixpkgs#statix' check .
- nix run 'nixpkgs#deadnix' -- -f
- nix run 'nixpkgs#yamllint' .
volumes:
- /nix:/mnt/nix:ro
update_plex:
image: nixos/nix:2.15.1
commands:
- echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
- echo "store = unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt" >> /etc/nix/nix.conf
- nix profile install 'nixpkgs#jq' 'nixpkgs#curl' 'nixpkgs#vault'
- ./nixos/pkgs/plex-pass/update.sh
volumes:
- /nix:/mnt/nix:ro