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

Use the "stable" CLI (which also agrees with the .nix I actually checked in)

parent 40369f5d
No related branches found
No related tags found
4 merge requests!108Merge staging into production,!107Merge develop into staging,!105use nix to extra values from our nix config,!91Integrate monitoring into production
...@@ -21,7 +21,7 @@ fi ...@@ -21,7 +21,7 @@ fi
SRC=$(dirname $0) SRC=$(dirname $0)
VPN_SECRETS=$(dirname $1)/secrets/monitoringvpn VPN_SECRETS=$(dirname $1)/secrets/monitoringvpn
CONFIG=$(nix eval --json -f "${SRC}"/get-vpn-config.nix --arg pathToGrid "${1}" vpn) CONFIG=$(nix-instantiate --strict --json --eval "${SRC}"/get-vpn-config.nix --arg pathToGrid "${1}")
MONITORING_IPS=$(echo $CONFIG | jp --unquoted "join(' ', clientIPs)") MONITORING_IPS=$(echo $CONFIG | jp --unquoted "join(' ', clientIPs)")
VPNSERVER_IP=$(echo $CONFIG | jp --unquoted "serverIP") VPNSERVER_IP=$(echo $CONFIG | jp --unquoted "serverIP")
......
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