Skip to content

Conversation

@havebeenfitz
Copy link
Collaborator

Simplified the CI setup.

  • Now we can pass the App Store Connect API key as an environment variable. Thought I did it but no, hallucinated it.
  • Added compatibility for altool uploader
  • Generated some test coverage. It's naive for now, will improve it every other PR hopefully

Copilot AI review requested due to automatic review settings November 4, 2025 14:33
@havebeenfitz havebeenfitz self-assigned this Nov 4, 2025
Copy link
Contributor

Copilot AI left a 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>
Copilot AI review requested due to automatic review settings November 4, 2025 15:04
Copy link
Contributor

Copilot AI left a 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.

@havebeenfitz
Copy link
Collaborator Author

Just fixed some logs for shell commands here platacard/corredor#4

@havebeenfitz havebeenfitz merged commit 1b92a13 into main Nov 4, 2025
4 checks passed
@havebeenfitz havebeenfitz deleted the feature/env-private-key branch November 4, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants