Hi,
I think you can run MacOS notarizations in parallel. I haven’t tried that though.
In our project we use fn-notarize-macbuild function for notarization(please note this work is derived from the work done by Ed Merks). You can call this function as
for file in <dmg files list>
do
fn-notarize-macbuild $file &
done
wait
There is another thing you can add is to have retry policy. Like if there is a problem in notarization we can try notarizing again for 3 times. This way we can reduce the chances of build failure.
Thanks
Sravan
From: Jonah Graham <jonah@xxxxxxxxxxxxxxxx>
Sent: 17 July 2020 07:08
To: Common-build Developers discussion <cbi-dev@xxxxxxxxxxx>
Subject: [EXTERNAL] [cbi-dev] Running multiple notarizations in parallel
Hi folks,
Can I run multiple macos notarizations in parallel? i.e am I allowed to, I will write the script myself to do it.
Conext is the EPP build. We need to sign 13 dmg files, each takes 10-15 minutes and that means it takes hours to run the build. Most of the time is just getting in progress messages back from the service. The additional complication is that it does fail maybe 5% of the time, but with 13 images, that means we often have builds fail. For example, it took 9 hours from when I started to try to get a good build until I got a green one (https://ci.eclipse.org/packaging/job/simrel.epp-tycho-build/). I will add a retry to the notarization as well so that the whole build does not fail for a transient problem.