-
Notifications
You must be signed in to change notification settings - Fork 224
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
Build: Mac: Keep the signing-related keychain unlocked #2927
Build: Mac: Keep the signing-related keychain unlocked #2927
Conversation
This fixes hanging Mac build runs in CI which got stuck as they required interactive unlocking of the keychain. This issue only became appareant after the switch to universal builds as that made the build take longer than the re-lock interval. Fixes: jamulussoftware#2925
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.
Nice; LGTM
@daryu maybe you experienced something like this too? Could you please comment? |
One other comment: why did the build hang rather than fail? Do we know? Is that something that could have been prevented and made to fail with a useful error? |
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.
If it works, it works. Subject to my other comment that's out of scope for this hot fix.
As far as I have found, it's likely not a real hang, but rather waiting for activity in a graphical dialog box, which we'll never see in the CI which is only CI-based. |
That's what I was guessing, too. Is there any way to prevent it, or a tool that better understands automated CI? |
I don't think so. The most official way seems to be Xcode, which is purely graphical. |
I remember suspecting something like that some time ago too. That was the Apple script invocation in create-dmg (GitHub fixed it on their side a while ago.) |
I think this actually didn't make the 3.9.1 cut. This is just looking at the merges since the r3_9_1 tag. |
Short description of changes
This fixes hanging Mac build runs in CI which got stuck as they required interactive unlocking of the keychain.
This issue only became appareant after the switch to universal builds as that made the build take longer than the re-lock interval.
CHANGELOG: Build: Mac: Keep the signing-related keychain unlocked
Context: Fixes an issue?
Fixes: #2925
Does this change need documentation? What needs to be documented and how?
No.
Status of this Pull Request
The fix has already been committed and tested successfully on @emlynmac's repo where I've manually modified the r3_9_1 tag to do so.
What is missing until this pull request can be merged?
Reviews.
(CI on this PR must not file, but it being successful does not prove anything either ;))
Please merge once reviews are completed.
Checklist
AUTOBUILD: Please build all targets