Commit Graph

17 Commits

Author SHA1 Message Date
Gabriel Mazetto 696a5fce68 Refactor Rainbow usage in specs
We don't test any specific string generated by it yet, so there is no
point in keeping it enabled when we are disabling it everywhere we test its output.
2018-08-16 21:31:19 +02:00
Nick Thomas 2f0f62e588
Remove an exception from the git user default SSH config check 2017-11-02 13:31:11 +00:00
Toon Claes d13669716a Create idea of read-only database
In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo
secondary node). But in GitLab CE it also might be useful to have the
"read-only" idea around. So port it back to GitLab CE.

Also having the principle of read-only in GitLab CE would hopefully
lead to less errors introduced, doing write operations when there
aren't allowed for read-only calls.

Closes gitlab-org/gitlab-ce#37534.
2017-10-06 22:37:40 +02:00
Nick Thomas 43c712f5dd
Whitelist authorized_keys.lock in the gitlab:check rake task 2017-10-02 11:25:02 +01:00
Gabriel Mazetto c505a52347 Fixed few gitlab:check tasks that were failing with exception 2017-09-25 00:34:12 +02:00
Gabriel Mazetto 2c489f8289 Refactor on namespace and repository checks and added specs 2017-09-12 06:57:22 +02:00
Sean McGivern 446c7fc6f1 Merge branch 'system-checks-incoming-email' into 'master'
Move Incoming Email checks to System Checks

See merge request !14028
2017-09-06 09:02:47 +00:00
Nick Thomas 48115be509 Add a system check for the git user's custom SSH configuration 2017-09-04 18:16:31 +01:00
Gabriel Mazetto 706d49b259 Added dynamic skip reason to SystemCheck 2017-09-04 03:58:54 +02:00
Rémy Coutable c946ee1282
Enable the Layout/SpaceBeforeBlockBraces cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-09 11:52:22 +02:00
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Gabriel Mazetto 758e020019 Disable rainbow during SimpleExecutor specs to have consistence 2017-06-27 20:20:57 +02:00
Gabriel Mazetto b0f2861c3d Make the SimpleExecutor rescue exceptions in the executing Checks 2017-06-27 17:48:04 +02:00
Gabriel Mazetto 0d4d9a6a63 Refactor and move things around to improve in YAGNI perspective 2017-05-31 20:45:00 +02:00
Gabriel Mazetto 3f187751d4 Fixed and improved some existing checks and SystemCheck library 2017-05-31 14:33:03 +02:00
Gabriel Mazetto ecdbde3d95 Improve Specs and some fixes 2017-05-31 14:33:03 +02:00
Gabriel Mazetto 45378bdd3a Added specs for BaseExecutor 2017-05-31 14:33:03 +02:00