-
Notifications
You must be signed in to change notification settings - Fork 0
feat: get API private key from environment #24
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
Conversation
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.
Pull Request Overview
This PR simplifies CI setup by enabling the App Store Connect API private key to be passed as an environment variable and adds altool uploader compatibility.
Key changes:
- Modified JWT provider to accept private key as base64-encoded string from environment variable instead of reading from file system
- Added altool uploader compatibility with new authentication options
- Generated comprehensive test coverage for all domain modules
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Sources/Core/ASCCredentials/ASCCredentialsTrait.swift | Added apiPrivateKey property to read from APPSTORE_CONNECT_API_PRIVATE_KEY environment variable |
| Sources/Domain/JWTProvider/JWTProvider.swift | Updated to accept private key as base64 string parameter instead of reading from file |
| Sources/Domain/Uploader/Implementations/AltoolUploader.swift | Added apiPrivateKey support and AuthOption enum for altool authentication |
| Sources/Domain/Uploader/AppStoreConnectUploader.swift | Removed duplicate AuthOption enum definition |
| Sources/Domain/BlimpKit/Stages/3_Approach.swift | Updated import from Transporter to Uploader module |
| Sources/CLI/BlimpCLI/Subcommands/Approach.swift | Updated import from Transporter to Uploader module |
| Package.swift | Renamed Transporter module to Uploader and added JWTProvider tests |
| Tests/Domain/Uploader/UploaderTests.swift | Added comprehensive test coverage for uploader functionality |
| Tests/Domain/JWTProvider/JwtProvider.swift | Added comprehensive test coverage for JWT provider functionality |
| Tests/Domain/BlimpKit/BlimpTests.swift | Added comprehensive test coverage for BlimpKit functionality |
| Tests/Core/DeployHelpers/PlistHelpersTests.swift | Added additional test cases for plist helper functionality |
| Tests/Domain/Transporter/TransporterTests.swift | Removed placeholder test file |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Just fixed some logs for shell commands here platacard/corredor#4 |
Simplified the CI setup.