-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove useGithubStorage from GHES version checker method #1295
Conversation
src/gei/Commands/GenerateScript/GenerateScriptCommandHandler.cs
Outdated
Show resolved
Hide resolved
src/gei/Commands/GenerateScript/GenerateScriptCommandHandler.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Arin Ghazarian <[email protected]>
Co-authored-by: Arin Ghazarian <[email protected]>
Co-authored-by: Arin Ghazarian <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So once the two comments are addressed it should be all good to go the only missing thing is that I forgot to mention is the INT tests for --use-github-storage
are only testing a single part upload so it'd be ideal if there is one additional test for testing a multipart upload. Moving forward here are our options:
- Don’t add a test but run a manual functional test with a large archive > 1gb to make sure it 100% works (not recommended)
- Add a new INT test that uses a pre-existing archive > 100MiB (this can be a new INT test not the Basic one that doesn’t download the archive and uses an existing one and we just need to test
--use-github-storage
scenario) (recommended) - if creating a > 100 MiB archive is not easily possible we can add a new test but change the archvie limit from 100 to say 10 MiB just to test the multipart upload.
Unit Test Results834 tests 834 ✅ 23s ⏱️ Results for commit edf8870. ♻️ This comment has been updated with latest results. |
Co-authored-by: Arin Ghazarian <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just dropped a non-blocking nit.
src/OctoshiftCLI.Tests/gei/Commands/MigrateRepo/MigrateRepoCommandHandlerTests.cs
Outdated
Show resolved
Hide resolved
…mandHandlerTests.cs Co-authored-by: Arin Ghazarian <[email protected]>
Co-authored-by: Dylan Smith <[email protected]>
Closes https://github.ghe.com/github/octoshift/issues/9649!
This pull request simplifies the method calls to AreBlobCredentialsRequired by removing the boolean parameter that checks for gitHubOwnedStorage.
While this produces the correct result, it is confusing for a reader. This PR refactors out that logic and adds the checks in the correct spots.
ThirdPartyNotices.txt
(if applicable)