kubepug: 1.5.1 -> 1.7.1
This commit is contained in:
parent
a845c1b2d6
commit
6333cf5e8f
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubepug";
|
pname = "kubepug";
|
||||||
version = "1.5.1";
|
version = "1.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rikatz";
|
owner = "kubepug";
|
||||||
repo = "kubepug";
|
repo = "kubepug";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-HjnkGEzTobtILqML5xcjpYVtg6a5PqMKYyaGTYrqEDo=";
|
hash = "sha256-VNxaYQy81U0JWd6KS0jCvMexpyWL4v1cKpjxLRkxBLE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-w2WwJa8qaXmgFwZJo2r2TowcTehgQY0nGY4u1UROaxM=";
|
vendorHash = "sha256-HVsaQBd7fSZp2fOpOOmlDhYrHcHqWKiYWPFLQX0azEw=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
@ -19,13 +19,9 @@ buildGoModule rec {
|
|||||||
"-X sigs.k8s.io/release-utils/version.gitVersion=${version}"
|
"-X sigs.k8s.io/release-utils/version.gitVersion=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
./skip-external-network-tests.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Checks a Kubernetes cluster for objects using deprecated API versions";
|
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;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ mausch ];
|
maintainers = with maintainers; [ mausch ];
|
||||||
};
|
};
|
||||||
|
@ -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")
|
|
Loading…
Reference in New Issue
Block a user