Skip to content

Commit

Permalink
[Backport release-24.05] gitlab: 17.2.9 -> 17.3.6 (#351854)
Browse files Browse the repository at this point in the history
  • Loading branch information
srhb authored Oct 31, 2024
2 parents 080166c + 99960e8 commit 9091130
Show file tree
Hide file tree
Showing 10 changed files with 495 additions and 448 deletions.
16 changes: 8 additions & 8 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "17.2.9",
"repo_hash": "060d5rzbcnhr1fsvbaiirgjm5rjr5c5r6yi601lxvksffyn5hmxw",
"yarn_hash": "10y540bxwaz355p9r4q34199aibadrd5p4d9ck2y3n6735k0hm74",
"version": "17.3.6",
"repo_hash": "1dysv5xblm33z4vlnkz2s43w6cqrhmzq1729sab3x0zznyaa5vks",
"yarn_hash": "1g5xqggdbrxz6ablav119jw8a2v8qdd2cwlbvpygablbcxqak41l",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v17.2.9-ee",
"rev": "v17.3.6-ee",
"passthru": {
"GITALY_SERVER_VERSION": "17.2.9",
"GITLAB_PAGES_VERSION": "17.2.9",
"GITLAB_SHELL_VERSION": "14.37.0",
"GITALY_SERVER_VERSION": "17.3.6",
"GITLAB_PAGES_VERSION": "17.3.6",
"GITLAB_SHELL_VERSION": "14.38.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.2.0",
"GITLAB_WORKHORSE_VERSION": "17.2.9"
"GITLAB_WORKHORSE_VERSION": "17.3.6"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:

let
version = "17.2.9";
version = "17.3.6";
package_version = "v${lib.versions.major version}";
gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}";

Expand All @@ -21,10 +21,10 @@ let
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
hash = "sha256-UgNQtM3NdAUJVP+vvTHtZWSjCmVzsHlEtXQroxKorIY=";
hash = "sha256-nXblQfr9ml6F5nNz64haN7ub+cuN3eao14N0Y2d3n0Y=";
};

vendorHash = "sha256-FqnGVRldhevJgBBvJcvGXzRaYWqSHzZiXIQmCNzJv+4=";
vendorHash = "sha256-spfSOOe+9NGu+2ZbEGb93X3HnANEXYbvP73DD6neIXQ=";

ldflags = [ "-X ${gitaly_package}/internal/version.version=${version}" "-X ${gitaly_package}/internal/version.moduleVersion=${version}" ];

Expand All @@ -47,6 +47,9 @@ buildGoModule ({
preConfigure = ''
mkdir -p _build/bin
cp -r ${auxBins}/bin/* _build/bin
for f in ${git}/bin/git-*; do
cp "$f" "_build/bin/gitaly-$(basename $f)";
done
'';

outputs = [ "out" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/version-management/gitlab/gitaly/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

stdenv.mkDerivation rec {
pname = "gitaly-git";
version = "2.44.2.gl1";
version = "2.45.2";

# `src` attribute for nix-update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "git";
rev = "v${version}";
hash = "sha256-VIffbZZEbGjVW1No8zojSQlX/ciJ2DJnaogNlQtc77o=";
hash = "sha256-R4K5b4d1DQw+pwoOCAK4EJtVPXQDPossTUmVv0LJtUs=";
};

# we actually use the gitaly build system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

buildGoModule rec {
pname = "gitlab-container-registry";
version = "4.10.0";
version = "4.11.0";
rev = "v${version}-gitlab";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "container-registry";
inherit rev;
hash = "sha256-9OiuA0TqRfnZKfAeLbIcPUw5qH6twWKqt0IP8roaWNg=";
hash = "sha256-wUypldxi3O5sm4i9v2HiZjqUy/JwtcRPvCCmINCk4YU=";
};

vendorHash = "sha256-Bzhg5coOrs3JO6Qslr9csUIrnCMJiG89Fio8ziJjH9k=";
vendorHash = "sha256-Ed+WvdWpEU5c9v14eM1PdCcT3qRnaRF/XeUKedPmaSU=";

postPatch = ''
# Disable flaky inmemory storage driver test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

buildGoModule rec {
pname = "gitlab-pages";
version = "17.2.9";
version = "17.3.6";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${version}";
hash = "sha256-ggfPZ/PMjgfRzzPZdVCVydd/4mdCfh2xh7QWGjp5U/0=";
hash = "sha256-yieOM9QQuQQ4RkfjASpcEvIKwbYMT9LkkJPHAYhY7uY=";
};

vendorHash = "sha256-yNHeM8MExcLwv2Ga4vtBmPFBt/Rj7Gd4QQYDlnAIo+c=";
vendorHash = "sha256-O8kWiOpgVCUD6DdM95F1b+j4Gv9LTLRdBjByqXWV7Pk=";
subPackages = [ "." ];

meta = with lib; {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

buildGoModule rec {
pname = "gitlab-shell";
version = "14.37.0";
version = "14.38.0";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-shell";
rev = "v${version}";
hash = "sha256-to4ZIFKEiM4FCznoLrvHua9/hIqiHcviALzfay+1rb8=";
hash = "sha256-oYvsSjdzfJn4ujy1qbMmqZyEQFbYTSke8t3KBqjr/Vc=";
};

buildInputs = [ ruby libkrb5 ];
Expand All @@ -18,7 +18,7 @@ buildGoModule rec {
./remove-hardcoded-locations.patch
];

vendorHash = "sha256-TbjpCCo/ZdFP+yE2h8B8kwS08iUilXNgBT2F5Si7/dc=";
vendorHash = "sha256-YOShgZv0zdfXgKi//IENt6wE2m0S1Kqa+2ndvCwKDLQ=";

postInstall = ''
cp -r "$NIX_BUILD_TOP/source"/bin/* $out/bin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ in
buildGoModule rec {
pname = "gitlab-workhorse";

version = "17.2.9";
version = "17.3.6";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
Expand All @@ -17,7 +17,7 @@ buildGoModule rec {

sourceRoot = "${src.name}/workhorse";

vendorHash = "sha256-ZWpuJTlGCsjjURa8iYTaGMKulx99uyYJ+dr2cL9hiwo=";
vendorHash = "sha256-sLr9kFKRNYOlCj9bmP+J7/Iu/OfFTEjAm64BUni+eiY=";
buildInputs = [ git ];
ldflags = [ "-X main.Version=${version}" ];
doCheck = false;
Expand Down
Loading

0 comments on commit 9091130

Please sign in to comment.