mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
envoy, pomerium: add Pomerium NixOS test to passthru.tests
This commit is contained in:
parent
309e836c33
commit
f081b0c9bb
2 changed files with 11 additions and 0 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue