argo: 3.0.0 -> 3.0.2

Also update build info injection, due to paths renaming in 3.0.2:
https://github.com/argoproj/argo-workflows/pull/5059
This commit is contained in:
Louis Blin 2021-04-22 10:31:04 +01:00
parent 711dbe7dba
commit b3b984e7d4

View file

@ -19,13 +19,13 @@ let
in
buildGoModule rec {
pname = "argo";
version = "3.0.0";
version = "3.0.2";
src = fetchFromGitHub {
owner = "argoproj";
repo = "argo";
rev = "v${version}";
sha256 = "sha256-TbNqwTVND09WzUH8ZH7YFRwcHV8eX1G0FXtZJi67Sk4=";
sha256 = "sha256-+LuBz58hTzi/hGwqX/0VMNYn/+SRYgnNefn3B3i7eEs=";
};
vendorSha256 = "sha256-YjVAoMyGKMHLGEPeOOkCKCzeWFiUsXfJIKcw5GYoljg=";
@ -46,10 +46,11 @@ buildGoModule rec {
buildFlagsArray = ''
-ldflags=
-s -w
-X github.com/argoproj/argo.version=${version}
-X github.com/argoproj/argo.gitCommit=${src.rev}
-X github.com/argoproj/argo.gitTreeState=clean
-X github.com/argoproj/argo.gitTag=${version}
-X github.com/argoproj/argo-workflows/v3.buildDate=unknown
-X github.com/argoproj/argo-workflows/v3.gitCommit=${src.rev}
-X github.com/argoproj/argo-workflows/v3.gitTag=${src.rev}
-X github.com/argoproj/argo-workflows/v3.gitTreeState=clean
-X github.com/argoproj/argo-workflows/v3.version=${version}
'';
postInstall = ''