From 0b633d01e50e4d1d022cce56ad771153f6888534 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 23 Jun 2016 17:50:48 +0200 Subject: add dummy secrets --- makefu/6tests/data/secrets/bepasty-secret.nix | 1 + makefu/6tests/data/secrets/hashedPasswords.nix | 1 + makefu/6tests/data/secrets/iodinepw.nix | 1 + makefu/6tests/data/secrets/retiolum-ci.rsa_key.priv | 0 makefu/6tests/data/secrets/retiolum.rsa_key.priv | 0 makefu/6tests/data/secrets/retiolum.rsa_key.pub | 0 makefu/6tests/data/secrets/sambacred | 0 makefu/6tests/data/secrets/ssh.makefu.id_rsa | 0 makefu/6tests/data/secrets/ssh.makefu.id_rsa.pub | 0 makefu/6tests/data/secrets/ssh_host_ed25519_key | 0 makefu/6tests/data/secrets/tinc.krebsco.de.crt | 0 makefu/6tests/data/secrets/tinc.krebsco.de.key | 0 makefu/6tests/data/secrets/tw-pass.ini | 0 makefu/6tests/data/secrets/wildcard.krebsco.de.crt | 0 makefu/6tests/data/secrets/wildcard.krebsco.de.key | 0 15 files changed, 3 insertions(+) create mode 100644 makefu/6tests/data/secrets/bepasty-secret.nix create mode 100644 makefu/6tests/data/secrets/hashedPasswords.nix create mode 100644 makefu/6tests/data/secrets/iodinepw.nix create mode 100644 makefu/6tests/data/secrets/retiolum-ci.rsa_key.priv create mode 100644 makefu/6tests/data/secrets/retiolum.rsa_key.priv create mode 100644 makefu/6tests/data/secrets/retiolum.rsa_key.pub create mode 100644 makefu/6tests/data/secrets/sambacred create mode 100644 makefu/6tests/data/secrets/ssh.makefu.id_rsa create mode 100644 makefu/6tests/data/secrets/ssh.makefu.id_rsa.pub create mode 100644 makefu/6tests/data/secrets/ssh_host_ed25519_key create mode 100644 makefu/6tests/data/secrets/tinc.krebsco.de.crt create mode 100644 makefu/6tests/data/secrets/tinc.krebsco.de.key create mode 100644 makefu/6tests/data/secrets/tw-pass.ini create mode 100644 makefu/6tests/data/secrets/wildcard.krebsco.de.crt create mode 100644 makefu/6tests/data/secrets/wildcard.krebsco.de.key (limited to 'makefu') diff --git a/makefu/6tests/data/secrets/bepasty-secret.nix b/makefu/6tests/data/secrets/bepasty-secret.nix new file mode 100644 index 000000000..f5e704702 --- /dev/null +++ b/makefu/6tests/data/secrets/bepasty-secret.nix @@ -0,0 +1 @@ +"derp" diff --git a/makefu/6tests/data/secrets/hashedPasswords.nix b/makefu/6tests/data/secrets/hashedPasswords.nix new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/makefu/6tests/data/secrets/hashedPasswords.nix @@ -0,0 +1 @@ +{} diff --git a/makefu/6tests/data/secrets/iodinepw.nix b/makefu/6tests/data/secrets/iodinepw.nix new file mode 100644 index 000000000..f5e704702 --- /dev/null +++ b/makefu/6tests/data/secrets/iodinepw.nix @@ -0,0 +1 @@ +"derp" diff --git a/makefu/6tests/data/secrets/retiolum-ci.rsa_key.priv b/makefu/6tests/data/secrets/retiolum-ci.rsa_key.priv new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/retiolum.rsa_key.priv b/makefu/6tests/data/secrets/retiolum.rsa_key.priv new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/retiolum.rsa_key.pub b/makefu/6tests/data/secrets/retiolum.rsa_key.pub new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/sambacred b/makefu/6tests/data/secrets/sambacred new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/ssh.makefu.id_rsa b/makefu/6tests/data/secrets/ssh.makefu.id_rsa new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/ssh.makefu.id_rsa.pub b/makefu/6tests/data/secrets/ssh.makefu.id_rsa.pub new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/ssh_host_ed25519_key b/makefu/6tests/data/secrets/ssh_host_ed25519_key new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/tinc.krebsco.de.crt b/makefu/6tests/data/secrets/tinc.krebsco.de.crt new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/tinc.krebsco.de.key b/makefu/6tests/data/secrets/tinc.krebsco.de.key new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/tw-pass.ini b/makefu/6tests/data/secrets/tw-pass.ini new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/wildcard.krebsco.de.crt b/makefu/6tests/data/secrets/wildcard.krebsco.de.crt new file mode 100644 index 000000000..e69de29bb diff --git a/makefu/6tests/data/secrets/wildcard.krebsco.de.key b/makefu/6tests/data/secrets/wildcard.krebsco.de.key new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3 From b709634ce9e61323b19aaf1b31c433f79f556fad Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 23 Jun 2016 17:54:12 +0200 Subject: ma 2 add support for dummy secrets --- makefu/2configs/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefu') diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix index a753e6777..422927b28 100644 --- a/makefu/2configs/default.nix +++ b/makefu/2configs/default.nix @@ -26,7 +26,9 @@ with config.krebs.lib; url = https://github.com/nixos/nixpkgs; rev = "63b9785"; # stable @ 2016-06-01 }; - secrets = "/home/makefu/secrets/${config.krebs.build.host.name}/"; + secrets = if getEnv "dummy_secrets" == "true" + then toString + else "/home/makefu/secrets/${config.krebs.build.host.name}"; stockholm = "/home/makefu/stockholm"; # Defaults for all stockholm users? -- cgit v1.2.3