From 73ca793539ae73f2c58921bc859879557996e57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 7 Nov 2021 09:27:15 +0100 Subject: [PATCH 1/3] Revert "remove drone (replaced by github ci)" This reverts commit d717ee155eeed779c3ffd6a10277d3dd796ec7ec. --- .drone.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..39f06a2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ +--- +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/archive/nixpkgs-unstable.tar.gz -A sops-install-secrets.tests + - nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-20.09.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: 5bb657faca0ecd18576534f7e486511d6f698595cc244d9617e660ef2ddb678d + +... From 17c4771b216e670fa57d02c5654af8c3c51497c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 7 Nov 2021 09:28:52 +0100 Subject: [PATCH 2/3] remove nixos tests from test set --- default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/default.nix b/default.nix index ff423a4..9c4ce11 100644 --- a/default.nix +++ b/default.nix @@ -54,6 +54,4 @@ in rec { ''; fixupPhase = ":"; }); - -# integration tests -} // pkgs.lib.optionalAttrs (pkgs.stdenv.isLinux) sops-install-secrets.tests +} From bd818c21e4b383a945ecd52c64080e28ba249cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 7 Nov 2021 09:52:10 +0100 Subject: [PATCH 3/3] change drone pipeline type --- .drone.yml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/.drone.yml b/.drone.yml index 39f06a2..855536b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,37 +1,15 @@ --- kind: pipeline name: nixos-tests +type: exec 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/archive/nixpkgs-unstable.tar.gz -A sops-install-secrets.tests - nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-20.09.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: 5bb657faca0ecd18576534f7e486511d6f698595cc244d9617e660ef2ddb678d +hmac: 6cd4aeea3ec1f0b37d44edb6db25764fcae5aa68215ffa0a542cb6e47a54cfa5 ...