同步操作将从 腾讯蓝鲸智云/bk-ci 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
The deployment directory conforms to BlueKing Operation Specifications. Here is an example with /data/bkee as root directory. Users can change the directory name by themselves, like /a/b. Since the directory has multiple lower directories, they need to go through them carefully. The details are as follows.
|- /data/bkee # Root directory of BlueKing
|- ci # Directory of ci deployment programs
|- etc # Root directory of BlueKing configuration files
|- ci # Directory of ci configuration files
The following directories are explained in detail.
|- /data/bkee/ci # Root directory of the program
|- agent-package # Location of the agent installation package
|- frontend # Directory of frontend static resources
|- gateway # Gateway configuration files and Lua scripts
|- project # There is a total of 10 microservice directories and they will not be listed here one by one.
|- project.sh # Startup script of the Project microservice
|- boot-project.jar # SpringBoot.jar of the Project microservice
|- /data/bkee/etc # Root directory of BlueKing configuration files
|- ci # Directory of ci configuration files
|- common.yml # Common configurations of all microservices
|- application-project.yml # Configurations of the Project microservice. There are 10 microservice configuration files. If new microservices are added, the corresponding configuration files will be placed here.
Run files in the support-files/sql directory sequentially by file number.
OpenResty is used as the gateway server. The deployment consists of two parts, OpenResty installation as well as deployment of Lua and Nginx configurations of gateway.
Configuration file templates created from frontend builds require variable substitution.
./render_tpl -m ci /data/bkee/ci/frontend/pipeline/frontend#pipeline#index.html
./render_tpl -m ci /data/bkee/ci/frontend/console/frontend#console#index.html
Compilation and deployment of backend microservices and agent.jar
Variables in configuration files that are declared with "__" (two underscores) require a placeholder substitution and the substituted ones have been extracted to the scripts/bkenv.properties file.
The corresponding parameters in scripts/bkenv.properties need to be modified. Parameters relating to BlueKing or unused parameters can remain as default. Save and exit after modification.
Running the scripts/render_tpl script will automatically substitute all the variables in all the files in the support-files/templates directory and move these files to the normal installation path.
cd /data/bkee/ci/scripts
chmod +x render_tpl
./render_tpl -m ci ../support-files/templates/*
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。