Skip to content

Commit

Permalink
gitlab: 17.3.7 -> 17.5.2
Browse files Browse the repository at this point in the history
(cherry picked from commit eebd4c3)
  • Loading branch information
xanderio committed Nov 30, 2024
1 parent 93b7c59 commit 0faf6d2
Show file tree
Hide file tree
Showing 13 changed files with 433 additions and 373 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ in {
ln -sf ${cableYml} ${cfg.statePath}/config/cable.yml
ln -sf ${resqueYml} ${cfg.statePath}/config/resque.yml
${cfg.packages.gitlab-shell}/bin/install
${cfg.packages.gitlab-shell}/support/make_necessary_dirs
${optionalString cfg.smtp.enable ''
install -m u=rw ${smtpSettings} ${cfg.statePath}/config/initializers/smtp_settings.rb
Expand Down
18 changes: 9 additions & 9 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "17.3.7",
"repo_hash": "1nci1lnr7wikjrqqpya7ypwf2lcjlcvkjc3wc0b7wcx9jnrylbr1",
"yarn_hash": "1g5xqggdbrxz6ablav119jw8a2v8qdd2cwlbvpygablbcxqak41l",
"version": "17.5.2",
"repo_hash": "08mx9xbl6cagzp36qwzz1zab5w8y2x4yhy3x5hqv1qwbrjrlcxjd",
"yarn_hash": "0x1yhgjrm7zyj9qir4yk1zkzj009a3s20hf6fqmsaala4hynnlnq",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v17.3.7-ee",
"rev": "v17.5.2-ee",
"passthru": {
"GITALY_SERVER_VERSION": "17.3.7",
"GITLAB_PAGES_VERSION": "17.3.7",
"GITLAB_SHELL_VERSION": "14.38.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.2.0",
"GITLAB_WORKHORSE_VERSION": "17.3.7"
"GITALY_SERVER_VERSION": "17.5.2",
"GITLAB_PAGES_VERSION": "17.5.2",
"GITLAB_SHELL_VERSION": "14.39.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.3.0",
"GITLAB_WORKHORSE_VERSION": "17.5.2"
}
}
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/gitlab/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ let
cp Cargo.lock $out
'';
};
hash = "sha256-VYjCYUikORuXx27OYWyumBxeHw9aj/S1wcr9vLIsXeo=";
hash = "sha256-L/URWw7NoQhi7VV8ZiKLzthbF0wl4rIUqCQdH9wmAV0=";
};

dontBuild = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:

let
version = "17.3.7";
version = "17.5.2";
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-H//vwXzpUh1a8Lez5HTmwkF8TQVPVSefyabnEM4Wo4E=";
hash = "sha256-jEgw66aNJdLW6twU/oqJN/pxyGsJh/UOFaNEzfVjdCY=";
};

vendorHash = "sha256-3Gwpf4zLg9KsmGr2bYmcHATsouKXe3W/vppGHT2B048=";
vendorHash = "sha256-VN+d6jMX3f4ua+YEF6LmqEOTRm2q4zxZ/X73hhA4fNs=";

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

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.45.2";
version = "2.46.2";

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

# 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.13.0";
version = "4.14.0";
rev = "v${version}-gitlab";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "container-registry";
inherit rev;
hash = "sha256-V58UjlIlGllbPBTZMY5EoGNC+toy11xLCnnLHXqJUVU=";
hash = "sha256-FOytsMFiaVqHQrwdWpmDbzWGddD4R1rClXWVD2EpUk8=";
};

vendorHash = "sha256-LSl94y1g0sfqXWddF7f8z2YRC5D6zJP1t+gsXqdVHww=";
vendorHash = "sha256-8TQMMRKyg5bQ3www79V1ejGJ81D0ZMwiXyIhx8+fdec=";

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-elasticsearch-indexer";
version = "5.2.0";
version = "5.3.0";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-elasticsearch-indexer";
rev = "v${version}";
hash = "sha256-pkZWIsPWUDkjZo48mJ9N8LbMJJAHNI2Wf6X0F5+K23s=";
hash = "sha256-upbVe78HLRWXf8knxsVX6mGbXHfMTPa7yQ7/XMTgGLo=";
};

vendorHash = "sha256-hFTvNh/N3z99O7dtAEiksonJcTn7Zj7Ijp68vfXEBw8=";
vendorHash = "sha256-sws1r6W6tYJI/zOWFFp2hry9ToXuE4fezIL1XPgp0EM=";

buildInputs = [ icu ];
nativeBuildInputs = [ pkg-config ];
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.3.7";
version = "17.5.2";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${version}";
hash = "sha256-ZViBwStBDqnR9SMeqZz1HSzL5OVSp2An/9hj4FBTmGs=";
hash = "sha256-fjoby/fTh1wAidyOQSqx7VolxzSB0TQYvltJhYduDSY=";
};

vendorHash = "sha256-O8kWiOpgVCUD6DdM95F1b+j4Gv9LTLRdBjByqXWV7Pk=";
vendorHash = "sha256-M2RQPkLWsi9rHXI3lSb9w9nxiklTkV8wpC9VoH0SP6M=";
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.38.0";
version = "14.39.0";

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

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

vendorHash = "sha256-YOShgZv0zdfXgKi//IENt6wE2m0S1Kqa+2ndvCwKDLQ=";
vendorHash = "sha256-wlxHaPstdXjMWV+qHxahAukk/Lc07kq37SlnCU3KO4o=";

subPackages = [
"cmd/gitlab-shell"
"cmd/gitlab-sshd"
"cmd/gitlab-shell-check"
"cmd/gitlab-shell-authorized-principals-check"
"cmd/gitlab-shell-authorized-keys-check"
];

postInstall = ''
cp -r "$NIX_BUILD_TOP/source"/bin/* $out/bin
cp -r "$NIX_BUILD_TOP/source"/{support,VERSION} $out/
'';
doCheck = false;
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.3.7";
version = "17.5.2";

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

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

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

0 comments on commit 0faf6d2

Please sign in to comment.