Giter Club home page Giter Club logo

github-actions-importer's Introduction

๐Ÿ“‘ GitHub-Actions-Importer

๐Ÿ“‹ Install instructions

Prerequisite

Authenticate with a GitHub host

gh auth login
? What account do you want to log into?  [Use arrows to move, type to filter]
> GitHub.com
 GitHub Enterprise Server  
? What is your preferred protocol for Git operations?  [Use arrows to move, type to filter]
 HTTPS
> SSH
? Upload your SSH public key to your GitHub account?  [Use arrows to move, type to filter]  
> <path>/.ssh/<Key>.pub
 Skip
? Upload your SSH public key to your GitHub account? <path>/.ssh/<Key>.pub
? Title for your SSH key: (GitHub CLI) <Year>-GitHubCli-<OS>-<User>@<MachineName>

? Title for your SSH key: <Year>-GitHubCli-<OS>-<User>@<MachineName>
? How would you like to authenticate GitHub CLI?  [Use arrows to move, type to filter]
> Login with a web browser
 Paste an authentication token

! First copy your one-time code: XXXX-YYYY
Press Enter to open github.com in your browser... 
โœ“ Authentication complete.
- gh config set -h github.com git_protocol ssh
โœ“ Configured git protocol
โœ“ Uploaded the SSH key to your GitHub account: <path>/.ssh/<Key>.pub
โœ“ Logged in as <GitHub UserName>

Install the Actions Importer CLI extension

gh extension install github/gh-actions-importer

Validate installation

gh actions-importer -h

Configure

gh actions-importer configure

NOTE: Selecting each option will prompt for configurations and Personal Access Token (PAT) information.

? Which CI providers are you configuring?: Hit <space> to select, <ctrl+a> to toggle all, <ctrl+i> to invert selection
 โ—‰ Azure DevOps
 โ—‰ CircleCI
 โ—‰ GitLab CI
 โ—‰ Jenkins
 โ—‰ Travis CI

Update

gh actions-importer update

Usage

GitHub Actions Importer provides an audit command that is designed to help analyze the complexity of a potential migration, which can be used to formulate a migration plan. This command will fetch all of the pipelines defined in a specified scope of the existing CI/CD environment, attempt a conversion of these pipelines to their equivalent workflow, and write a summary report with statistics gathered from the audit.

gh actions-importer audit jenkins --output-dir .

You can use the dry-run command to convert an existing pipeline to its equivalent GitHub Actions workflow. The console output of the command will list the path to the file or files that GitHub Actions Importer generated. Before migrating, you should perform a dry run of a pipeline and validate the contents are suitable. gh actions-importer dry-run jenkins --source-url $SOURCE_URL --output-dir

gh actions-importer dry-run jenkins --source-url $SOURCE_URL --output-dir 

โญ Resources

github-actions-importer's People

Contributors

ahsenbaig avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.