ansible/hg-ssh-server: change `scm_allow_direct_push` gid to 692 (Bug 1515119) r=glob
authorConnor Sheehan <sheehan@mozilla.com>
Mon, 22 Jul 2019 10:32:06 -0400
changeset 7109 83cdb0bd4dcf45544309e22cbe8b75b338132019
parent 7108 25c9bed283265d7790b0d599f5ccbad7beb1da5a
child 7110 3aac07d797c6420764b531e972eba7aac348ddd3
push id3536
push usercosheehan@mozilla.com
push dateMon, 22 Jul 2019 14:32:25 +0000
treeherderversion-control-tools@83cdb0bd4dcf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglob
bugs1515119
ansible/hg-ssh-server: change `scm_allow_direct_push` gid to 692 (Bug 1515119) r=glob `2500` was selected as the `gid` for the new scm group completely at random. Turns out, that value is important and will block the deploy during creation since it doesn't match the value on the hgssh servers. This commit changes the value to 692, which should fix the deploy blocker. This is untested but is harmless in the event it doesn't work as we want it to.
ansible/roles/hg-ssh-server/tasks/main.yml
testing/docker/builder-ldap/mozilla.ldif
--- a/ansible/roles/hg-ssh-server/tasks/main.yml
+++ b/ansible/roles/hg-ssh-server/tasks/main.yml
@@ -4,17 +4,17 @@
   register: vct_dir
 
 - name: Create groups for SCM ACLs
   group: name={{ item.name }} gid={{ item.gid }}
   with_items:
     - { name: 'scm_level_1', gid: 673 }
     - { name: 'scm_level_2', gid: 685 }
     - { name: 'scm_level_3', gid: 679 }
-    - { name: 'scm_allow_direct_push', gid: 2500 }
+    - { name: 'scm_allow_direct_push', gid: 692 }
     - { name: 'scm_l10n', gid: 678 }
     - { name: 'scm_l10n_infra', gid: 680 }
     - { name: 'scm_sec_sensitive', gid: 686 }
     - { name: 'scm_ecmascript', gid: 687 }
     - { name: 'scm_versioncontrol', gid: 690 }
     - { name: 'scm_autoland', gid: 2346 }
     - { name: 'scm_conduit', gid: 691 }
     - { name: 'scm_servo_vendor', gid: 2347 }
--- a/testing/docker/builder-ldap/mozilla.ldif
+++ b/testing/docker/builder-ldap/mozilla.ldif
@@ -36,17 +36,17 @@ dn: cn=scm_level_3,ou=groups,dc=mozilla
 gidNumber: 679
 objectClass: posixGroup
 objectClass: top
 cn: scm_level_3
 memberUid: autoland@example.com
 
 
 dn: cn=scm_allow_direct_push,ou=groups,dc=mozilla
-gidNumber: 2500
+gidNumber: 692
 objectClass: posixGroup
 objectClass: top
 memberUid: autoland@example.com
 
 dn: cn=active_scm_level_1,ou=groups,dc=mozilla
 objectClass: groupOfNames
 objectClass: top
 cn: active_scm_level_1