Unpatch GitLab.com's GitHub importer changes once testing is done
GitLab.com has been patched to enable the new GitHub importer (hidden behind a feature flag) that will be added with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14731.
Once testing is done these changes should be undone by:
- Stopping Sidekiq (for good measurement, though technically not necessary)
- Running
knife ssh -aipaddress 'role:gitlab-base-deploy-node OR roles:gitlab-base-be OR roles:gitlab-base-fe 'sudo patch -p1 -R -s -d /opt/gitlab/embedded/service/gitlab-rails < /tmp/importer.patch'
(or revert them using https://gitlab.com/gl-infra/gitlab-patcher with the changes from https://dev.gitlab.org/gitlab/post-deployment-patches/merge_requests/6) - HUP'ing Unicorn, restarting mailroom, and starting Sidekiq again
Edited by Yorick Peterse