summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2021-08-02 22:10:11 +0100
committerGitHub <noreply@github.com>2021-08-02 22:10:11 +0100
commit16851a19a606858091cad14a6461c23be395d5e3 (patch)
tree19c1e113add35863c353b3a21cb466d1182723bc /pkgs
parentb23da892671c2c155aa7a5fdd6c6af407eea1799 (diff)
parent5b6d308cd796a5dd7bf2acf7555f170b63e9b4eb (diff)
downloadnixpkgs-16851a19a606858091cad14a6461c23be395d5e3.tar
nixpkgs-16851a19a606858091cad14a6461c23be395d5e3.tar.gz
nixpkgs-16851a19a606858091cad14a6461c23be395d5e3.tar.bz2
nixpkgs-16851a19a606858091cad14a6461c23be395d5e3.tar.lz
nixpkgs-16851a19a606858091cad14a6461c23be395d5e3.tar.xz
nixpkgs-16851a19a606858091cad14a6461c23be395d5e3.tar.zst
nixpkgs-16851a19a606858091cad14a6461c23be395d5e3.zip
Merge pull request #131577 from starcraft66/velero-1.6.2
velero: 1.6.0 -> 1.6.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/cluster/velero/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/applications/networking/cluster/velero/default.nix b/pkgs/applications/networking/cluster/velero/default.nix
index b38787e2968..dd64d264ba4 100644
--- a/pkgs/applications/networking/cluster/velero/default.nix
+++ b/pkgs/applications/networking/cluster/velero/default.nix
@@ -3,15 +3,15 @@
 buildGoModule rec {
   pname = "velero";
   # When updating, change the commit underneath
-  version = "1.6.0";
-  commit = "5bd70fd8eef316d220317245e46dc6016c348dce";
+  version = "1.6.2";
+  commit = "8c9cdb9603446760452979dc77f93b17054ea1cc";
 
 
   src = fetchFromGitHub {
     rev = "v${version}";
     owner = "vmware-tanzu";
     repo = "velero";
-    sha256 = "sha256-2d4xsffh5DpxGahmzXpgUBRFAt5CsDnHCm8xU1ksqyQ=";
+    sha256 = "sha256-JYa+5lP9uo/6/5wTxNz8xa2usHo6WfXSndbwrMpHhcg=";
   };
 
   buildFlagsArray = ''
@@ -22,11 +22,15 @@ buildGoModule rec {
       -X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean
   '';
 
-  vendorSha256 = "sha256-aQjtebIyV69nRwc/zvK/9v0mX3pAPKfOunSL/FpFZJU=";
+  vendorSha256 = "sha256-Rmj2qGY2w1gsnKAuRQ8cQyqfoM556t4/MookkuPmbDM=";
 
-  excludedPackages = [ "issue-template-gen" ];
+  excludedPackages = [ "issue-template-gen" "crd-gen" "release-tools" "velero-restic-restore-helper" ];
 
-  doCheck = false;
+  doCheck = false; # Tests expect a running cluster see https://github.com/vmware-tanzu/velero/tree/main/test/e2e
+  doInstallCheck = true;
+  installCheckPhase = ''
+    $out/bin/velero version --client-only | grep ${version} > /dev/null
+  '';
 
   nativeBuildInputs = [ installShellFiles ];
   postInstall = ''
@@ -43,6 +47,5 @@ buildGoModule rec {
       "https://github.com/vmware-tanzu/velero/releases/tag/v${version}";
     license = licenses.asl20;
     maintainers = [ maintainers.mbode maintainers.bryanasdev000 ];
-    platforms = platforms.linux ++ platforms.darwin;
   };
 }