Skip to content
Snippets Groups Projects
Commit 183f9844 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Allow secrets to be missing

parent 3077012c
No related branches found
No related tags found
3 merge requests!85Update production to staging,!71Bring Staging up to current Develop version,!64Run vulnerability scan on CI
Pipeline #302 failed
......@@ -6,7 +6,12 @@ import ../../lib/make-grid.nix {
config = ./config.json;
nodes = cfg:
let
sshUsers = import ../../../../PrivateStorageSecrets/staging-users.nix;
importDef = default: path: (
if builtins.pathExists path
then import path
else default
);
sshUsers = importDef {} ../../../../PrivateStorageSecrets/staging-users.nix;
in {
"payments.privatestorage-staging.com" = import ../../lib/issuer.nix ({
inherit sshUsers;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment