Skip to content

Commit

Permalink
deploy push githook for cms-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jan 19, 2018
1 parent 73256be commit 1fa4d7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion add-externals-gh-labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def setRepoLabels (gh, repo_name, all_labels, dryRun=False):
parser = OptionParser(usage="%prog [-n|--dry-run] [-e|--externals] [-c|--cmssw] [-d|--cmsdist] [-a|--all]")
parser.add_option("-n", "--dry-run", dest="dryRun", action="store_true", help="Do not modify Github", default=False)
parser.add_option("-e", "--externals", dest="externals", action="store_true", help="Only process CMS externals repositories", default=False)
parser.add_option("-u", "--userss", dest="users", action="store_true", help="Only process Users externals repositories", default=False)
parser.add_option("-u", "--users", dest="users", action="store_true", help="Only process Users externals repositories", default=False)
parser.add_option("-c", "--cmssw", dest="cmssw", action="store_true", help="Only process "+",".join(CMSSW_REPOS)+" repository", default=False)
parser.add_option("-d", "--cmsdist", dest="cmsdist", action="store_true", help="Only process "+",".join(CMSDIST_REPOS)+" repository", default=False)
parser.add_option("-a", "--all", dest="all", action="store_true", help="Process all CMS repository i.e. externals, cmsdist and cmssw", default=False)
Expand Down
1 change: 1 addition & 0 deletions github_hooks_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
REPO_HOOK_MAP = []
REPO_HOOK_MAP.append(["cms-sw/cmssdt-web", ["Jenkins_Github_Hook_Push"]])
REPO_HOOK_MAP.append(["cms-sw/cms-bot", ["Jenkins_Github_Hook_Push"]])
REPO_HOOK_MAP.append(["cms-sw/cms-docker", ["Jenkins_Github_Hook_Push"]])
REPO_HOOK_MAP.append(["cms-sw/cmssw", ["Jenkins_Github_Hook", "Jenkins_Github_Hook_Push"]])
REPO_HOOK_MAP.append(["cms-sw/cmsdist", ["Jenkins_Github_Hook", "Jenkins_Github_Hook_Push"]])
REPO_HOOK_MAP.append([".+", ["Jenkins_Github_Hook"]])
Expand Down

0 comments on commit 1fa4d7b

Please sign in to comment.