envoy, pomerium: add Pomerium NixOS test to passthru.tests
This commit is contained in:
parent
309e836c33
commit
f081b0c9bb
@ -6,6 +6,7 @@
|
|||||||
, go
|
, go
|
||||||
, ninja
|
, ninja
|
||||||
, python3
|
, python3
|
||||||
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -110,6 +111,11 @@ buildBazelPackage rec {
|
|||||||
"--cxxopt=-Wno-uninitialized"
|
"--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; {
|
meta = with lib; {
|
||||||
homepage = "https://envoyproxy.io";
|
homepage = "https://envoyproxy.io";
|
||||||
description = "Cloud-native edge and service proxy";
|
description = "Cloud-native edge and service proxy";
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
, lib
|
, lib
|
||||||
, envoy
|
, envoy
|
||||||
, zip
|
, zip
|
||||||
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -65,6 +66,10 @@ buildGoModule rec {
|
|||||||
install -Dm0755 $GOPATH/bin/pomerium-cli $out/bin/pomerium-cli
|
install -Dm0755 $GOPATH/bin/pomerium-cli $out/bin/pomerium-cli
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) pomerium;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://pomerium.io";
|
homepage = "https://pomerium.io";
|
||||||
description = "Authenticating reverse proxy";
|
description = "Authenticating reverse proxy";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user