1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-04-08 09:54:35 +00:00

drone: fix nixos build

This commit is contained in:
Jörg Thalheim 2020-11-08 14:27:11 +01:00
parent 24b4b6bbf9
commit 5371d7b418
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -8,17 +8,15 @@ steps:
environment:
NIX_REMOTE: daemon
PATH: /nix/var/nix/profiles/system/sw/bin/
SSL_CERT_FILE: /nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt
GIT_SSL_CAINFO: /nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt
CURL_CA_BUNDLE: /nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt
PAGER: cat
USER: root
volumes:
- name: socket
path: /nix/var/nix/daemon-socket/socket
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
@ -26,8 +24,14 @@ 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: d9b3b156902d9351d56c103b9c9f91588c9b3ed17a821dd14877bf8e567d939d
hmac: 71062808e9e5bf8ab2fc064e586a37abff019cd4576025e3e4118b3f29d9f4c4
...