3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #175226 from bryanasdev000/argocd-234

argocd: 2.3.3 -> 2.3.4
This commit is contained in:
Thiago Kenji Okada 2022-06-05 11:36:17 +01:00 committed by GitHub
commit 33392fff69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,19 +2,19 @@
buildGoModule rec { buildGoModule rec {
pname = "argocd"; pname = "argocd";
version = "2.3.3"; version = "2.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "argoproj"; owner = "argoproj";
repo = "argo-cd"; repo = "argo-cd";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ChgWqhkzVKhbyEA+g2flWK/WMxur7UHWXJUcLzp9RTE="; sha256 = "sha256-pWDwmsLCXoK8EzipOPXUdYu75hPm5AIExXmgoA102Dg=";
}; };
vendorSha256 = "sha256-XrIIMnn65Y10KnVTsmw6vLE53Zra1lWNFgklmaj3gF8="; vendorSha256 = "sha256-XrIIMnn65Y10KnVTsmw6vLE53Zra1lWNFgklmaj3gF8=";
# Set target as ./cmd per release-cli # Set target as ./cmd per cli-local
# https://github.com/argoproj/argo-cd/blob/master/Makefile#L222 # https://github.com/argoproj/argo-cd/blob/master/Makefile#L227
subPackages = [ "cmd" ]; subPackages = [ "cmd" ];
ldflags = ldflags =
@ -26,6 +26,11 @@ buildGoModule rec {
"-X ${package_url}.gitCommit=${src.rev}" "-X ${package_url}.gitCommit=${src.rev}"
"-X ${package_url}.gitTag=${src.rev}" "-X ${package_url}.gitTag=${src.rev}"
"-X ${package_url}.gitTreeState=clean" "-X ${package_url}.gitTreeState=clean"
"-X ${package_url}.kubectlVersion=v0.23.1"
# NOTE: Update kubectlVersion when upgrading this package with
# go list -m k8s.io/client-go | head -n 1 | rev | cut -d' ' -f1 | rev
# Per https://github.com/argoproj/argo-cd/blob/master/Makefile#L18
# Will need a way to automate it :P
]; ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];