From fe361690d5a246bae4f3657f3876c1d68a7d580f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 26 May 2019 12:11:25 -0300 Subject: Test using Debian to correctly import GPG secret Right now the NixOS image tries to import the GPG before installing GPG. Adding it as a package doesn't solve it. --- .build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.build.yml b/.build.yml index 08e35a1..c323a8b 100644 --- a/.build.yml +++ b/.build.yml @@ -1,8 +1,6 @@ -image: nixos/unstable -repositories: - nixpkgs: https://nixos.org/channels/nixpkgs-unstable +image: debian/stretch packages: - - gnupg + - curl triggers: - condition: failure action: email @@ -14,6 +12,10 @@ secrets: - b1f49116-7515-40ef-857c-42e4519b8472 - 7084b7c7-12be-4509-8927-81ba6eeb1fc0 tasks: +tasks: + - setup: | + curl https://nixos.org/nix/install | sh + echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv - tests: | cd vps/ nix-build -A test -- cgit v1.2.3