-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
unixpb: Add Xcode11 installation tasks to Unix playbook #3197
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.
We would ideally want to ensure that if the vendor_files is not available then this does not cause a playbook failure (other people using our playbooks may not have it available). We should have some way to trap this (May be telling people to use a skip-tags option for the role telling people to install it manually, or just warning and continuing. Or maybe we should abort if the adoptopenjdk tag is not skipped)
ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml
Outdated
Show resolved
Hide resolved
The transfer process takes around 40mins. The binary is 7.6G. And this may be due to timeout reasons, but after the transfer is complete ansible hangs. It hung for about 30mins before I interrupted the execution. I'll test to see if AWX shows the same behaviour |
ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml
Outdated
Show resolved
Hide resolved
Tested this pr on test-macstadium-macos11-arm64-1. Works as expected |
Running from AWX, the transfer takes the same time as running it from my machine, around 40mins. I dont think this is too bad as we are not seeing timeout errors |
I've rolled out xcode11.7 onto the 4 arm64 mac machines |
Yeah that's fine since it's a one off and won't happen on subsequent runs of the playbook :-) |
ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml
Outdated
Show resolved
Hide resolved
I'm going to go ahead and push this as it's blocking my Orka review |
ref #2536
Xcode11.7 is required on m1 mac machines in order to cross compile x64 jdk8
Our usual method of installing xcode using
xcversion
is no longer supported https://github.com/xcpretty/xcode-install/blob/master/MIGRATION.md and is causing errors when I use it to install xcode11.7, see #2536 (comment)xcodes is another tool used to install different versions of xcode but I think it is dependent on Xcode13 which I believe requires macOS 11.3+ (our M1 machines are 11.0)