Skip to content

Commit

Permalink
feat:新增制品库相关配置文件模板 TencentBlueKing#5830
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuwan committed Dec 20, 2021
1 parent 384f51b commit 03b3c09
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/bkenv.properties
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ BK_CI_NOTIFY_WEWORK_API_URL=https://qyapi.weixin.qq.com
BK_CI_NOTIFY_WEWORK_SEND_CHANNEL=weworkAgent
# BK_CI_ARTIFACTORY_REALM 默认值为local,按需修改,制品库存储方式,可选值local, bkrepo
BK_CI_ARTIFACTORY_REALM=local

##########
# 4-微服务依赖
##########
Expand Down Expand Up @@ -310,6 +311,8 @@ BK_CI_TURBO_REDIS_PORT=$BK_CI_REDIS_PORT
BK_REPO_API_URL=
# BK_REPO_AUTHORIZATION无默认值. 按需修改. 如部署了蓝鲸制品库bkrepo,并且需要集成到CI,需要配置为访问bkrepo所提供的鉴权信息
BK_REPO_AUTHORIZATION=
# BK_REPO_GATEWAY_IP无默认值,按需修改,如部署了蓝鲸制品库bkrepo,并且需要集成到CI,需要配置bkrepo网关的IP地址
BK_REPO_GATEWAY_IP=

##########
# 5-api port
Expand Down
1 change: 1 addition & 0 deletions support-files/templates/#etc#ci#common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ auth:
iamCallBackUser: __BK_CI_IAM_CALLBACK_USER__
# 用户组权限申请前端跳转页面HOST
webHost: __BK_CI_IAM_WEB_URL__
token: __BK_CI_APP_TOKEN__

#bk esb config for cd plugin in pipeline
esb:
Expand Down
3 changes: 3 additions & 0 deletions support-files/templates/gateway#core#devops.server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ server {

# 重定向
include vhosts/devops.redirect.conf;

# 社区版bkrepo域名解析
include vhosts/devops.bkrepo.upstream.conf;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
upstream __BK_REPO_HOST__ {
server __BK_REPO_GATEWAY_IP__;
}

0 comments on commit 03b3c09

Please sign in to comment.