infrastructure/.woodpecker.yml

24 lines
851 B
YAML
Raw Normal View History

2023-01-24 16:16:35 +01:00
pipeline:
check:
image: nixos/nix:2.15.1
2023-01-24 16:16:35 +01:00
commands:
2023-05-12 15:16:39 +02:00
- 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
2023-05-26 12:15:37 +02:00
- nix run 'nixpkgs#statix' check .
2023-05-04 15:14:36 +02:00
- nix run 'nixpkgs#deadnix' -- -f
2023-01-24 16:16:35 +01:00
- nix run 'nixpkgs#yamllint' .
<<<<<<< HEAD
=======
2023-05-25 23:17:07 +02:00
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
2023-05-25 23:26:57 +02:00
- nix profile install 'nixpkgs#jq' 'nixpkgs#curl' 'nixpkgs#vault'
2023-05-25 23:17:07 +02:00
- ./nixos/pkgs/plex-pass/update.sh
>>>>>>> 9714ee2bd90ec358d58d02f7b492677b1b6a1c6a
2023-05-12 15:00:03 +02:00
volumes:
- /nix:/mnt/nix:ro