kubepug: 1.5.1 -> 1.7.1

This commit is contained in:
Mauricio Scheffer 2023-11-18 10:57:26 +00:00
parent a845c1b2d6
commit 6333cf5e8f
2 changed files with 5 additions and 21 deletions

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "kubepug";
version = "1.5.1";
version = "1.7.1";
src = fetchFromGitHub {
owner = "rikatz";
owner = "kubepug";
repo = "kubepug";
rev = "v${version}";
hash = "sha256-HjnkGEzTobtILqML5xcjpYVtg6a5PqMKYyaGTYrqEDo=";
hash = "sha256-VNxaYQy81U0JWd6KS0jCvMexpyWL4v1cKpjxLRkxBLE=";
};
vendorHash = "sha256-w2WwJa8qaXmgFwZJo2r2TowcTehgQY0nGY4u1UROaxM=";
vendorHash = "sha256-HVsaQBd7fSZp2fOpOOmlDhYrHcHqWKiYWPFLQX0azEw=";
ldflags = [
"-s"
@ -19,13 +19,9 @@ buildGoModule rec {
"-X sigs.k8s.io/release-utils/version.gitVersion=${version}"
];
patches = [
./skip-external-network-tests.patch
];
meta = with lib; {
description = "Checks a Kubernetes cluster for objects using deprecated API versions";
homepage = "https://github.com/rikatz/kubepug";
homepage = "https://github.com/kubepug/kubepug";
license = licenses.asl20;
maintainers = with maintainers; [ mausch ];
};

View File

@ -1,12 +0,0 @@
diff --git a/pkg/utils/downloader_test.go b/pkg/utils/downloader_test.go
index b227760..b72dee9 100644
--- a/pkg/utils/downloader_test.go
+++ b/pkg/utils/downloader_test.go
@@ -7,6 +7,7 @@ import (
)
func TestDownloadSwaggerFile(t *testing.T) {
+ t.Skipf("Nix sandbox does not have networking")
var tmpdir string
// Github actions does not have a temporary dir :/
tmpdir = os.Getenv("RUNNER_TEMP")