Exemplo n.º 1
0
    'default_branch': 'vara-dev',
    'checkout_dir': CHECKOUT_BASE_DIR + '/tools/VaRA',
    'checkout_subdir': '/tools/VaRA',
}
REPOS['compiler-rt'] = {
    'default_branch': 'release_80',
    'checkout_dir': CHECKOUT_BASE_DIR + '/projects/compiler-rt',
}
REPOS['clang-tools-extra'] = {
    'default_branch': 'release_80',
    'checkout_dir': CHECKOUT_BASE_DIR + '/tools/clang/tools/extra',
}

################################################################################

CODEBASE = make_git_cb(REPOS)
FORCE_CODEBASE = make_force_cb(REPOS)

P = util.Property

ACCEPTED_BUILDERS = slaves.get_hostlist(slaves.infosun, predicate=lambda host: host["host"] in {'debussy'})

def trigger_branch_match(branch):
    pattern = re.compile(TRIGGER_BRANCH_REGEX)
    return pattern.match(branch)

@util.renderer
@defer.inlineCallbacks
def get_vara_feature_opt_results(props):
    all_logs = []
    master = props.master
Exemplo n.º 2
0
    'default_branch': 'vara-dev',
    'checkout_dir': CHECKOUT_BASE_DIR + '/tools/VaRA',
    'checkout_subdir': '/tools/VaRA',
}
REPOS['compiler-rt'] = {
    'default_branch': 'release_90',
    'checkout_dir': CHECKOUT_BASE_DIR + '/projects/compiler-rt',
}
REPOS['clang-tools-extra'] = {
    'default_branch': 'release_90',
    'checkout_dir': CHECKOUT_BASE_DIR + '/tools/clang/tools/extra',
}

################################################################################

CODEBASE = make_git_cb(REPOS)
FORCE_CODEBASE = make_force_cb(REPOS)

P = util.Property

ACCEPTED_BUILDERS = slaves.get_hostlist(
    slaves.infosun,
    predicate=lambda host: host["host"] in {'bayreuther01', 'bayreuther02'})


def trigger_branch_match(branch):
    pattern = re.compile(TRIGGER_BRANCH_REGEX)
    return pattern.match(branch)


@util.renderer