hghooks: add mozautomation to venv (bug 1366667) r?gps draft
authorbyron jones <glob@mozilla.com>
Mon, 22 May 2017 15:31:41 +0800
changeset 11169 80af4477f7860f4a94316285a86d0f3d2e127fe6
parent 11168 4d166b6595d360a0c240e2db9ac74448258de2d6
child 11170 a6be1e7333cd65dded8a4085c729340794efe6c0
push id1698
push userbjones@mozilla.com
push dateTue, 06 Jun 2017 06:27:41 +0000
reviewersgps
bugs1366667
hghooks: add mozautomation to venv (bug 1366667) r?gps It would be rather useful if the commit hooks had access to our library of commit parsing routines. MozReview-Commit-ID: 5smb7uj11Ty
ansible/roles/hg-ssh/tasks/main.yml
--- a/ansible/roles/hg-ssh/tasks/main.yml
+++ b/ansible/roles/hg-ssh/tasks/main.yml
@@ -117,16 +117,18 @@
         owner=root
         group=root
         mode=0644
   with_items:
     - { venv: venv_pash, path: hghooks, pth: mozhghooks }
     - { venv: venv_tools, path: hghooks, pth: mozhghooks }
     - { venv: venv_pash, path: pylib/vcsreplicator, pth: vcsreplicator }
     - { venv: venv_tools, path: pylib/vcsreplicator, pth: vcsreplicator }
+    - { venv: venv_pash, path: pylib/mozautomation, pth: mozautomation }
+    - { venv: venv_tools, path: pylib/mozautomation, pth: mozautomation }
 
 - name: determine if v-c-t clone is present
   stat: path=/var/hg/version-control-tools/.hg
   register: vct_clone
 
 - name: create v-c-t clone (server only)
   command: /var/hg/venv_tools/bin/hg --config extensions.vcsreplicator=! clone https://hg.mozilla.org/hgcustom/version-control-tools /var/hg/version-control-tools
   when: vct_dir.stat.exists == False and vct_clone.stat.exists == False