Skip to content

Commit

Permalink
added cms_patatrack/cmssw user repo
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 19, 2018
1 parent e55fc94 commit 7f86288
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 0 deletions.
Empty file added repos/cms_patatrack/__init__.py
Empty file.
Empty file.
29 changes: 29 additions & 0 deletions repos/cms_patatrack/cmssw/categories.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
from cms_static import GH_CMSSW_REPO as gh_cmssw
from cms_static import GH_CMSDIST_REPO as gh_cmsdist
from repo_config import GH_REPO_ORGANIZATION as gh_user
from repo_config import CMSBUILD_USER
from categories_map import CMSSW_CATEGORIES

CMSSW_L1 = []
APPROVE_BUILD_RELEASE = list(set([ ] + CMSSW_L1))
REQUEST_BUILD_RELEASE = APPROVE_BUILD_RELEASE
TRIGGER_PR_TESTS = list(set([] + REQUEST_BUILD_RELEASE))
PR_HOLD_MANAGERS = [ ]

COMMON_CATEGORIES = [ "tests", "code-checks" ]
EXTERNAL_CATEGORIES = [ "externals" ]
EXTERNAL_REPOS = []

CMSSW_REPOS = [ gh_user+"/"+gh_cmssw ]
CMSDIST_REPOS = [ gh_user+"/"+gh_cmsdist ]
CMSSW_ISSUES_TRACKERS = list(set(CMSSW_L1))
COMPARISON_MISSING_MAP = []

#github_user:[list of categories]
CMSSW_L2 = {
CMSBUILD_USER : ["tests", "code-checks" ],
gh_user : CMSSW_CATEGORIES.keys(),
}

USERS_TO_TRIGGER_HOOKS = set(TRIGGER_PR_TESTS + CMSSW_ISSUES_TRACKERS + CMSSW_L2.keys())
CMS_REPOS = set(CMSDIST_REPOS + CMSSW_REPOS + EXTERNAL_REPOS)
7 changes: 7 additions & 0 deletions repos/cms_patatrack/cmssw/category-watchers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Map between github username and the list of cmssw categories to watch e.g. alca, db, core etc.
# valid categories are available here http://cms-sw.github.io/categories.html
#Format
#gh_user:
#- category
#- category

7 changes: 7 additions & 0 deletions repos/cms_patatrack/cmssw/groups.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#Map between groups and github users, format of this file is
#groupname:
# - gh_user
# - gh_user
#groupname:
# - gh_user
# - gh_user
13 changes: 13 additions & 0 deletions repos/cms_patatrack/cmssw/releases.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#Default development branch
# Changes from master branch will be merge in to it
# Any PR open against this will be automatically closed by cms-bot (Pr should be made for master branch)
# For new release cycle just change this and make sure to add its milestone and production branches

CMSSW_DEVEL_BRANCH = "CMSSW_10_1_X"
RELEASE_BRANCH_MILESTONE={}
RELEASE_BRANCH_CLOSED=[]
RELEASE_BRANCH_PRODUCTION=[]
SPECIAL_RELEASE_MANAGERS=[]
RELEASE_MANAGERS={}
USERS_TO_TRIGGER_HOOKS = set(SPECIAL_RELEASE_MANAGERS + [ m for rel in RELEASE_MANAGERS for m in rel ])

27 changes: 27 additions & 0 deletions repos/cms_patatrack/cmssw/repo_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
from cms_static import GH_CMSSW_ORGANIZATION,GH_CMSSW_REPO,CMSBUILD_GH_USER
from os.path import basename,dirname,abspath
#GH read/write token: Use default ~/.github-token-cmsbot
GH_TOKEN="~/.github-token-cmsbot"
#GH readonly token: Use default ~/.github-token-readonly
GH_TOKEN_READONLY="~/.github-token-readonly"
CONFIG_DIR=dirname(abspath(__file__))
#GH bot user: Use default cmsbot
CMSBUILD_USER="cmsbot"
GH_REPO_ORGANIZATION="cms-patatrack"
GH_REPO_FULLNAME="cms-patatrack/cmssw"
CREATE_EXTERNAL_ISSUE=False
#Jenkins CI server: User default http://cmsjenkins05.cern.ch:8080/cms-jenkins
JENKINS_SERVER="http://cmsjenkins05.cern.ch:8080/cms-jenkins"
#GH Web hook pass phrase. This is encrypeted used bot keys.
GITHUB_WEBHOOK_TOKEN='''U2FsdGVkX19C9pvh4GUbgDDUy0G9tSJZu7pFoQ0QodGMQtb/h4AFOKPsBxKlORAz
KXg7+k1B6egPueUzlaJ9BA=='''
#Set to True if you want bot to add build/test labels to your repo
ADD_LABELS=True
#Set to True if you want bot to add GH webhooks. cmsbot needs admin rights
ADD_WEB_HOOK=False
#List of issues/pr which bot should ignore
IGNORE_ISSUES = []
#Set the Jenkins slave label is your tests needs special machines to run.
JENKINS_SLAVE_LABEL=""
#For cmsdist/cmssw repos , set it to False if you do not want to run standard cms pr tests
CMS_STANDARD_TESTS=True
3 changes: 3 additions & 0 deletions repos/cms_patatrack/cmssw/super-users.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#List of super users, format is
#- ghuser
#- ghuser
9 changes: 9 additions & 0 deletions repos/cms_patatrack/cmssw/watchers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Map between github username and the list of packages to watch.
# Package is a regular expression which will be automatically delimited by ".*"
# Format of this file is
#ghuser:
# - subsystem1/
# - subsystem/package1
#ghuser:
# - subsystem2/package1
# - subsystem2/package2

0 comments on commit 7f86288

Please sign in to comment.