ko: 0.11.2 -> 0.12.0

- updates the github repository (org moved from google to ko-build)
- updates precheck to make sure tests passes

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2022-10-12 18:49:51 +02:00 committed by zowoq
parent b5195b9283
commit dfe919cd8e

View File

@ -7,13 +7,13 @@
buildGoModule rec {
pname = "ko";
version = "0.11.2";
version = "0.12.0";
src = fetchFromGitHub {
owner = "google";
owner = "ko-build";
repo = pname;
rev = "v${version}";
sha256 = "sha256-BwK49dSt3D2BrYvluDOBYIH5qEt59HC1hssHl1D2Heg=";
sha256 = "sha256-hhPV40e5wB2/VcdigqgjffDW4X1ZDddXTZiCUBijtHQ=";
};
vendorSha256 = null;
@ -36,6 +36,10 @@ buildGoModule rec {
# resolves some complaints from ko
export GOROOT="$(go env GOROOT)"
git init
# ko tests will fail if any of those env are set, as ko tries
# to make sure it can build and target multiple GOOS/GOARCH
unset GOOS GOARCH GOARM
'';
postInstall = ''
@ -46,8 +50,8 @@ buildGoModule rec {
'';
meta = with lib; {
homepage = "https://github.com/google/ko";
changelog = "https://github.com/google/ko/releases/tag/v${version}";
homepage = "https://github.com/ko-build/ko";
changelog = "https://github.com/ko-build/ko/releases/tag/v${version}";
description = "Build and deploy Go applications on Kubernetes";
longDescription = ''
ko is a simple, fast container image builder for Go applications.
@ -56,6 +60,6 @@ buildGoModule rec {
ko also includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications.
'';
license = licenses.asl20;
maintainers = with maintainers; [ nickcao jk ];
maintainers = with maintainers; [ nickcao jk vdemeester ];
};
}