Operations 6 min read

Migrate GitLab Repositories to Alibaba Cloud Codeup in Three Simple Steps

GitLab.com will stop service for China regions, and Alibaba Cloud Codeup offers both a three‑click web import and a CLI tool for bulk migration, providing detailed steps, configuration examples, and AI‑enhanced code management to ensure a smooth transition of your code assets.

Alibaba Cloud Native
Alibaba Cloud Native
Alibaba Cloud Native
Migrate GitLab Repositories to Alibaba Cloud Codeup in Three Simple Steps

GitLab.com announced that it will discontinue service for users in Mainland China, Hong Kong, and Macau, offering a 60‑day transition period. To support affected developers, Alibaba Cloud’s Codeup (云效) provides migration options, including a quick web‑based import and a command‑line tool for large‑scale transfers.

What is Codeup?

Codeup is Alibaba Cloud’s integrated DevOps platform covering the full software development lifecycle: requirement management, test management, code hosting, CI/CD, artifact management, and application delivery. It offers built‑in code review, automated linting, security scanning, powerful search, and AI‑assisted coding features such as real‑time code completion, test generation, and documentation assistance.

Three‑Step Web Import

Log in to the Codeup code management homepage and click the Import Repository button in the upper‑right corner.

Generate a GitLab Access Token (see the “Access Token how‑to” link) and provide it when prompted.

Select the desired GitLab repository from the list and confirm the import.

CLI Tool for Bulk or Large Repositories

When migrating hundreds of repositories or repos larger than 1 GB, the web import can be slow. Codeup provides a local CLI migration tool that supports batch migration from multiple Git platforms, preserving source code, branches, commits, and tags.

Download and install the migration CLI (see the “Install Local Migration Tool” link).

Create a YAML configuration file that defines the source platform (e.g., GitLab) and the target platform (Codeup), along with authentication details.

Specify the list of repositories to migrate, either inline or via a CSV file.

Run the CLI with a single command; the tool will execute the migration and output the results.

import:
  source:
    platform: common
    localSSHKeyPath: /Users/my/.ssh/id_rsa
  target:
    platform: codeup
    apiEndpoint: devops.cn-hangzhou.aliyuncs.com
    accessToken: xxxxx
    host: codeup.aliyun.com
    accessKey: xxxxx
    secretKey: xxxxx
    orgID: xxxxx
    localSSHKeyPath: /Users/my/.ssh/id_rsa
# projectlistpath: path to CSV file listing repositories to migrate
projectlistpath: projects.csv
# workdir: temporary working directory, cleaned after migration
workdir: /Users/my/workspace

For detailed parameter explanations, refer to the “Common Third‑Party Code Platform Migration” documentation.

Additional resources:

Codeup homepage: https://codeup.aliyun.com/

How to obtain an Access Token: https://help.aliyun.com/zh/yunxiao/user-guide/how-to-get-an-access-token

Install the local migration tool: https://help.aliyun.com/zh/yunxiao/user-guide/install-the-local-migration-tool

Common third‑party migration guide: https://help.aliyun.com/zh/yunxiao/user-guide/common-tripartite-code-platform-migration

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

migrationCLIcloud-nativeDevOpsGitLabCodeup
Alibaba Cloud Native
Written by

Alibaba Cloud Native

We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.