anubis: 1.19.1 -> 1.20.0 (#420596)
This commit is contained in:
commit
bdfd0f2afc
@ -8,11 +8,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{
|
{ config, pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
services.anubis = {
|
services.anubis = {
|
||||||
defaultOptions.settings = {
|
defaultOptions.settings = {
|
||||||
@ -100,7 +96,6 @@
|
|||||||
machine.succeed('curl -f http://basic.localhost | grep "it works"')
|
machine.succeed('curl -f http://basic.localhost | grep "it works"')
|
||||||
machine.succeed('curl -f http://basic.localhost -H "User-Agent: Mozilla" | grep anubis')
|
machine.succeed('curl -f http://basic.localhost -H "User-Agent: Mozilla" | grep anubis')
|
||||||
machine.succeed('curl -f http://basic.localhost/metrics | grep anubis_challenges_issued')
|
machine.succeed('curl -f http://basic.localhost/metrics | grep anubis_challenges_issued')
|
||||||
machine.succeed('curl -f -X POST http://basic.localhost/.within.website/x/cmd/anubis/api/make-challenge -d "redir=/" | grep challenge')
|
|
||||||
|
|
||||||
# TCP mode
|
# TCP mode
|
||||||
machine.succeed('curl -f http://tcp.localhost -H "User-Agent: Mozilla" | grep anubis')
|
machine.succeed('curl -f http://tcp.localhost -H "User-Agent: Mozilla" | grep anubis')
|
||||||
|
@ -13,16 +13,16 @@
|
|||||||
|
|
||||||
buildGoModule (finalAttrs: {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "anubis";
|
pname = "anubis";
|
||||||
version = "1.19.1";
|
version = "1.20.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TecharoHQ";
|
owner = "TecharoHQ";
|
||||||
repo = "anubis";
|
repo = "anubis";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-aWdkPNwTD+ooaE0PazcOaama7k1a8n5pRxr8X6wm4zs=";
|
hash = "sha256-pdfe2D9KAg/vesTgOi+b5ZVkUkuWhmZC/xYXiiYzlPs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-wJOGYOWFKep2IFzX+Hia9m1jPG+Rskg8Np9WfEc+TUY=";
|
vendorHash = "sha256-cOl+eVnj6aMKIJCjCM0aacp4/Jg5BhZqFwum+u9tOKE=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
esbuild
|
esbuild
|
||||||
@ -34,7 +34,7 @@ buildGoModule (finalAttrs: {
|
|||||||
pname = "anubis-xess";
|
pname = "anubis-xess";
|
||||||
inherit (finalAttrs) version src;
|
inherit (finalAttrs) version src;
|
||||||
|
|
||||||
npmDepsHash = "sha256-wI8XCUGq3aI20B++RAT3lc/nBrDMEmE9+810lewzXa0=";
|
npmDepsHash = "sha256-kBnexaBAMgA7QdKevW3mmlSn+QEbkTW//hYVTRFLQeQ=";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user