forked from cms-sw/cms-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#List of super users, format is | ||
#- ghuser | ||
#- ghuser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |