application.yml
:
spring:
datasource:
url: jdbc:mysql://localhost/devops_service?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: choerodon
password: choerodon
hikari:
maximum-pool-size: 15
redis:
host: localhost
database: ${SPRING_REDIS_DATABASE:1}
http:
encoding:
charset: UTF-8
force: true
enabled: true
services:
harbor:
baseUrl: "harbor.example.com"
username: "123456"
password: "123456"
insecureSkipTlsVerify: false
gitlab:
url: "gitlab.example.com"
sshUrl: "gitlab.example.com"
projectLimit: 100
helm:
url: "helm.example.com"
gateway:
url: "http://api.example.com"
hzero:
websocket:
websocket: /websocket
redisDb: ${SPRING_REDIS_DATABASE:1}
secretKey: devops_ws
choerodon:
saga:
consumer:
core-thread-num: 20
max-thread-num: 20
poll-interval: 3
enabled: true
schedule:
consumer:
enabled: true
thread-num: 1
poll-interval-ms: 1000
resource:
jwt:
ignore: /workflow/**, /sonar/**, /ci, /sonar/info, /v2/api-docs, /agent/**, /ws/**, /gitlab/email, /webhook/**, /v2/choerodon/**, /choerodon/**, /actuator/**, /prometheus, /devops/**, /pre_stop, /websocket
agent:
version: "0.5.0"
serviceUrl: "agent.example.com"
certManagerUrl: "agent.example.com"
repoUrl: "helm.example.com"
mybatis:
mapperLocations: classpath*:/mapper/*.xml
configuration:
mapUnderscoreToCamelCase: true
feign:
hystrix:
shareSecurityContext: true
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 30000
ribbon:
ConnectTimeout: 50000
ReadTimeout: 50000
asgard-servie:
ribbon:
ConnectTimeout: 50000
ReadTimeout: 50000
devops:
ci:
default:
image: registry.cn-shanghai.aliyuncs.com/c7n/cibase:0.9.1
pipeline:
sync:
executor:
corePoolSize: 5
maxPoolSize: 8
unterminated:
thresholdMilliSeconds: 600000
pending:
thresholdMilliSeconds: 600000
jobEmpty:
thresholdMilliSeconds: 600000
refresh:
periodSeconds: 60
batch:
deployment:
maxSize: 20
websocket:
buffer:
maxTextMessageSize: 4194304
maxBinaryMessageSize: 4194304