1+ from cms_static import GH_CMSSW_ORGANIZATION , GH_CMSSW_REPO , CMSBUILD_GH_USER , get_jenkins
2+ from os .path import basename , dirname , abspath
3+
4+ # GH read/write token: Use default ~/.github-token-cmsbot
5+ GH_TOKEN = "~/.github-token-cmsbot"
6+ # GH readonly token: Use default ~/.github-token-readonly
7+ GH_TOKEN_READONLY = "~/.github-token-readonly"
8+ CONFIG_DIR = dirname (abspath (__file__ ))
9+ # GH bot user: Use default cmsbot
10+ CMSBUILD_USER = "cmsbot"
11+ GH_REPO_ORGANIZATION = basename (dirname (CONFIG_DIR ))
12+ GH_REPO_FULLNAME = "Eric100911/collatz"
13+ CREATE_EXTERNAL_ISSUE = False
14+ # Jenkins CI server: User default http://cms-jenkins.cern.ch:8080/cms-jenkins
15+ JENKINS_SERVER = get_jenkins ("cms-jenkins" )
16+ # GH Web hook pass phrase. This is encrypeted used bot keys.
17+ GITHUB_WEBHOOK_TOKEN = "U2FsdGVkX1/XppR48LDxUlnWwzcUmoUP6tVyqfBOnaU="
18+ # Set to True if you want bot to add build/test labels to your repo
19+ ADD_LABELS = False
20+ # Set to True if you want bot to add GH webhooks. cmsbot needs admin rights
21+ ADD_WEB_HOOK = False
22+ # List of issues/pr which bot should ignore
23+ IGNORE_ISSUES = [10 ]
24+ # Set the Jenkins slave label is your tests needs special machines to run.
25+ JENKINS_SLAVE_LABEL = ""
26+ # For cmsdist/cmssw repos , set it to False if you do not want to run standard cms pr tests
27+ CMS_STANDARD_TESTS = True
28+ # Map your branches with cmssw branches for tests
29+ # User Branch => CMSSW/CMSDIST Bracnh
30+ CMS_BRANCH_MAP = {}
31+ # Valid Web hooks e.g. '.+' to match all event
32+ VALID_WEB_HOOKS = [".+" ]
33+ # Set webhook config
34+ WEBHOOK_PAYLOAD = True
35+ #
36+ REQUEST_PROCESSOR = "simple-cms-bot"
37+ # List of admins who will trigger the test
38+ TRIGGER_PR_TESTS = ['smuzaffar' ]
0 commit comments