Commit Graph

50 Commits

Author SHA1 Message Date
495a5c7994 Add latest changes from gitlab-org/gitlab@17-1-stable-ee 2024-06-18 11:11:02 +00:00
58340cfe9d Add latest changes from gitlab-org/gitlab@17-0-stable-ee 2024-05-14 10:54:09 +00:00
a18fe34447 Add latest changes from gitlab-org/gitlab@16-9-stable-ee 2024-02-13 09:29:52 +00:00
5afcbe03ea Add latest changes from gitlab-org/gitlab@16-4-stable-ee 2023-09-20 11:18:08 +00:00
db384e6b19 Add latest changes from gitlab-org/gitlab@16-3-stable-ee 2023-08-18 10:50:51 +00:00
43a25d93eb Add latest changes from gitlab-org/gitlab@16-0-stable-ee 2023-05-17 16:05:49 +00:00
0c872e02b2 Add latest changes from gitlab-org/gitlab@15-7-stable-ee 2022-12-20 14:22:11 +00:00
ee664acb35 Add latest changes from gitlab-org/gitlab@15-5-stable-ee 2022-10-20 09:40:42 +00:00
b595cb0c1d Add latest changes from gitlab-org/gitlab@15-2-stable-ee 2022-07-20 15:40:28 +00:00
3cccd102ba Add latest changes from gitlab-org/gitlab@14-10-stable-ee 2022-04-20 10:00:54 +00:00
a7b3560714 Add latest changes from gitlab-org/gitlab@14-8-stable-ee 2022-02-18 09:45:46 +00:00
311b0269b4 Add latest changes from gitlab-org/gitlab@14-5-stable-ee 2021-11-18 13:16:36 +00:00
d9ab72d608 Add latest changes from gitlab-org/gitlab@14-4-stable-ee 2021-10-20 08:43:02 +00:00
e8d2c25793 Add latest changes from gitlab-org/gitlab@14-1-stable-ee 2021-07-20 09:55:51 +00:00
a5f4bba440 Add latest changes from gitlab-org/gitlab@14-0-stable-ee 2021-06-16 18:25:58 +00:00
9dc93a4519 Add latest changes from gitlab-org/gitlab@13-11-stable-ee 2021-04-20 23:50:22 +00:00
f64a639bcf Add latest changes from gitlab-org/gitlab@13-10-stable-ee 2021-03-16 18:18:33 +00:00
86a8eee1b8 Add latest changes from gitlab-org/gitlab@13-6-stable-ee 2020-12-10 14:52:44 +00:00
7e9c479f7d Add latest changes from gitlab-org/gitlab@13-6-stable-ee 2020-11-19 08:27:35 +00:00
48aff82709 Add latest changes from gitlab-org/gitlab@13-5-stable-ee 2020-10-21 07:08:36 +00:00
85dc423f70 Add latest changes from gitlab-org/gitlab@13-4-stable-ee 2020-09-19 01:45:44 +00:00
6e4e1050d9 Add latest changes from gitlab-org/gitlab@13-3-stable-ee 2020-08-20 18:42:06 +00:00
9f46488805 Add latest changes from gitlab-org/gitlab@13-0-stable-ee 2020-05-20 14:34:42 +00:00
983a0bba5d Add latest changes from gitlab-org/gitlab@12-10-stable-ee 2020-04-20 18:38:24 +00:00
39fa7d1eeb Add latest changes from gitlab-org/gitlab@master 2020-03-27 12:07:43 +00:00
736b5908da Avoid calling freeze on already frozen strings in lib 2019-09-10 08:11:43 +00:00
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
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
3ace5766e9 Use Git 2.22 for GitLab
Part of: https://gitlab.com/gitlab-org/gitaly/issues/1715
2019-08-07 14:25:58 +02:00
0ca790aff7 Bump required Ruby version check to 2.5.3
Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/58079

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60704
2019-04-18 10:15:53 -07:00
98befb5d40 Update preflight check to require 2.21 2019-04-16 14:09:45 +00:00
3288e1a874 Adds the Rubocop ReturnNil cop
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
2019-03-06 17:51:56 +02:00
cd7f2d35ae Merge branch '46950-systemcheck-use-gem-ruby-instead-of-hardcoding-ruby-version' into 'master'
SystemCheck: Use a more reliable way to detect current Ruby version

Closes #46950

See merge request gitlab-org/gitlab-ce!23291
2018-11-22 10:20:47 +00:00
e178329b45 Upgraded minimum Git version to 2.18.0 2018-11-21 22:37:08 +00:00
e94001ba89 Use a more reliable way to detect current Ruby version 2018-11-21 21:46:27 +01:00
c8755543f0 Enable even more frozen string in lib/**/*.rb
Enables frozen string for the following files:

* lib/generators/**/*.rb
* lib/gitaly/**/*.rb
* lib/google_api/**/*.rb
* lib/haml_lint/**/*.rb
* lib/json_web_token/**/*.rb
* lib/mattermost/**/*.rb
* lib/microsoft_teams/**/*.rb
* lib/object_storage/**/*.rb
* lib/omni_auth/**/*.rb
* lib/peek/**/*.rb
* lib/rouge/**/*.rb
* lib/rspec_flaky/**/*.rb
* lib/system_check/**/*.rb

Partially addresses #47424.
2018-10-08 11:16:49 -07:00
c01f81fa08 [ci skip] Fix example commands to refer to the correct versions 2018-01-31 17:02:50 +00:00
2f0f62e588 Remove an exception from the git user default SSH config check 2017-11-02 13:31:11 +00:00
2994de7590 Upgrade Ruby to 2.3.5
Part of gitlab-org/gitlab-ce#38040
2017-10-31 14:19:14 +01:00
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
43c712f5dd Whitelist authorized_keys.lock in the gitlab:check rake task 2017-10-02 11:25:02 +01:00
c505a52347 Fixed few gitlab:check tasks that were failing with exception 2017-09-25 00:34:12 +02:00
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
48115be509 Add a system check for the git user's custom SSH configuration 2017-09-04 18:16:31 +01:00
eb79e5689e Refactored app/init script check to use dynamic skip reason 2017-09-04 03:59:37 +02:00
6a56bec735 replace is_gitlab_user? with gitlab_user? 2017-08-29 11:14:41 +03:00
3f187751d4 Fixed and improved some existing checks and SystemCheck library 2017-05-31 14:33:03 +02:00
bca5603740 Fix codestyle 2017-05-31 14:33:03 +02:00
27e632758f Add ActiveUsers Check 2017-05-31 14:33:03 +02:00
13e88c9395 Refactor gitlab:app:checks to use SystemCheck 2017-05-31 14:33:03 +02:00