Skip to content

Add rake jobs to test if `resque.yml` and `cable.yml` exist

Jörg Behrmann requested to merge behrmann/gitlab:cablerake into master

What does this MR do and why?

The recent issues #384332 (closed), #384902 (closed) and #381311 (closed) were caused by a missing config/cable.yml. This MR adds rake checks for both cable.yml and resque.yml

How to set up and validate locally

  1. Copy the files to their respective locations in lib/system_check
  2. run sudo -u git -H bundle exec rake gitlab:shell:setup RAILS_ENV=production

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

@kerrizor Only during writing this MR text I saw in #381311 (comment 1198955323) that you wanted to add this. I haven't seen any MR on this yet, so I hope this work doesn't get done twice. @patrickbajao

Merge request reports