-
Notifications
You must be signed in to change notification settings - Fork 0
feat: ACI-3938 Activate xcode step #2
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
SummaryThis PR adds the Activate Bitrise Build Cache for Xcode step, including the main step script, configuration files, and end-to-end testing setup. The implementation downloads and configures the Bitrise Build Cache CLI with fallback mechanisms. Walkthrough
|
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 4
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
e2e/bitrise.yml
Outdated
| inputs: | ||
| - repository_url: $TEST_APP_URL | ||
| - clone_into_dir: ./_tmp | ||
| - main: $BRANCH |
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.
🐛 Bug
Invalid parameter name 'main' for bitrise-step-simple-git-clone step. The correct parameter name should be 'branch'.
🔄 Suggestion:
| - main: $BRANCH | |
| - branch: $BRANCH |
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
e2e/bitrise.yml
Outdated
| inputs: | ||
| - repository_url: $TEST_APP_URL | ||
| - clone_into_dir: ./_tmp | ||
| - main: $BRANCH |
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.
🐛 Bug
Invalid parameter name 'main' for bitrise-step-simple-git-clone step. The correct parameter name should be 'branch'.
🔄 Suggestion:
| - main: $BRANCH | |
| - branch: $BRANCH |
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
step.sh
Outdated
| # run the Bitrise Build Cache CLI | ||
| /tmp/bin/bitrise-build-cache activate xcode --debug="$verbose" | ||
|
|
||
| source "~/.bashrc" |
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.
🐛 Bug
The literal tilde path won't expand properly in this context. The script will fail to source the bashrc file because the tilde is not expanded to the user's home directory.
🔄 Suggestion:
| source "~/.bashrc" | |
| source "$HOME/.bashrc" |
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
step.sh
Outdated
| # run the Bitrise Build Cache CLI | ||
| /tmp/bin/bitrise-build-cache activate xcode --debug="$verbose" | ||
|
|
||
| alias xcodebuild='~/.bitrise-xcelerate/bin/bitrise-build-cache-cli xcelerate xcodebuild' |
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.
🐛 Bug
Alias path mismatch will cause xcodebuild alias to fail in production. The alias points to ~/.bitrise-xcelerate/bin/bitrise-build-cache-cli but the CLI is downloaded to /tmp/bin/bitrise-build-cache.
🔄 Suggestion:
| alias xcodebuild='~/.bitrise-xcelerate/bin/bitrise-build-cache-cli xcelerate xcodebuild' | |
| alias xcodebuild='/tmp/bin/bitrise-build-cache xcelerate xcodebuild' |
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
bitrise-ip-bot
left a comment
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 3
Checklist
step.ymlandREADME.mdis updated with the changes (if needed)Version
Requires a MAJOR/MINOR/PATCH version update
Context
Changes
Investigation details
Decisions