Skip to content

Commit ec40654

Browse files
authored
Merge pull request #2435 from Eric100911/master
✨ Begin trying CI on cmsbot from Eric100911/collatz
2 parents 4dbedc4 + 7b43b17 commit ec40654

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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

Comments
 (0)