1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-05 08:07:16 +00:00
sops-nix/.drone.yml
2020-11-08 14:44:21 +01:00

37 lines
875 B
YAML

---
kind: pipeline
name: nixos-tests
steps:
- name: test
image: busybox
environment:
NIX_REMOTE: daemon
PATH: /nix/var/nix/profiles/system/sw/bin/
PAGER: cat
USER: root
volumes:
- name: nixstore
path: /nix
- name: nixconf
path: /etc/nix
- name: sslcerts
path: /etc/ssl
commands:
- nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz -A sops-install-secrets.tests
- nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-20.03.tar.gz -A sops-install-secrets.tests
volumes:
- name: nixstore
host:
path: /nix
- name: nixconf
host:
path: /nix/var/nix/profiles/system/etc/nix
- name: sslcerts
host:
path: /nix/var/nix/profiles/system/etc/ssl
---
kind: signature
hmac: 71062808e9e5bf8ab2fc064e586a37abff019cd4576025e3e4118b3f29d9f4c4
...