-
Notifications
You must be signed in to change notification settings - Fork 35
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
fix(install-chrome.sh): Chrome install not working on ARM executors #73
fix(install-chrome.sh): Chrome install not working on ARM executors #73
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.
Thanks for the contribution, I left a note in your changes
src/scripts/install-chrome.sh
Outdated
@@ -106,9 +106,9 @@ else | |||
# download chrome | |||
echo "Preparing Chrome installation for Debian-based systems" | |||
if [[ "$ORB_PARAM_CHROME_VERSION" == "latest" ]]; then | |||
ENV_IS_ARM=$(! dpkg --print-architecture | grep -q arm; echo $?) | |||
ENV_IS_ARM=$(dpkg --print-architecture | grep arm64) |
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.
I just tried test running these changes and now most of the tests are failing, I think that this line should go back to how it was originally but replacing line 111 with if [ "$ENV_IS_ARM" == "1" ]; then
would fix this issue
I figured out google doesn't even publish google-chrome-stable for arm64, I think we should exit with an error saying it isn't supported |
If you would like to make that change on this PR I can get that merged in, otherwise I can just close this PR out. |
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 to me
If I understand correctly, we should be able to install Chrome on ARM when this issue is resolved, no? |
Chrome arm issue: GoogleChromeLabs/chrome-for-testing#1 browser-tools arm issue: CircleCI-Public/browser-tools-orb#73
Checklist
Motivation, issues
Chrome installations on ARM executors fails due to a bad architecture check causing it to use amd64 instead of arm64
Description
Fixed ENV_IS_ARM variable