envoy, pomerium: add Pomerium NixOS test to passthru.tests

This commit is contained in:
Luke Granger-Brown 2021-01-08 03:04:24 +00:00
parent 309e836c33
commit f081b0c9bb
2 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,7 @@
, go
, ninja
, python3
, nixosTests
}:
let
@ -110,6 +111,11 @@ buildBazelPackage rec {
"--cxxopt=-Wno-uninitialized"
];
passthru.tests = {
# No tests for Envoy itself (yet), but it's tested as a core component of Pomerium.
inherit (nixosTests) pomerium;
};
meta = with lib; {
homepage = "https://envoyproxy.io";
description = "Cloud-native edge and service proxy";

View File

@ -3,6 +3,7 @@
, lib
, envoy
, zip
, nixosTests
}:
let
@ -65,6 +66,10 @@ buildGoModule rec {
install -Dm0755 $GOPATH/bin/pomerium-cli $out/bin/pomerium-cli
'';
passthru.tests = {
inherit (nixosTests) pomerium;
};
meta = with lib; {
homepage = "https://pomerium.io";
description = "Authenticating reverse proxy";