2022-12-23T08:15:58 fluxcd 0.37.0 -> 0.38.1 https://repology.org/metapackage/fluxcd/versions 2022-12-23T08:16:00 attrpath: fluxcd 2022-12-23T08:16:00 Checking auto update branch... 2022-12-23T08:16:03 [version] 2022-12-23T08:16:03 [version] generic version rewriter does not support multiple hashes 2022-12-23T08:16:03 [rustCrateVersion] 2022-12-23T08:16:03 [rustCrateVersion] No cargoSha256 found 2022-12-23T08:16:03 [golangModuleVersion] 2022-12-23T08:16:03 [golangModuleVersion] skipping because derivation has updateScript 2022-12-23T08:16:03 [updateScript] 2022-12-23T08:16:20 [updateScript] Success 2022-12-23T08:16:20 [updateScript] this derivation will be built: /nix/store/79pa7h4m55jhlz5nwx2d7d923m77x2ba-packages.json.drv building '/nix/store/79pa7h4m55jhlz5nwx2d7d923m77x2ba-packages.json.drv'... Going to be running update for following packages: - fluxcd-0.37.0 Press Enter key to continue... Running update for: - fluxcd-0.37.0: UPDATING ... - fluxcd-0.37.0: DONE. Packages updated! 2022-12-23T08:16:20 2022-12-23T08:16:20 [quotedUrls] 2022-12-23T08:16:20 [quotedUrls] nothing found to replace 2022-12-23T08:16:21 Diff after rewrites: diff --git a/pkgs/applications/networking/cluster/fluxcd/default.nix b/pkgs/applications/networking/cluster/fluxcd/default.nix index c9d3f778b55..0b5f01654c5 100644 --- a/pkgs/applications/networking/cluster/fluxcd/default.nix +++ b/pkgs/applications/networking/cluster/fluxcd/default.nix @@ -1,9 +1,9 @@ { lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }: let - version = "0.37.0"; - sha256 = "10f0k6k02n981vf0bjh70qf4kdax2qc40ld278p7mrsqri38r1q9"; - manifestsSha256 = "0srg7184sb1brxj8kzzf0ilmx5ym96h78v919xcmbdd6v4f2ycy9"; + version = "0.38.2"; + sha256 = "1fr3jg9j0hrnr55wh40d0lli593pid1vqnbgnw9wxqsv6677dh53"; + manifestsSha256 = "1dmp7gdnwbg4jjc3dq1wp2jn3z3g6lm296b1nf24ndcfmjja58cz"; manifests = fetchzip { url = @@ -23,7 +23,7 @@ in buildGoModule rec { inherit sha256; }; - vendorSha256 = "sha256-zB7Fo+Lw0+hWuzkYLDb9I+swhm9kGfjYNkU96hF6QTg="; + vendorSha256 = "sha256-aPkuP6FVIkMAJi+wwNfgvxXi+PE1mMUXfxz44/R31KI="; postUnpack = '' cp -r ${manifests} source/cmd/flux/manifests 2022-12-23T08:17:48 Old version 0.37.0" not present in master derivation file with contents: { lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }: let version = "0.38.1"; sha256 = "02np6g7q0v1mg10cvn2w8wsi0s7by810m5zb733jaf6lff9p7md8"; manifestsSha256 = "11amanvfah5mgys5zkdzif1sffsz2jkflb60c9sx4arxz3v138cq"; manifests = fetchzip { url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"; sha256 = manifestsSha256; stripRoot = false; }; in buildGoModule rec { pname = "fluxcd"; inherit version; src = fetchFromGitHub { owner = "fluxcd"; repo = "flux2"; rev = "v${version}"; inherit sha256; }; vendorSha256 = "sha256-8/rFdflDK3Pc5dDqSFJghjmJWVZAHiC+/6SDSWYzfVI="; postUnpack = '' cp -r ${manifests} source/cmd/flux/manifests ''; patches = [ ./patches/disable-tests-ssh_key.patch ]; ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ]; subPackages = [ "cmd/flux" ]; # Required to workaround test error: # panic: mkdir /homeless-shelter: permission denied HOME = "$TMPDIR"; nativeBuildInputs = [ installShellFiles ]; doInstallCheck = true; installCheckPhase = '' $out/bin/flux --version | grep ${version} > /dev/null ''; postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' for shell in bash fish zsh; do $out/bin/flux completion $shell > flux.$shell installShellCompletion flux.$shell done ''; passthru.updateScript = ./update.sh; meta = with lib; { description = "Open and extensible continuous delivery solution for Kubernetes"; longDescription = '' Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy. ''; homepage = "https://fluxcd.io"; license = licenses.asl20; maintainers = with maintainers; [ bryanasdev000 jlesquembre ]; mainProgram = "flux"; }; }