同步操作将从 腾讯蓝鲸智云/bk-ci 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Under BlueKing ci frontend (under the frontend directory), common-lib/ and svg-sprites/ contain static resources of project dependencies. The rest of directories contain SPA projects built with Vue, among which devop-nav is the main entry point. Other subroutines are integrated using the iframe element or the UMD pattern.
Node.js 8.0.0+
# First, install yarn globally
npm install -g yarn
# Then run install
yarn install
# Next, install the dependencies of each subroutine
yarn start
# Finally, run the packaging command
yarn public
After running commands above, a folder named frontend will be created in the src/frontend directory, which contains resource files created from BK-CI frontend packaging.
Each frontend service module and its corresponding folder are as follows.
Folder Name | Module Name |
---|---|
console | devops-nav |
pipeline | devops-pipeline |
codelib | devops-codelib |
environment | devops-environment |
store | devops-atomstore |
ticket | devops-ticket |
common-lib | common-lib |
svg-sprites | svg-sprites |
Finally, copy the frontend folder to the __INSTALL_PATH__/__MODULE__/
directory.
The final structure of the frontend deployment directory is as follows.
__INSTALL_PATH__/__MODULE__/frontend/codelib
__INSTALL_PATH__/__MODULE__/frontend/commom-lib
__INSTALL_PATH__/__MODULE__/frontend/console
__INSTALL_PATH__/__MODULE__/frontend/environment
__INSTALL_PATH__/__MODULE__/frontend/pipeline
__INSTALL_PATH__/__MODULE__/frontend/store
__INSTALL_PATH__/__MODULE__/frontend/svg-sprites
__INSTALL_PATH__/__MODULE__/frontend/ticket
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。