author Connor Sheehan <>
Mon, 22 Jul 2019 10:32:06 -0400
changeset 7109 83cdb0bd4dcf45544309e22cbe8b75b338132019
parent 6915 2c7002f9e7889960a0f7f8da73c2029be185d7a3
permissions -rwxr-xr-x
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.

#!/usr/bin/env python2.7
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

import os
import sys

HERE = os.path.abspath(os.path.dirname(__file__))

def main(args):
    if 'VIRTUAL_ENV' not in os.environ:
        activate = os.path.join(HERE, 'venv', 'bin', '')
        with open(activate) as f:
            exec(, dict(__file__=activate))
        sys.executable = os.path.join(HERE, 'venv', 'bin', 'python')

    from mach.main import Mach

    m = Mach(os.getcwd())

    m.define_category('deploy', 'Deployment',
                      'Deploy changes to remote servers', 50)
    import vcttesting.deploy_mach_commands


if __name__ == '__main__':