aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-26 12:11:25 -0300
committerEuAndreh <eu@euandre.org>2019-05-26 12:11:25 -0300
commitfe361690d5a246bae4f3657f3876c1d68a7d580f (patch)
tree63c9a44a8436d6e53260f33a4cce37f7cb5c8b7b /.build.yml
parentAdd gnupg to allow pipeline to import GPG keys (diff)
downloadtoph-fe361690d5a246bae4f3657f3876c1d68a7d580f.tar.gz
toph-fe361690d5a246bae4f3657f3876c1d68a7d580f.tar.xz
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.
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml10
1 files 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