Merge pull request #91530 from r-ryantm/auto-update/argo
argo: 2.8.1 -> 2.8.2
This commit is contained in:
commit
6784e5fa5f
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, buildGoPackage, fetchFromGitHub, installShellFiles }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Argo can package a static server in the CLI using the `staticfiles` go module.
|
# Argo can package a static server in the CLI using the `staticfiles` go module.
|
||||||
@ -19,19 +19,21 @@ let
|
|||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "argo";
|
pname = "argo";
|
||||||
version = "2.8.1";
|
version = "2.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "argoproj";
|
owner = "argoproj";
|
||||||
repo = "argo";
|
repo = "argo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "193nxc27fh37wf035mclvwwwxjjfc8nnbncg009fg19ycqmvmgvc";
|
sha256 = "1di6c8p9bc0g8r5l654sdvpiawp76cp8v97cj227yhznf39f20z9";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "1p9b2m20gxc7iyq08mvllf5dpi4m06aw233sb45d05d624kw4aps";
|
vendorSha256 = "1p9b2m20gxc7iyq08mvllf5dpi4m06aw233sb45d05d624kw4aps";
|
||||||
|
|
||||||
subPackages = [ "cmd/argo" ];
|
subPackages = [ "cmd/argo" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p ui/dist/app
|
mkdir -p ui/dist/app
|
||||||
echo "Built without static files" > ui/dist/app/index.html
|
echo "Built without static files" > ui/dist/app/index.html
|
||||||
@ -48,6 +50,13 @@ buildGoModule rec {
|
|||||||
-X github.com/argoproj/argo.gitTag=${version}
|
-X github.com/argoproj/argo.gitTag=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for shell in bash zsh; do
|
||||||
|
$out/bin/argo completion $shell > argo.$shell
|
||||||
|
installShellCompletion argo.$shell
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Container native workflow engine for Kubernetes";
|
description = "Container native workflow engine for Kubernetes";
|
||||||
homepage = "https://github.com/argoproj/argo";
|
homepage = "https://github.com/argoproj/argo";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user