Commit graph

8 commits

Author SHA1 Message Date
Patrick Bajao
a1ec2ad0b2 Auto create authorized_keys file if doesn't exist
Utilize the auto repair functionality of system checks.
2019-08-29 16:33:04 +08:00
Patrick Bajao
b047359de5 Refactor specs to use one-liner expectation 2019-08-29 16:33:04 +08:00
Patrick Bajao
0e33f16b5f Add system check for authorized_keys file perm
This check is being removed from gitlab-shell as the file
is now being managed by gitlab-rails.
2019-08-29 16:33:04 +08:00
Thong Kuah
8c42a0eac0 Add frozen_string_literal to lib part 2
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-08-23 00:15:24 +12: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
Nick Thomas
48115be509 Add a system check for the git user's custom SSH configuration 2017-09-04 18:16:31 +01:00