Service for moving the blog post from private to public repository
Overview
When the blog post is ready to be published, if it is a security blog post, it will exist on https://gitlab.com/gitlab-org/security/www-gitlab-com. We need to create a new MR on the public repository: https://gitlab.com/gitlab-com/www-gitlab-com.
This issue should set up a service that takes an MR of type ReleaseTools::MergeRequest
on the security mirror and opens a copy of it on the public repository. It should return the newly created merge request as a ReleaseTools::MergeRequest
object.
Implemented
Used ReleaseTools::RemoteRepository
to execute git
commands to fetch the commits from security mirror and push them to the canonical mirror. Then create the MR using the API.
Edited by Reuben Pereira