Merge pull request #305956 from aaronjheng/okteto

okteto: 2.25.4 -> 2.26.0
This commit is contained in:
Guillaume Girol 2024-04-27 22:06:01 +02:00 committed by GitHub
commit d40ab11e88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "okteto";
version = "2.25.4";
version = "2.26.0";
src = fetchFromGitHub {
owner = "okteto";
repo = "okteto";
rev = version;
hash = "sha256-F3tvk3vC6h8fJ2hZMKo2eQ0uUj0UsK7MEujo//wXJi0=";
hash = "sha256-o9+0gMwq01D2gbooQeBTcekvPVz2kpxp5n+Jgj8FVzA=";
};
vendorHash = "sha256-+Adnveutg8soqK2Zwn2SNq7SEHd/Z91diHbPYHrGVrA=";
vendorHash = "sha256-cYiyKNpsMfjqLL+6Q/s3nHRcj2y0DHuOu+S5GndLHxk=";
postPatch = ''
# Disable some tests that need file system & network access.
@ -33,6 +33,10 @@ buildGoModule rec {
export HOME=$(mktemp -d)
'';
checkFlags = [
"-skip=TestCreateDockerfile" # Skip flaky test
];
postInstall = ''
installShellCompletion --cmd okteto \
--bash <($out/bin/okteto completion bash) \
@ -47,9 +51,9 @@ buildGoModule rec {
meta = with lib; {
description = "Develop your applications directly in your Kubernetes Cluster";
mainProgram = "okteto";
homepage = "https://okteto.com/";
license = licenses.asl20;
maintainers = with maintainers; [ aaronjheng ];
mainProgram = "okteto";
};
}