github / gh-gei

Migration CLI for GitHub to GitHub migrations
MIT License
327 stars 88 forks source link

Update GHES generate script to accept `--use-github-storage` option #1291

Closed begonaguereca closed 2 weeks ago

begonaguereca commented 2 weeks ago

Summary

Things happening in this PR:

  1. Add --use-github-storage to the GenerateScript command
  2. Update integration tests to use --use-github-storage command

Take it for a πŸš—

export GH_PAT=<<PAT>> 
dotnet run --project src/gei/gei.csproj -- generate-script --github-source-org valet-testing --github-target-org octoshift-staging --use-github-storage true --ghes-api-url https://octoshift-ghe.westus2.cloudapp.azure.com/api/v3
github-actions[bot] commented 2 weeks ago

Unit Test Results

829 tests   829 βœ…β€ƒβ€ƒ23s ⏱️   1 suites    0 πŸ’€   1 files      0 ❌

Results for commit f4e0d8b6.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 weeks ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
gei 80% 71% 550 βœ”
ado2gh 84% 78% 627 βœ”
Octoshift 87% 76% 1298 βœ”
bbs2gh 79% 74% 666 βœ”
Summary 83% (7022 / 8410) 75% (1579 / 2098) 3141 βœ”