mozilla-releng / signingscript

Signing script to run in scriptworker.
1 stars 11 forks source link

Server priorities #78

Closed escapewindow closed 5 years ago

escapewindow commented 6 years ago

We may want to prioritize certain servers above others for various reasons. The current main reason is we have EC2 signing scriptworkers in usw2 and use1, and signing servers in mdc1 (west coast) and mdc2 (east coast). Signing tends to be significantly faster when we stay geographically close, rather than cross-country.

This PR:

I'd like to test this a bit in my puppet env. This PR should pair with https://github.com/mozilla-releng/signtool/pull/13 , which stops randomizing server order in signtool; signtool should receive a pre-randomized-and-prioritized list from signingscript. We'll also need a puppet patch that adds PyYAML and changes the password templates, and prioritizes mdc1 for usw2 and mdc2 for use1.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 471c080a9d5f70b77f038a878a9789f72f778070 on escapewindow:server-priorities into 30d0626d0db1597932edd193486054675feb91e6 on mozilla-releng:master.

escapewindow commented 6 years ago

Rebased on top of the autograph hash-signing code that just merged to master.