This workflow is meant to provide guidance on when GitLab Team members might offer to import projects on behalf of customers or prospects as a courtesy, and the process for doing the imports.
Due to the shifting nature of what issues might be relevant, the specifics of this workflow may change.
The Support Team can offer to import a few projects as a best effort courtesy, but anything complex with a hundreds of users or projects is out of scope. These users should be referred to Professional Services.
The requestor should be an existing customer or a prospect.
The import was attempted and failed one or more times.
The import method is a GitLab project export file.
Due to CE issue #52956, users with large projects (~1GB+) will often see partial imports.
When in doubt, file an issue in dotcom-escalations and ask for a manager's input. If a manager approves, proceed with the import or if it requires console access, mark as SE Escalation.
Before offering to do the import, verify the following:
User is a group owner.
User has rights to create new projects in the space.
If not verified, let the user know we might be able to offer an import, but a group owner needs to contact us or they need to adjust their settings (depending on which of the above is not verified).
Gather Information and Export
Offer for the GitLab team to do an import on their behalf as a courtesy.
Ask the user to:
confirm the group where the project should be imported.
confirm no project currently exists in the namespace with the project's name.
provide a copy of their project's export. Recommended sites: send.firefox.com (up to 1GB, expires after 24 hours), wetransfer.com (up to 2 GB).
Depending on the case:
Correctly mapped users: that all users have accounts on GitLab.com with matching email address.
No user mapping: provide the username for items to be attributed to.
When receiving the project export: download, and ensure it unpacks. If not, ask the user for another copy.
For correctly mapped users only:
Pull out the email addresses in the export using something like cat project.json | jq '.project_members.user.email'
Verify that the email addresses all exist on GitLab.com and that they have permissions in the group level namespace the import is happening in. If not, respond to the customer with the list of email addresses not in GitLab.com.
Keep a copy of this list for the import template below.
Assuming success, respond to the user that we have the export and will send an update when the import is complete.
Review Export and Request Import
Fill in the import template on the infra issue tracker with all necessary information including a link to the export and the ZD link for reference.
Delete any local copies of the export.
For correctly mapped users only: Fill out an access request template on the access-requests tracker for admin level access to perform the import.
A message will be sent to #announcements channel on Slack when done.
Ensure the export file is deleted.
Let the user know the import is done and they should double check its completeness.