mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-30 13:05:15 +03:00
gitlab: 14.4.0 -> 14.4.1
This commit is contained in:
parent
ffea1625ad
commit
e06991e7bb
5 changed files with 30 additions and 10 deletions
|
@ -1,14 +1,14 @@
|
||||||
{
|
{
|
||||||
"version": "14.4.0",
|
"version": "14.4.1",
|
||||||
"repo_hash": "1hkx30abwbhwrlwr4sykpjgsk8k2k375d9xl1pxjhg3n8vwqncs8",
|
"repo_hash": "0sm44iyn32frc7njg6ypgbcip77mj5c3agn3cihk3lz7z5kr48lm",
|
||||||
"yarn_hash": "0l0lgcgxaira980a1y550pfsm4f2pw97gi8s5pghyfil2v2lyxyw",
|
"yarn_hash": "0l0lgcgxaira980a1y550pfsm4f2pw97gi8s5pghyfil2v2lyxyw",
|
||||||
"owner": "gitlab-org",
|
"owner": "gitlab-org",
|
||||||
"repo": "gitlab",
|
"repo": "gitlab",
|
||||||
"rev": "v14.4.0-ee",
|
"rev": "v14.4.1-ee",
|
||||||
"passthru": {
|
"passthru": {
|
||||||
"GITALY_SERVER_VERSION": "14.4.0",
|
"GITALY_SERVER_VERSION": "14.4.1",
|
||||||
"GITLAB_PAGES_VERSION": "1.46.0",
|
"GITLAB_PAGES_VERSION": "1.46.0",
|
||||||
"GITLAB_SHELL_VERSION": "13.21.1",
|
"GITLAB_SHELL_VERSION": "13.21.1",
|
||||||
"GITLAB_WORKHORSE_VERSION": "14.4.0"
|
"GITLAB_WORKHORSE_VERSION": "14.4.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,15 @@ let
|
||||||
buildInputs = [ file ];
|
buildInputs = [ file ];
|
||||||
buildFlags = [ "--enable-system-libraries" ];
|
buildFlags = [ "--enable-system-libraries" ];
|
||||||
};
|
};
|
||||||
|
# the included yarn rake task attaches the yarn:install task
|
||||||
|
# to assets:precompile, which is both unnecessary (since we
|
||||||
|
# run `yarn install` ourselves) and undoes the shebang patches
|
||||||
|
# in node_modules
|
||||||
|
railties = x.railties // {
|
||||||
|
dontBuild = false;
|
||||||
|
patches = [ ./railties-remove-yarn-install-enhancement.patch ];
|
||||||
|
patchFlags = "-p2";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
groups = [
|
groups = [
|
||||||
"default" "unicorn" "ed25519" "metrics" "development" "puma" "test" "kerberos"
|
"default" "unicorn" "ed25519" "metrics" "development" "puma" "test" "kerberos"
|
||||||
|
@ -95,8 +104,6 @@ let
|
||||||
|
|
||||||
bundle exec rake gettext:po_to_json RAILS_ENV=production NODE_ENV=production
|
bundle exec rake gettext:po_to_json RAILS_ENV=production NODE_ENV=production
|
||||||
bundle exec rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production
|
bundle exec rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production
|
||||||
# hack: rake gettext:po_to_json breaks the node_modules folder. We repair it by patching the shebangs again.
|
|
||||||
patchShebangs node_modules/
|
|
||||||
bundle exec rake gitlab:assets:compile_webpack_if_needed RAILS_ENV=production NODE_ENV=production
|
bundle exec rake gitlab:assets:compile_webpack_if_needed RAILS_ENV=production NODE_ENV=production
|
||||||
bundle exec rake gitlab:assets:fix_urls RAILS_ENV=production NODE_ENV=production
|
bundle exec rake gitlab:assets:fix_urls RAILS_ENV=production NODE_ENV=production
|
||||||
bundle exec rake gitlab:assets:check_page_bundle_mixins_css_for_sideeffects RAILS_ENV=production NODE_ENV=production
|
bundle exec rake gitlab:assets:check_page_bundle_mixins_css_for_sideeffects RAILS_ENV=production NODE_ENV=production
|
||||||
|
|
|
@ -20,7 +20,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
version = "14.4.0";
|
version = "14.4.1";
|
||||||
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
|
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ buildGoModule {
|
||||||
owner = "gitlab-org";
|
owner = "gitlab-org";
|
||||||
repo = "gitaly";
|
repo = "gitaly";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-GnjG/LuHvulNrwj1/4r07snue7rysZ74cWpf60w48cc=";
|
sha256 = "sha256-bATqaB7q3MlyacEiBXdcEDs+xsJUbULVnYTSpEznxFg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-9RhPQosen70E9t1iAoc2SeKs9pYMMpMqgXLekWfKNf8=";
|
vendorSha256 = "sha256-9RhPQosen70E9t1iAoc2SeKs9pYMMpMqgXLekWfKNf8=";
|
||||||
|
|
|
@ -5,7 +5,7 @@ in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gitlab-workhorse";
|
pname = "gitlab-workhorse";
|
||||||
|
|
||||||
version = "14.4.0";
|
version = "14.4.1";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = data.owner;
|
owner = data.owner;
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/railties/lib/rails/tasks/yarn.rake b/railties/lib/rails/tasks/yarn.rake
|
||||||
|
index 0226da721a..365cdeb0f9 100644
|
||||||
|
--- a/railties/lib/rails/tasks/yarn.rake
|
||||||
|
+++ b/railties/lib/rails/tasks/yarn.rake
|
||||||
|
@@ -27,8 +27,3 @@ namespace :yarn do
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
-
|
||||||
|
-# Run Yarn prior to Sprockets assets precompilation, so dependencies are available for use.
|
||||||
|
-if Rake::Task.task_defined?("assets:precompile") && File.exist?(Rails.root.join("bin", "yarn"))
|
||||||
|
- Rake::Task["assets:precompile"].enhance [ "yarn:install" ]
|
||||||
|
-end
|
Loading…
Add table
Add a link
Reference in a new issue