When testing nightly build on Mac OS, bit are not signed. This might require local dummy signing of the installed app in order to execute the application on the system. On the other hand, if tested bits are signed, we must not resign the bits as the signature will become invalid.
Add new parameter to the script/tkn image parameters which will control local signing of the installed app.
New param signApp, which will be false by default.
If it is false then remove quarantine parameter xattr -dr com.apple.quarantine, since the app from internet has this attribute set and in automated testing this cannot be done via UI.
If it is true, then sign locally the installed app: sudo codesign --force --deep --sign - "app".
When testing nightly build on Mac OS, bit are not signed. This might require local dummy signing of the installed app in order to execute the application on the system. On the other hand, if tested bits are signed, we must not resign the bits as the signature will become invalid.
Add new parameter to the script/tkn image parameters which will control local signing of the installed app.
New param
signApp, which will befalseby default.If it is
falsethen remove quarantine parameterxattr -dr com.apple.quarantine, since the app from internet has this attribute set and in automated testing this cannot be done via UI.If it is
true, then sign locally the installed app:sudo codesign --force --deep --sign - "app".