You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,6 @@ Please note that this project is released with a [Contributor Code of Conduct](C
8
8
9
9
Here's some helpful notes on how to contribute to this project, including details on how to get started working the codebase.
10
10
11
-
## How to submit a bug or request a feature
12
-
13
-
If you think you've found a bug or have a great idea for new functionality please create an issue in this repo.
14
-
15
-
## How to provide feedback or ask for help
16
-
17
-
Use the [Discussions](https://github.com/github/gh-actions-importer/discussions) tab in this repo for more general feedback or any questions/comments on this tooling.
18
-
19
11
## Configure your development environment
20
12
21
13
To get started, you'll need [.NET Core 6.0](https://dotnet.microsoft.com/en-us/download) installed on your local machine.
@@ -37,7 +29,3 @@ Code linting can be run using the following command:
37
29
```bash
38
30
$ dotnet format src/ActionsImporter.sln
39
31
```
40
-
41
-
## Submitting a Pull Request
42
-
43
-
Before submitting a Pull Request please first open an issue to get feedback on the change you intend to submit.
[GitHub Actions Importer](https://docs.github.com/en/actions/migrating-to-github-actions/automating-migration-with-github-actions-importer) helps plan, forecast, and automate the migration of Azure DevOps, CircleCI, GitLab, Jenkins, and Travis CI pipelines to GitHub Actions. This repository provides functionality that extends the [GitHub CLI](https://cli.github.com/) to migrate pipelines using the GitHub Actions Importer.
6
-
7
-
> **Note**: Sign up [here](https://github.com/features/actions-importer/signup) to request access to the public preview for GitHub Actions Importer. Once you are granted access you'll be able to use the `gh-actions-importer` CLI extension
8
-
9
-
You can request support [here](https://support.github.com/contact?tags=actions_importer_beta) on a best-effort basis during the public preview period.
10
-
11
-
## Supported platforms
12
-
13
-
GitHub Actions Importer currently supports migrating pipelines to GitHub Actions from the following platforms:
5
+
[GitHub Actions Importer](https://docs.github.com/en/actions/migrating-to-github-actions/automating-migration-with-github-actions-importer) helps plan, test, and automate your migration to GitHub Actions from the following platforms:
14
6
15
7
- Azure DevOps
16
8
- CircleCI
17
9
- GitLab
18
10
- Jenkins
19
11
- Travis CI
20
12
21
-
You can find detailed information about how the GitHub Actions Importer works for each of the supported platforms in the documentation that is available once you are granted access.
22
-
23
-
## Getting started with GitHub Actions Importer
13
+
## Getting started
24
14
25
15
GitHub Actions Importer is distributed as a Docker container and this extension to the official [GitHub CLI](https://cli.github.com) to interact with the Docker container.
26
16
27
17
### Prerequisites
28
18
29
19
The following requirements must be met to be able to use the GitHub Actions Importer:
30
20
31
-
- The Docker CLI must be [installed](https://docs.docker.com/get-docker/) and running
32
-
- The official [GitHub CLI](https://cli.github.com) must be installed
33
-
- You must have credentials to [authenticate](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry) with the GitHub Container Registry after you are granted access.
21
+
- The Docker CLI must be [installed](https://docs.docker.com/get-docker/) and running.
22
+
- The official [GitHub CLI](https://cli.github.com) must be installed.
23
+
- You must have credentials to [authenticate](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry) with the GitHub Container Registry.
34
24
35
25
### Installation
36
26
@@ -40,26 +30,9 @@ Next, the GitHub Actions Importer CLI extension can be installed via this comman
40
30
$ gh extension install github/gh-actions-importer
41
31
```
42
32
43
-
To verify the extension is installed, run this command:
44
-
45
-
```bash
46
-
$ gh actions-importer -h
47
-
Options:
48
-
-?, -h, --help Show help and usage information
49
-
50
-
Commands:
51
-
update Update to the latest version of the GitHub Actions Importer.
52
-
version Display the version of the GitHub Actions Importer.
53
-
configure Start an interactive prompt to configure credentials used to authenticate with your CI server(s).
54
-
audit Plan your CI/CD migration by analyzing your current CI/CD footprint.
55
-
forecast Forecast GitHub Actions usage from historical pipeline utilization.
56
-
dry-run Convert a pipeline to a GitHub Actions workflow and output its yaml file.
57
-
migrate Convert a pipeline to a GitHub Actions workflow and open a pull request with the changes.
58
-
```
59
-
60
33
### Configuration
61
34
62
-
New versions of the GitHub Actions Importer are released on a regular basis. To ensure you're always up to date, the following command should be run often:
35
+
New versions of the GitHub Actions Importer are released on a regular basis. To ensure you're up to date, run the following command:
In order for the GitHub Actions Importer to communicate with your current CI/CD server and GitHub, various credentials must be available for the command. These can be configured using environment variables or a `.env.local` file. These environment variables can be configured in an interactive prompt by running the following command:
47
+
In order for GitHub Actions Importer to communicate with your current CI/CD server and GitHub, various credentials must be available for the command. These can be configured using environment variables or a `.env.local` file. These environment variables can be configured in an interactive prompt by running the following command:
75
48
76
49
```bash
77
50
$ gh actions-importer configure
78
51
? Enter value for'GITHUB_ACCESS_TOKEN' (leave empty to skip):
79
52
...
80
53
```
81
54
82
-
You can find detailed information about using environment variables in the documentation that is available once you are granted access.
83
-
84
-
### Usage
85
-
86
-
Now that the GitHub Actions Importer is configured and up-to-date, different subcommands of `gh actions-importer` can be used to migrate to GitHub Actions.
87
-
88
-
#### Audit
89
-
90
-
The `audit` subcommand can be used to plan your CI/CD migration by analyzing your current CI/CD footprint. This analysis can then be used to plan timelines for migrating to GitHub Actions.
91
-
92
-
To run an audit, use the following command to determine the options that are relevant to your use case:
93
-
94
-
```bash
95
-
$ gh actions-importer audit -h
96
-
Description:
97
-
Plan your CI/CD migration by analyzing your current CI/CD footprint.
98
-
99
-
[...]
100
-
101
-
Commands:
102
-
azure-devops An audit will output a list of data used in an Azure DevOps instance.
103
-
circle-ci An audit will output a list of data used in a CircleCI instance.
104
-
gitlab An audit will output a list of data used in a GitLab instance.
105
-
jenkins An audit will output a list of data used in a Jenkins instance.
106
-
travis-ci An audit will output a list of data used in a Travis CI instance.
107
-
```
108
-
109
-
You can find detailed information about running an audit with the GitHub Actions Importer in the documentation that is available once you are granted access to the public preview.
110
-
111
-
#### Forecast
112
-
113
-
The `forecast` subcommand can be used to forecast GitHub Actions usage based on historical pipeline usage.
114
-
115
-
To run a forecast, use the following command to determine the options that are relevant to you:
55
+
You can find detailed information about using environment variables in the platform-specific documentation.
116
56
117
-
```bash
118
-
$ gh actions-importer forecast -h
119
-
Description:
120
-
Forecasts GitHub Actions usage from historical pipeline utilization.
jenkins Forecasts GitHub Actions usage from historical Jenkins pipeline utilization.
127
-
gitlab Forecasts GitHub Actions usage from historical GitLab pipeline utilization.
128
-
circle-ci Forecasts GitHub Actions usage from historical CircleCI pipeline utilization.
129
-
travis-ci Forecasts GitHub Actions usage from historical Travis CI pipeline utilization.
130
-
github Forecasts GitHub Actions usage from historical GitHub pipeline utilization.
131
-
```
57
+
### Documentation
132
58
133
-
You can find detailed information about running a forecast with the GitHub Actions Importer in the documentation that is available once you are granted access to the public preview.
59
+
Detailed information about how to use GitHub Actions Importer can be found in the [documentation](https://docs.github.com/en/actions/migrating-to-github-actions/automating-migration-with-github-actions-importer).
134
60
135
-
#### Dry run
61
+
###Recordings
136
62
137
-
The `dry-run` subcommand can be used to convert a pipeline to its GitHub Actions equivalent and write the workflow to your local filesystem.
63
+
You can access recorded demos of GitHub Actions Importer performing migrations to Actions from the following CI/CD platforms:
64
+
-[Azure DevOps](https://youtu.be/gG-2bkmBRlI)
65
+
-[CircleCI](https://youtu.be/YkFnNEyM9Hg)
66
+
-[GitLab](https://youtu.be/3t5ywu0_qk4)
67
+
-[Jenkins](https://youtu.be/WqiGP6h4fa0)
68
+
-[Travis CI](https://youtu.be/ndc-FNa_X3c)
138
69
139
-
To run a dry run, use the following command to determine the options that are relevant to you:
70
+
### Self-guided learning
140
71
141
-
```bash
142
-
$ gh actions-importer dry-run -h
143
-
Description:
144
-
Convert a pipeline to a GitHub Actions workflow and output its yaml file.
145
-
146
-
[...]
147
-
148
-
Commands:
149
-
azure-devops Convert an Azure DevOps pipeline to a GitHub Actions workflow and output its yaml file.
150
-
circle-ci Convert a CircleCI pipeline to GitHub Actions workflows and output the yaml file(s).
151
-
gitlab Convert a GitLab pipeline to a GitHub Actions workflow and output the yaml file.
152
-
jenkins Convert a Jenkins job to a GitHub Actions workflow and output its yaml file.
153
-
travis-ci Convert a Travis CI pipeline to a GitHub Actions workflow and output its yaml file.
154
-
```
72
+
The GitHub Actions Importer labs repository contains platform-specific learning paths that teach you how to use GitHub Actions Importer and how to approach migrations to GitHub Actions. To learn more, see the [GitHub Actions Importer labs repository](https://github.com/actions/importer-labs/tree/main#readme).
155
73
156
-
You can find detailed information about running a dry run with the GitHub Actions Importer in the documentation that is available once you are granted access to the public preview.
74
+
## Product roadmap
157
75
158
-
#### Migrate
76
+
To learn about new features coming to GitHub Actions Importer, see the [GitHub Public Roadmap](https://github.com/orgs/github/projects/4247).
159
77
160
-
The `migrate` subcommand can be used to convert a pipeline to its GitHub Actions equivalent and then create a pull request with the contents.
78
+
## How to offer feedback or make a feature request
161
79
162
-
To run a migration, use the following command to determine the options that are relevant to your use case:
163
-
164
-
```bash
165
-
$ gh actions-importer migrate -h
166
-
Description:
167
-
Convert a pipeline to a GitHub Actions workflow and open a pull request with the changes.
168
-
169
-
[...]
170
-
171
-
Commands:
172
-
azure-devops Convert an Azure DevOps pipeline to a GitHub Actions workflow and open a pull request with the changes.
173
-
circle-ci Convert a CircleCI pipeline to GitHub Actions workflows and open a pull request with the changes.
174
-
gitlab Convert a GitLab pipeline to a GitHub Actions workflow and open a pull request with the changes.
175
-
jenkins Convert a Jenkins job to a GitHub Actions workflow and open a pull request with the changes.
176
-
travis-ci Convert a Travis CI pipeline to a GitHub Actions workflow and and open a pull request with the changes.
177
-
```
80
+
If you would like to offer feedback or make a feature request, please create a new discussion [here](https://github.com/github/gh-actions-importer/discussions/new/choose).
178
81
179
-
You can find detailed information about running a migration with the GitHub Actions Importer in the documentation that is available once you are granted access to the public preview.
82
+
## How to request support
83
+
If you need further assistance, you can file a support ticket [here](https://support.github.com).
0 commit comments