Merge pull request #279635 from NickCao/k0sctl

k0sctl: 0.16.0 -> 0.17.3
This commit is contained in:
Nick Cao 2024-01-11 10:39:36 -05:00 committed by GitHub
commit 4048ac27bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,16 +6,16 @@
buildGo121Module rec { buildGo121Module rec {
pname = "k0sctl"; pname = "k0sctl";
version = "0.16.0"; version = "0.17.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "k0sproject"; owner = "k0sproject";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-DUDvsF4NCFimpW9isqEhodieiJXwjhwhfXR2t/ho3kE="; hash = "sha256-KdD4Wy6PQJQWHnFntYAm/gstWv82AgKK4XvQVM1fnL4=";
}; };
vendorHash = "sha256-eJTVUSAcgE1AaOCEEc202sC0yIfMj30UoK/ObowJ9Zk="; vendorHash = "sha256-0P1v7mZ+k7Th8/cwxRNlhDodzyagv0V9ZBXy1BUGk+k=";
ldflags = [ ldflags = [
"-s" "-s"
@ -27,9 +27,6 @@ buildGo121Module rec {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
# https://github.com/k0sproject/k0sctl/issues/569
checkFlags = [ "-skip=^Test(Unmarshal|VersionDefaulting)/version_not_given$" ];
postInstall = '' postInstall = ''
for shell in bash zsh fish; do for shell in bash zsh fish; do
installShellCompletion --cmd ${pname} \ installShellCompletion --cmd ${pname} \