Merge pull request #136564 from yu-re-ka/feature/gitlab-14-2-3

gitlab: 14.2.1 -> 14.2.3

authored by

Kim Lindberger and committed by
GitHub
c8839f66 850286cb

+64 -38
+5 -5
pkgs/applications/version-management/gitlab/data.json
··· 1 { 2 - "version": "14.2.1", 3 - "repo_hash": "0ivymkqcwl2lrnv0lkcw2ch26iyz9ixklrkc2jq38pbwc0igf89z", 4 "owner": "gitlab-org", 5 "repo": "gitlab", 6 - "rev": "v14.2.1-ee", 7 "passthru": { 8 - "GITALY_SERVER_VERSION": "14.2.1", 9 "GITLAB_PAGES_VERSION": "1.42.0", 10 "GITLAB_SHELL_VERSION": "13.19.1", 11 - "GITLAB_WORKHORSE_VERSION": "14.2.1" 12 } 13 }
··· 1 { 2 + "version": "14.2.3", 3 + "repo_hash": "06fr8srz5ii0h65b1h2zfm8kzqz9g8jy2aq4g5js6kmv44zjya1p", 4 "owner": "gitlab-org", 5 "repo": "gitlab", 6 + "rev": "v14.2.3-ee", 7 "passthru": { 8 + "GITALY_SERVER_VERSION": "14.2.3", 9 "GITLAB_PAGES_VERSION": "1.42.0", 10 "GITLAB_SHELL_VERSION": "13.19.1", 11 + "GITLAB_WORKHORSE_VERSION": "14.2.3" 12 } 13 }
+6
pkgs/applications/version-management/gitlab/default.nix
··· 22 gemset = 23 let x = import (gemdir + "/gemset.nix"); 24 in x // { 25 # the openssl needs the openssl include files 26 openssl = x.openssl // { 27 buildInputs = [ openssl ];
··· 22 gemset = 23 let x = import (gemdir + "/gemset.nix"); 24 in x // { 25 + # grpc expects the AR environment variable to contain `ar rpc`. See the 26 + # discussion in nixpkgs #63056. 27 + grpc = x.grpc // { 28 + patches = [ ./fix-grpc-ar.patch ]; 29 + dontBuild = false; 30 + }; 31 # the openssl needs the openssl include files 32 openssl = x.openssl // { 33 buildInputs = [ openssl ];
+10
pkgs/applications/version-management/gitlab/fix-grpc-ar.patch
···
··· 1 + --- a/src/ruby/ext/grpc/extconf.rb 2 + +++ b/src/ruby/ext/grpc/extconf.rb 3 + @@ -27,6 +27,7 @@ ENV['MACOSX_DEPLOYMENT_TARGET'] = '10.7' 4 + if ENV['AR'].nil? || ENV['AR'].size == 0 5 + ENV['AR'] = RbConfig::CONFIG['AR'] + ' rcs' 6 + end 7 + +ENV['AR'] = ENV['AR'] + ' rcs' 8 + if ENV['CC'].nil? || ENV['CC'].size == 0 9 + ENV['CC'] = RbConfig::CONFIG['CC'] 10 + end
+2 -2
pkgs/applications/version-management/gitlab/gitaly/Gemfile
··· 7 gem 'rdoc', '~> 6.0' 8 gem 'gitlab-gollum-lib', '~> 4.2.7.10.gitlab.1', require: false 9 gem 'gitlab-gollum-rugged_adapter', '~> 0.4.4.4.gitlab.1', require: false 10 - gem 'grpc', '~> 1.38.0' 11 gem 'sentry-raven', '~> 3.0', require: false 12 gem 'faraday', '~> 1.0' 13 gem 'rbtrace', require: false ··· 29 gem 'factory_bot', require: false 30 gem 'pry', '~> 0.12.2', require: false 31 32 - gem 'grpc-tools', '= 1.38.0' 33 end
··· 7 gem 'rdoc', '~> 6.0' 8 gem 'gitlab-gollum-lib', '~> 4.2.7.10.gitlab.1', require: false 9 gem 'gitlab-gollum-rugged_adapter', '~> 0.4.4.4.gitlab.1', require: false 10 + gem 'grpc', '~> 1.30.2' 11 gem 'sentry-raven', '~> 3.0', require: false 12 gem 'faraday', '~> 1.0' 13 gem 'rbtrace', require: false ··· 29 gem 'factory_bot', require: false 30 gem 'pry', '~> 0.12.2', require: false 31 32 + gem 'grpc-tools', '= 1.30.2' 33 end
+5 -5
pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
··· 77 google-protobuf (3.17.3) 78 googleapis-common-protos-types (1.1.0) 79 google-protobuf (~> 3.14) 80 - grpc (1.38.0) 81 - google-protobuf (~> 3.15) 82 googleapis-common-protos-types (~> 1.0) 83 - grpc-tools (1.38.0) 84 i18n (1.8.10) 85 concurrent-ruby (~> 1.0) 86 ice_nine (0.11.2) ··· 225 gitlab-labkit (~> 0.20.0) 226 gitlab-markup (~> 1.7.1) 227 google-protobuf (~> 3.17.0) 228 - grpc (~> 1.38.0) 229 - grpc-tools (= 1.38.0) 230 licensee (~> 9.14.1) 231 pry (~> 0.12.2) 232 rbtrace
··· 77 google-protobuf (3.17.3) 78 googleapis-common-protos-types (1.1.0) 79 google-protobuf (~> 3.14) 80 + grpc (1.30.2) 81 + google-protobuf (~> 3.12) 82 googleapis-common-protos-types (~> 1.0) 83 + grpc-tools (1.30.2) 84 i18n (1.8.10) 85 concurrent-ruby (~> 1.0) 86 ice_nine (0.11.2) ··· 225 gitlab-labkit (~> 0.20.0) 226 gitlab-markup (~> 1.7.1) 227 google-protobuf (~> 3.17.0) 228 + grpc (~> 1.30.2) 229 + grpc-tools (= 1.30.2) 230 licensee (~> 9.14.1) 231 pry (~> 0.12.2) 232 rbtrace
+12 -2
pkgs/applications/version-management/gitlab/gitaly/default.nix
··· 9 inherit ruby; 10 copyGemFiles = true; 11 gemdir = ./.; 12 }; 13 - version = "14.2.1"; 14 gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; 15 in 16 ··· 22 owner = "gitlab-org"; 23 repo = "gitaly"; 24 rev = "v${version}"; 25 - sha256 = "sha256-B3NtdS1UcT+nYIdoXs+tW2gnXZ0ew+NiIcCNi5z5fOc="; 26 }; 27 28 vendorSha256 = "sha256-WhkNK+V7yXK+le1u8StAKajZIBzVKqV/WIau27oZBXE=";
··· 9 inherit ruby; 10 copyGemFiles = true; 11 gemdir = ./.; 12 + gemset = 13 + let x = import (gemdir + "/gemset.nix"); 14 + in x // { 15 + # grpc expects the AR environment variable to contain `ar rpc`. See the 16 + # discussion in nixpkgs #63056. 17 + grpc = x.grpc // { 18 + patches = [ ../fix-grpc-ar.patch ]; 19 + dontBuild = false; 20 + }; 21 + }; 22 }; 23 + version = "14.2.3"; 24 gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; 25 in 26 ··· 32 owner = "gitlab-org"; 33 repo = "gitaly"; 34 rev = "v${version}"; 35 + sha256 = "sha256-TSA5CoNaLeMu7O02rsaR/rNciLwzxSIUUQsCo40Z15c="; 36 }; 37 38 vendorSha256 = "sha256-WhkNK+V7yXK+le1u8StAKajZIBzVKqV/WIau27oZBXE=";
+4 -4
pkgs/applications/version-management/gitlab/gitaly/gemset.nix
··· 311 platforms = []; 312 source = { 313 remotes = ["https://rubygems.org"]; 314 - sha256 = "16qxl287kkf34h71djlf9x3wxmd5ylcm83y2zhnrv81gbrhn8k12"; 315 type = "gem"; 316 }; 317 - version = "1.38.0"; 318 }; 319 grpc-tools = { 320 groups = ["development" "test"]; 321 platforms = []; 322 source = { 323 remotes = ["https://rubygems.org"]; 324 - sha256 = "0sfbf5s19nfgznlb7m2sfw9l0ppvypj46ijjvq5p35fc6b8by5aq"; 325 type = "gem"; 326 }; 327 - version = "1.38.0"; 328 }; 329 i18n = { 330 dependencies = ["concurrent-ruby"];
··· 311 platforms = []; 312 source = { 313 remotes = ["https://rubygems.org"]; 314 + sha256 = "1rsglf7ag17n465iff7vlw83pn2rpl4kv9sb1rpf17nx6xpi7yl5"; 315 type = "gem"; 316 }; 317 + version = "1.30.2"; 318 }; 319 grpc-tools = { 320 groups = ["development" "test"]; 321 platforms = []; 322 source = { 323 remotes = ["https://rubygems.org"]; 324 + sha256 = "0k9zhsqhamp02ryzgfb4y2bbick151vlhrhj0kqbbz9lyhms0bd4"; 325 type = "gem"; 326 }; 327 + version = "1.30.2"; 328 }; 329 i18n = { 330 dependencies = ["concurrent-ruby"];
+1 -1
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 - version = "14.2.1"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 + version = "14.2.3"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
+3 -3
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
··· 101 # TODO: remove app/views/graphiql/rails/editors/show.html.erb when https://github.com/rmosolgo/graphiql-rails/pull/71 is released: 102 # https://gitlab.com/gitlab-org/gitlab/issues/31747 103 gem 'graphiql-rails', '~> 1.4.10' 104 - gem 'apollo_upload_server', '~> 2.0.2' 105 gem 'graphql-docs', '~> 1.6.0', group: [:development, :test] 106 gem 'graphlient', '~> 0.4.0' # Used by BulkImport feature (group::import) 107 ··· 310 gem 'premailer-rails', '~> 1.10.3' 311 312 # LabKit: Tracing and Correlation 313 - gem 'gitlab-labkit', '~> 0.21.0' 314 # Thrift is a dependency of gitlab-labkit, we want a version higher than 0.14.0 315 # because of https://gitlab.com/gitlab-org/gitlab/-/issues/321900 316 gem 'thrift', '>= 0.14.0' ··· 479 # KAS GRPC protocol definitions 480 gem 'kas-grpc', '~> 0.0.2' 481 482 - gem 'grpc', '~> 1.38.0' 483 484 gem 'google-protobuf', '~> 3.17.1' 485
··· 101 # TODO: remove app/views/graphiql/rails/editors/show.html.erb when https://github.com/rmosolgo/graphiql-rails/pull/71 is released: 102 # https://gitlab.com/gitlab-org/gitlab/issues/31747 103 gem 'graphiql-rails', '~> 1.4.10' 104 + gem 'apollo_upload_server', '~> 2.1.0' 105 gem 'graphql-docs', '~> 1.6.0', group: [:development, :test] 106 gem 'graphlient', '~> 0.4.0' # Used by BulkImport feature (group::import) 107 ··· 310 gem 'premailer-rails', '~> 1.10.3' 311 312 # LabKit: Tracing and Correlation 313 + gem 'gitlab-labkit', '~> 0.21.1' 314 # Thrift is a dependency of gitlab-labkit, we want a version higher than 0.14.0 315 # because of https://gitlab.com/gitlab-org/gitlab/-/issues/321900 316 gem 'thrift', '>= 0.14.0' ··· 479 # KAS GRPC protocol definitions 480 gem 'kas-grpc', '~> 0.0.2' 481 482 + gem 'grpc', '~> 1.30.2' 483 484 gem 'google-protobuf', '~> 3.17.1' 485
+9 -9
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
··· 73 aes_key_wrap (1.1.0) 74 akismet (3.0.0) 75 android_key_attestation (0.3.0) 76 - apollo_upload_server (2.0.2) 77 graphql (>= 1.8) 78 - rails (>= 4.2) 79 asana (0.10.3) 80 faraday (~> 1.0) 81 faraday_middleware (~> 1.0) ··· 468 fog-json (~> 1.2.0) 469 mime-types 470 ms_rest_azure (~> 0.12.0) 471 - gitlab-labkit (0.21.0) 472 actionpack (>= 5.0.0, < 7.0.0) 473 activesupport (>= 5.0.0, < 7.0.0) 474 - grpc (~> 1.38) 475 jaeger-client (~> 1.1) 476 opentracing (~> 0.4) 477 pg_query (~> 2.1) ··· 566 graphql (~> 1.6) 567 html-pipeline (~> 2.8) 568 sass (~> 3.4) 569 - grpc (1.38.0) 570 - google-protobuf (~> 3.15) 571 googleapis-common-protos-types (~> 1.0) 572 gssapi (1.2.0) 573 ffi (>= 1.0.1) ··· 1385 acts-as-taggable-on (~> 7.0) 1386 addressable (~> 2.8) 1387 akismet (~> 3.0) 1388 - apollo_upload_server (~> 2.0.2) 1389 asana (~> 0.10.3) 1390 asciidoctor (~> 2.0.10) 1391 asciidoctor-include-ext (~> 0.3.1) ··· 1471 gitlab-dangerfiles (~> 2.3.0) 1472 gitlab-experiment (~> 0.6.4) 1473 gitlab-fog-azure-rm (~> 1.1.1) 1474 - gitlab-labkit (~> 0.21.0) 1475 gitlab-license (~> 2.0) 1476 gitlab-mail_room (~> 0.0.9) 1477 gitlab-markup (~> 1.7.1) ··· 1493 graphlient (~> 0.4.0) 1494 graphql (~> 1.11.8) 1495 graphql-docs (~> 1.6.0) 1496 - grpc (~> 1.38.0) 1497 gssapi 1498 guard-rspec 1499 haml_lint (~> 0.36.0)
··· 73 aes_key_wrap (1.1.0) 74 akismet (3.0.0) 75 android_key_attestation (0.3.0) 76 + apollo_upload_server (2.1.0) 77 + actionpack (>= 4.2) 78 graphql (>= 1.8) 79 asana (0.10.3) 80 faraday (~> 1.0) 81 faraday_middleware (~> 1.0) ··· 468 fog-json (~> 1.2.0) 469 mime-types 470 ms_rest_azure (~> 0.12.0) 471 + gitlab-labkit (0.21.1) 472 actionpack (>= 5.0.0, < 7.0.0) 473 activesupport (>= 5.0.0, < 7.0.0) 474 + grpc (~> 1.30.2) 475 jaeger-client (~> 1.1) 476 opentracing (~> 0.4) 477 pg_query (~> 2.1) ··· 566 graphql (~> 1.6) 567 html-pipeline (~> 2.8) 568 sass (~> 3.4) 569 + grpc (1.30.2) 570 + google-protobuf (~> 3.12) 571 googleapis-common-protos-types (~> 1.0) 572 gssapi (1.2.0) 573 ffi (>= 1.0.1) ··· 1385 acts-as-taggable-on (~> 7.0) 1386 addressable (~> 2.8) 1387 akismet (~> 3.0) 1388 + apollo_upload_server (~> 2.1.0) 1389 asana (~> 0.10.3) 1390 asciidoctor (~> 2.0.10) 1391 asciidoctor-include-ext (~> 0.3.1) ··· 1471 gitlab-dangerfiles (~> 2.3.0) 1472 gitlab-experiment (~> 0.6.4) 1473 gitlab-fog-azure-rm (~> 1.1.1) 1474 + gitlab-labkit (~> 0.21.1) 1475 gitlab-license (~> 2.0) 1476 gitlab-mail_room (~> 0.0.9) 1477 gitlab-markup (~> 1.7.1) ··· 1493 graphlient (~> 0.4.0) 1494 graphql (~> 1.11.8) 1495 graphql-docs (~> 1.6.0) 1496 + grpc (~> 1.30.2) 1497 gssapi 1498 guard-rspec 1499 haml_lint (~> 0.36.0)
+7 -7
pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
··· 195 version = "0.3.0"; 196 }; 197 apollo_upload_server = { 198 - dependencies = ["graphql" "rails"]; 199 groups = ["default"]; 200 platforms = []; 201 source = { 202 remotes = ["https://rubygems.org"]; 203 - sha256 = "0xk54h9mmzhrbgbmk33v38pavb8w6421mx2yrgsdarkfl9fr90y3"; 204 type = "gem"; 205 }; 206 - version = "2.0.2"; 207 }; 208 asana = { 209 dependencies = ["faraday" "faraday_middleware" "faraday_middleware-multi_json" "oauth2"]; ··· 1987 platforms = []; 1988 source = { 1989 remotes = ["https://rubygems.org"]; 1990 - sha256 = "0dzdxrn2ra21nyfnabj44fbwbccjkp3i7cjpym99pzbsx8dkna8z"; 1991 type = "gem"; 1992 }; 1993 - version = "0.21.0"; 1994 }; 1995 gitlab-license = { 1996 groups = ["default"]; ··· 2278 platforms = []; 2279 source = { 2280 remotes = ["https://rubygems.org"]; 2281 - sha256 = "16qxl287kkf34h71djlf9x3wxmd5ylcm83y2zhnrv81gbrhn8k12"; 2282 type = "gem"; 2283 }; 2284 - version = "1.38.0"; 2285 }; 2286 gssapi = { 2287 dependencies = ["ffi"];
··· 195 version = "0.3.0"; 196 }; 197 apollo_upload_server = { 198 + dependencies = ["actionpack" "graphql"]; 199 groups = ["default"]; 200 platforms = []; 201 source = { 202 remotes = ["https://rubygems.org"]; 203 + sha256 = "0klhppx4vjfdvgz12wb63bcxy5ymk0mp8wkh01fpgjn2l3fwkwz5"; 204 type = "gem"; 205 }; 206 + version = "2.1.0"; 207 }; 208 asana = { 209 dependencies = ["faraday" "faraday_middleware" "faraday_middleware-multi_json" "oauth2"]; ··· 1987 platforms = []; 1988 source = { 1989 remotes = ["https://rubygems.org"]; 1990 + sha256 = "09xci7jw5sckagnwfjlglz4cywylrf16r83f82asnnngvxadvvmq"; 1991 type = "gem"; 1992 }; 1993 + version = "0.21.1"; 1994 }; 1995 gitlab-license = { 1996 groups = ["default"]; ··· 2278 platforms = []; 2279 source = { 2280 remotes = ["https://rubygems.org"]; 2281 + sha256 = "1rsglf7ag17n465iff7vlw83pn2rpl4kv9sb1rpf17nx6xpi7yl5"; 2282 type = "gem"; 2283 }; 2284 + version = "1.30.2"; 2285 }; 2286 gssapi = { 2287 dependencies = ["ffi"];