Confirmed users
3,990
edits
m (→Introduction) |
No edit summary |
||
| Line 1: | Line 1: | ||
NOTE: This is a | NOTE: This is only meant for a quick read and be able to move fast when your previous knowledge to the system is limited.For full and formal documentation please read [https://mana.mozilla.org/wiki/display/IT/Product+Signing Mana's Product Signing] (credentials required) and [https://intranet.mozilla.org/RelEngWiki/index.php/Signing Internal Signing page] (credentials required). | ||
NOTE: This is '''exploratory documentation'''. It could be wrong. | |||
= Introduction = | = Introduction = | ||
Signing servers use [[ReleaseEngineering/How_To/Restart_Redis|redis]] to share the valid tokens amongst the different | Signing servers use [[ReleaseEngineering/How_To/Restart_Redis|redis]] to share the valid tokens amongst the different server (quoting bhearsum)s. | ||
Build machines, before they upload their files to FTP or S3, need their build files signed. | Build machines, before they upload their files to FTP or S3, need their build files signed. | ||
The per-check-in and nightly builds | The per-check-in and nightly builds submit the files that need signing to the signing servers, however, they initially need to request a valid token. | ||
== Download token == | == Download token == | ||
The builds have a step called "download token". | |||
In this step the buildbot master will contact one of the signing servers, receive back a signing token, and download it to the build machine. | In this step the buildbot master will contact one of the signing servers, receive back a signing token, and download it to the build machine. | ||
| Line 21: | Line 20: | ||
</pre> | </pre> | ||
The signing server will recognize the token as valid since it had issued earlier. | The signing server will recognize the token as valid since it had issued it earlier. | ||
I believe the upload step will rotate through the list of signing servers until it finds the one that will accept the token on-disk. | |||
= Known failures = | = Known failures = | ||