Merge pull request #218976 from aaronjheng/okteto

okteto: 2.12.1 -> 2.13.0
This commit is contained in:
Weijia Wang
2023-03-02 00:21:12 +02:00
committed by GitHub
+9 -4
View File
@@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, okteto }:
buildGoModule rec {
pname = "okteto";
version = "2.12.1";
version = "2.13.0";
src = fetchFromGitHub {
owner = "okteto";
repo = "okteto";
rev = version;
hash = "sha256-5HAXcFD53VJ+OpmpStKIazoqztAyeqsdRfJy0ctocEk=";
hash = "sha256-0fgxDUCgjYzrWflsoCGe4WRy3C/NO7FmrSw/LJ/NiUE=";
};
vendorHash = "sha256-Yi+4fGCHLH/kA4DuPI2uQ/27xhMd4cPFkTWlI6Bc13A=";
vendorHash = "sha256-d5z6uuUOHUjARIiRTVJmdQ+9VBaercIcUrcgDsN1zCs=";
postPatch = ''
# Disable some tests that need file system & network access.
@@ -40,6 +40,11 @@ buildGoModule rec {
--zsh <($out/bin/okteto completion zsh)
'';
passthru.tests.version = testers.testVersion {
package = okteto;
command = "HOME=$(mktemp -d) okteto version";
};
meta = with lib; {
description = "Develop your applications directly in your Kubernetes Cluster";
homepage = "https://okteto.com/";