1 Star 0 Fork 3

王毅/gitee_trigger

forked from x2x4/gitee_trigger 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cfg.py.example 3.74 KB
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env python
# encoding: utf-8
# ===============================================================================
#
# FILE:
#
# USAGE:
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: YOUR NAME (),
# COMPANY:
# VERSION: 1.0
# CREATED:
# REVISION: ---
# ===============================================================================
repos = {
"ninechain": {
"UpdateHook": {
"password": "xxxxx",
"local_dir": "/home/runner/UpdateHook",
"branch": "master",
},
},
"artwook": {
"www_source": {
"password": "xxxxxxxxx",
"local_dir": "/git/artwook/www_source.git",
"remote": "git@someothersite.org:9chain-artwook/www.git",
"branch": "master",
},
"app_gateway": {
"password": "xxxxxxxxx",
"local_dir": "/git/artwook/app_gateway.git",
"remote": "git@someothersite.org:9chain-artwook/app_gateway.git",
"branch": "master",
},
"app_main": {
"password": "xxxxxxxxx",
"local_dir": "/git/artwook/app_main.git",
"remote": "git@someothersite.org:9chain-artwook/app_main.git",
"branch": "master",
},
"wallet-web": {
"password": "xxxxxxxxx",
"local_dir": "/git/artwook/wallet-web.git",
"remote": "git@someothersite.org:9chain-artwook/wallet-web.git",
"branch": "master",
},
"app_blockscanner": {
"password": "xxxxxxxxx",
"local_dir": "/git/artwook/app_blockscanner.git",
"remote": "git@someothersite.org:9chain-artwook/app_blockscanner.git",
"branch": "master",
},
},
}
token_list = [
'xxxxxxxxx',
'xxxxxxxxx'
]
global_password = [
'xxxxxxxxx'
]
jenkins = {
'user': 'x2x4',
'secret': 'xxxxxxxxx',
'host': 'http://192.168.1.234:18080',
'repos': {
"artwook": {
"blockscanner": {
"branch": ["dev"],
'auto_build_branch': ['dev'],
'auto_deploy_branch': ['dev'],
'jenkins_url': '/job/blockscanner',
'jenkins_token': 'xxxxxxxxx'
},
},
"bidpoc": {
"bidpoc_gateway": {
'branch': ['dev', 'alpha', 'master'],
'auto_build_branch': ['alpha', 'master'],
'auto_deploy_branch': ['dev'],
'jenkins_jobs': {
'dev': {
'jenkins_url': '/job/bidpoc_gateway',
'jenkins_token': 'xxxxxxxxx'
},
'alpha': {
'jenkins_url': '/job/bidpoc_gateway-alpha-n-master',
'jenkins_token': 'xxxxxxxxx'
},
'master': {
'jenkins_url': '/job/bidpoc_gateway-alpha-n-master',
'jenkins_token': 'xxxxxxxxx'
},
},
},
},
"ninechain": {
"UpdateHook": {
"branch": ['dev'],
'jenkins_url': '/job/blockscanner',
'jenkins_token': 'xxxxxxxxx'
},
},
}
}
dd_9chain_tech_robot='https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxx'
# key 码云的用户username
# val 对应的dingding手机号码
git_user = {
'x2x4': 10000000000,
}
DEBUG = False
gitee_token = "xxxxxxxxx"
gitee_issue_api_url = 'https://gitee.com/api/v5/repos/ORG/issues'
default_isssue_assignee = 'robot'
dingding_db = './dbs/dingding.db'
dingding_token = ''
dingding_secret = ''
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wangyi_1998/gitee_trigger.git
git@gitee.com:wangyi_1998/gitee_trigger.git
wangyi_1998
gitee_trigger
gitee_trigger
master

搜索帮助