Bitbucket: Import LFS objects
What does this MR do and why?
Imports LFS objects from Bitbucket Cloud.
How to set up and validate locally
- Follow https://docs.gitlab.com/ee/integration/bitbucket.html to setup OAuth for BitBucket Cloud. You will need an account on https://bitbucket.org/. Make sure you add the bitbucket configuration in the
development
section of yourconfig/gitlab.yml
and do agdk restart
development:
<<: *base
omniauth:
providers:
- { name: 'bitbucket',
app_id: '...',
app_secret: '...' }
-
Create a project and repo on BitBucket.
-
Follow the instructions to setup LFS for the bitbucket repo and add a large file.
-
Enable the feature flag:
Feature.enable(:bitbucket_parallel_importer)
-
On your gdk server, create a new project > click on
Import project
>Bitbucket Cloud
> follow instructions to connect to https://bitbucket.org/. -
Import the project created in step 2.
-
Verify that the large file was imported and it indicates LFS type.
-
You can also view the importer logs to see when each step was executed or if there are errors:
tail -f log/importer.log
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #412614 (closed)