paretosecurity: 0.2.31 -> 0.2.34
This commit is contained in:
parent
190febec5b
commit
81a45ed1f7
@ -19,20 +19,20 @@
|
||||
oldAttrs.postPatch or ""
|
||||
+ ''
|
||||
substituteInPlace team/report.go \
|
||||
--replace-warn 'const reportURL = "https://dash.paretosecurity.com"' \
|
||||
'const reportURL = "http://dashboard"'
|
||||
--replace-warn 'const reportURL = "https://cloud.paretosecurity.com"' \
|
||||
'const reportURL = "http://cloud"'
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
nodes.dashboard = {
|
||||
nodes.cloud = {
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."dashboard" = {
|
||||
virtualHosts."cloud" = {
|
||||
locations."/api/v1/team/".extraConfig = ''
|
||||
add_header Content-Type application/json;
|
||||
return 200 '{"message": "Linked device."}';
|
||||
@ -72,7 +72,7 @@
|
||||
testScript = ''
|
||||
# Test setup
|
||||
terminal.succeed("su - alice -c 'mkdir -p /home/alice/.config'")
|
||||
for m in [terminal, dashboard]:
|
||||
for m in [terminal, cloud]:
|
||||
m.systemctl("start network-online.target")
|
||||
m.wait_for_unit("network-online.target")
|
||||
|
||||
|
@ -17,16 +17,16 @@ buildGoModule (finalAttrs: {
|
||||
webkitgtk_4_1
|
||||
];
|
||||
pname = "paretosecurity";
|
||||
version = "0.2.31";
|
||||
version = "0.2.34";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ParetoSecurity";
|
||||
repo = "agent";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-dYQNSzovWCX7sj7VjgBc5GHz+5dKLTiB5pvbVSLMyqY=";
|
||||
hash = "sha256-tTFdgLpu7RRWx2B2VMROqs1HgG0qMbfUOS5KNLQFHQw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-PhuHRs0PjIJqY3ZBC4ga7zFxgf57xfPjJ3VIDaA61F0=";
|
||||
vendorHash = "sha256-RAKYaNi+MXUfNnEJmZF5g9jFBDOPIVBOZWtqZp2FwWY=";
|
||||
proxyVendor = true;
|
||||
|
||||
# Skip building the Windows installer
|
||||
|
Loading…
x
Reference in New Issue
Block a user