Tuesday, January 06, 2015

Tooltool fetching can now use LDAP credentials from a file

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


Creative Commons License
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

2 comments:

  1. The tooltool link sends to blogger.com.
    Does that mean it's possible to download "private" tooltool stuff without VPN access?

    ReplyDelete
    Replies
    1. Thanks for letting me know. I will fix the link.
      https://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

      Delete