tektoncd-cli: 0.24.1 -> 0.27.0

This commit is contained in:
06kellyjac 2022-11-01 11:34:01 +00:00
parent 768f41a1e4
commit 740aa4255b

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "tektoncd-cli"; pname = "tektoncd-cli";
version = "0.24.1"; version = "0.27.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tektoncd"; owner = "tektoncd";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-8dCmORfTMFHSyc9FOpL01ywxGcH3uolzD2aOtyy191Q="; sha256 = "sha256-zLPZueKdUNauIzqXOV773SZ/RWg7UuMNeJHr7z6ZJ+E=";
}; };
vendorSha256 = null; vendorSha256 = null;
@ -17,14 +17,15 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
# third_party/VENDOR-LICENSE breaks build/check as go files are still included subPackages = [ "cmd/tkn" ];
# docs is a tool for generating docs
excludedPackages = [ "third_party" "cmd/docs" ];
preCheck = '' preCheck = ''
# some tests try to write to the home dir # some tests try to write to the home dir
export HOME="$TMPDIR" export HOME="$TMPDIR"
# run all tests
unset subPackages
# the tests expect the clientVersion ldflag not to be set # the tests expect the clientVersion ldflag not to be set
unset ldflags unset ldflags