Skip to content

✨ Begin trying CI on cmsbot from Eric100911/collatz #2435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions repos/Eric100911/collatz/repo_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
from cms_static import GH_CMSSW_ORGANIZATION, GH_CMSSW_REPO, CMSBUILD_GH_USER, get_jenkins
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 = basename(dirname(CONFIG_DIR))
GH_REPO_FULLNAME = "Eric100911/collatz"
CREATE_EXTERNAL_ISSUE = False
# Jenkins CI server: User default http://cms-jenkins.cern.ch:8080/cms-jenkins
JENKINS_SERVER = get_jenkins("cms-jenkins")
# GH Web hook pass phrase. This is encrypeted used bot keys.
GITHUB_WEBHOOK_TOKEN = "U2FsdGVkX1/XppR48LDxUlnWwzcUmoUP6tVyqfBOnaU="
# Set to True if you want bot to add build/test labels to your repo
ADD_LABELS = False
# 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 = [10]
# 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
# Map your branches with cmssw branches for tests
# User Branch => CMSSW/CMSDIST Bracnh
CMS_BRANCH_MAP = {}
# Valid Web hooks e.g. '.+' to match all event
VALID_WEB_HOOKS = [".+"]
# Set webhook config
WEBHOOK_PAYLOAD = True
#
REQUEST_PROCESSOR = "simple-cms-bot"
# List of admins who will trigger the test
TRIGGER_PR_TESTS = ['smuzaffar']
Loading