Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Answers
/
Import Data into GitHub
Updated Nov 13, 2023

    Import Data into GitHub

    Nov 13, 2023

    Import Repositories

    Code itself, including branches, and commit history can be imported using the GitHub import tool. In Gitlab create a personal access with read only abilities and when prompted give the GitHub form your username and the GitLab token. Note: does not import non-core-git things like CI/CD setup.   

    https://github.com/new/import  

    Importing CI/CD

    From Gitlab: Gitlab and GitHub use different syntax for structuring CI/CD pipelines, in GitHub called “actions ”. These are incompatible, and require the use of GitHub Action  importer to translate or be re-written.   

    The GitHub Action Importer   can read in CI/CD pipelines but it’s not perfect.   

    The importer requires an GitHub access token with write access to the repositories you want and your Gitlab token (read access only).   

    The setup can take some time but once setup it works. Unfortunately, it does not auto load secret keys values and they have to be manually created. Many of the repos use docker login to log into GitLab docker repository and build the project and to push them . This action, at least the pushing and receiving is here: https://github.com/docker/login-action and it may be worth to just rebuild the simpler ones instead of re-doing actions. 

    , multiple selections available,
    com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'ivy-ai' is unknown.
    Answers Knowledge Base
    Teams
    , (opens new window)

    Information Technology Support
    • How-to articles
      How-to articles
       This trigger is hidden
    Results will update as you type.
    • Campus Departments
    • Campus Living
    • Email (SUMail)
    • General Computing
    • Networks at Syracuse University
    • Printing
    • Remote Access
    • Schools & Colleges
    • Services and Applications
      • MySlice
      • University Events with Technology Supported by ITS
      • Orange Tracker
      • 2U Support Services
      • Adobe at Syracuse University
      • Answers
      • Campus Map (Concept3D)
      • Cisco IP Phone Support
      • Expressions
      • GET - Managing Your Campus Money, Food & More
      • Syracuse University Google Workspace for Education Service
      • How-to articles
      • ITS Computer Labs
      • ITS Faculty and Staff Services
      • ITS Student Services
      • Kaltura at Syracuse University
      • IT Learning Opportunities
      • LinkedIn Learning at Syracuse University
      • Microsoft 365 at Syracuse University
      • SU Today
      • Web Conferencing Solutions
      • Zoom at Syracuse University
      • Orange Safe App
      • GitHub at Syracuse University
        • Creating a GitHub account
        • GitHub File Management
        • GitHub Notifications
        • GitHub Passkey Setup
        • GitHub Repository
        • GitHub Team
        • GitHub Use Case Guides
        • Import Data into GitHub
      • Listserv at Syracuse University
      • OrangeNow
      • OrangeAccess
    • Teaching and Learning
    • Directory - office location for main campus faculty and staff
      Calendars
    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 8, "requestCorrelationId": "d2004907d82447748fd13b060011954a"}