coredns: add nixosTests.kubernetes dns tests to passthru.tests

these tests appear to use coredns

(cherry picked from commit ceeb0dc940)
This commit is contained in:
Robert Scott 2024-07-08 00:23:54 +01:00 committed by github-actions[bot]
parent 2fafa4b5f3
commit c23dba8fcf

View File

@ -3,6 +3,7 @@
, buildGoModule
, fetchFromGitHub
, installShellFiles
, nixosTests
, externalPlugins ? []
, vendorHash ? "sha256-mp+0/DQTNsgAZTnLqcQq1HVLAfKr5vUGYSZlIvM7KpE="
}:
@ -74,6 +75,11 @@ in buildGoModule rec {
installManPage man/*
'';
passthru.tests = {
kubernetes-single-node = nixosTests.kubernetes.dns-single-node;
kubernetes-multi-node = nixosTests.kubernetes.dns-multi-node;
};
meta = with lib; {
homepage = "https://coredns.io";
description = "A DNS server that runs middleware";