Skip to content

Fix mirrors that have invalid SSH public auth mode set

Stan Hu requested to merge sh-migrate-invalid-auth-modes into master

From https://gitlab.com/gitlab-org/gitlab-ce/issues/55729, there are more than 129 pull mirrors that have an invalid auth set because the user may have had previously configured the mirror with SSH credentials. This post-deploy migration switches any pull mirrors to password mode that fall under the criteria:

  1. They are using SSH public key auth
  2. They have an import_url that starts with http

Merge request reports