Commit graph

19 commits

Author SHA1 Message Date
GitLab Bot
215cb09934 Add latest changes from gitlab-org/gitlab@master 2020-11-02 15:08:52 +00:00
GitLab Bot
1063cd719c Add latest changes from gitlab-org/gitlab@master 2020-10-29 00:08:36 +00:00
GitLab Bot
eea1fbf9f9 Add latest changes from gitlab-org/gitlab@master 2020-06-02 15:08:24 +00:00
GitLab Bot
8c826685ec Add latest changes from gitlab-org/gitlab@master 2020-06-02 09:08:01 +00:00
GitLab Bot
77d15aff0e Add latest changes from gitlab-org/gitlab@master 2020-03-19 00:09:27 +00:00
GitLab Bot
aaf5961054 Add latest changes from gitlab-org/gitlab@master 2020-03-18 15:09:45 +00:00
GitLab Bot
40597fdec0 Add latest changes from gitlab-org/gitlab@master 2019-10-08 18:05:56 +00:00
GitLab Bot
0c437c3e2f Add latest changes from gitlab-org/gitlab@master 2019-10-07 03:07:19 +00:00
GitLab Bot
427b23c127 Add latest changes from gitlab-org/gitlab@master 2019-10-03 00:05:59 +00:00
Yorick Peterse
916183a7fd
Add methods for injecting EE modules
This adds the methods prepend_if_ee, extend_if_ee, and include_if_ee
that can be used to inject EE specific modules in EE.

These methods are exposed as an initializer that is loaded as soon as
possible. For tests that use fast_spec_helper.rb we must load this
initializer manually, as the Rails environment is not loaded. This is
not the most pretty setup, but unfortunately there is no alternative
that we can use.
2019-07-30 14:52:54 +02:00
Yorick Peterse
0e41564762
Backport gitlab.yml.example from EE
To make this happen, we need to conditionally add the group_saml
strategy when running tests, but only on EE. This requires some changes
to Gitlab.ee? so that it can be used before/without loading the Rails
environment. We also have to change how we require a few files, so this
can run outside of Rails.
2019-06-20 14:51:49 +02:00
Stan Hu
198f2a0b61 Use Nokogiri as the ActiveSupport XML backend
This significantly improves performance and reduces memory consumption
when parsing XML files. On a test with 124 JUnit files from a CE build,
there was about a 4x reduction in processing time.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54068
2018-11-16 00:23:36 -08:00
Lin Jen-Shin
d045df3da8 Allow CE do nothing if route doesn't exist 2018-10-26 14:27:05 +08:00
Grzegorz Bizon
e9cf1020de Improve fast specs helper to autoload the library 2018-05-11 13:33:10 +02:00
Kamil Trzciński
575302c1b9 Do not preload settings 2018-04-24 19:32:06 +02:00
Rémy Coutable
2afe3a1210
Get rid of config/initializers/2_app.rb and define Gitlab in lib/gitlab.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 16:12:19 +02:00
Rémy Coutable
5b44097cf7
Address latest feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 13:02:07 +02:00
Rémy Coutable
c286c66f57
Move Settings to its own file, isolate it from Rails and introduce Gitlab.root
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Rémy Coutable
d2aee809ed
Introduce spec/fast_spec_helper.rb to run spec files that don't rely on the whole Rails env
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00