Commit graph

13 commits

Author SHA1 Message Date
Lin Jen-Shin
07d3d44775 Move ModuleWithInstanceVariables to Gitlab namespace
And use .rubocop.yml to exclude paths we don't care,
rather than using the cop itself to exclude.
2017-11-22 17:06:57 +08:00
Lin Jen-Shin
9ac0c76b78 Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
Lin Jen-Shin
9ae92b8caa Add cop to make sure we don't use ivar in a module 2017-09-18 21:23:45 +08:00
Rémy Coutable
29c268ee4e
Enable RSpec profiling only if RSPEC_PROFILING_POSTGRES_URL is not empty
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-19 12:15:49 +02:00
Stan Hu
e08130223c Revert "Merge branch 'fix-rspec_profiling-establish_connection-string-deprecation' into 'master'"
This reverts merge request !11150
2017-05-07 22:35:20 +00:00
Luke "Jared" Bennett
e6f008bb84 Cast ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection call of rspec_profiling.rb 2017-05-07 15:34:27 +00:00
Rémy Coutable
fe57708e6a Resolve "rspec_profiling is enabled for MySQL" 2017-04-28 18:05:39 +00:00
Lin Jen-Shin
76e7d2564d Set profiler only for postgresql not mysql
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812609
2017-04-10 19:21:45 +08:00
Rémy Coutable
f23b35b012
RSpec profiling: Prepend the branch name with ce or ee
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-24 19:57:27 +01:00
Z.J. van de Weg
3ebd29b538 Futher rename the CI variables 2017-03-16 08:49:01 +01:00
Nick Thomas
b1116a9018 Swallow collection errors in RspecProfiling 2017-03-07 16:21:59 +00:00
Nick Thomas
fd38397027 rspec_profiling: Discover the correct branch name in GitLab CI 2017-02-10 15:34:23 +00:00
Nick Thomas
f83b8bd42c Add the rspec_profiling gem and documentation to the GitLab development environment 2017-01-27 12:41:16 +00:00