You can now fetch tooltool files by using an authentication file.
All you have to do is append "--authentication-file file" to your tooltool fetching command.
This is important if you want to use automation to fetch files from tooltool on your behalf.
This was needed to allow Android test jobs to run locally since we need to download tooltool files for it.
EDIT: Fixed the tooltool hyperlink
EDIT: Removed labels to avoid re-posting after edit
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
The tooltool link sends to blogger.com.
ReplyDeleteDoes that mean it's possible to download "private" tooltool stuff without VPN access?
Thanks for letting me know. I will fix the link.
Deletehttps://github.com/mozilla/build-tooltool/commit/78113eb8ab9618df3c7a2e4acd2ad83768ed5568
It is possible with LDAP authentication and hitting a different URL. See this URL replacment:
http://hg.mozilla.org/build/mozharness/file/8fdc588036c2/configs/developer_config.py#l20