Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
5c7bcdb1
Commit
5c7bcdb1
authored
Oct 24, 2022
by
何小勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整输出文件
parent
62373025
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
.beagle.yml
.beagle.yml
+13
-13
vite.config.js
vite.config.js
+1
-1
No files found.
.beagle.yml
View file @
5c7bcdb1
...
...
@@ -20,24 +20,24 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-git:1.0
network_mode
:
host
#
- name: s3-cache
#
image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
#
network_mode: host
#
settings:
#
restore: true
#
mount:
#
- ./node_modules
#
endpoint: http://cache.wodcloud.com
#
access_key:
#
from_secret: ACCESS_KEY_MINIO
#
secret_key:
#
from_secret: SECRET_KEY_MINIO
-
name
:
s3-cache
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
network_mode
:
host
settings
:
restore
:
true
mount
:
-
./node_modules
endpoint
:
http://cache.wodcloud.com
access_key
:
from_secret
:
ACCESS_KEY_MINIO
secret_key
:
from_secret
:
SECRET_KEY_MINIO
-
name
:
build
# 项目打包
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-node:16.16.0-slim
# 将宿主机中文件夹挂载到容器中,宿主机文件夹中的文件会被容器访问并修改,起到使用缓存的作用,避免每次运行都要重现下载依赖,提高运行速度
commands
:
-
yarn
#
- yarn
-
export NODE_ENV=production
-
yarn build
...
...
vite.config.js
View file @
5c7bcdb1
...
...
@@ -39,7 +39,7 @@ export default {
}
},
build
:{
outDir
:
'
dist/apaas/
system
/ui
'
,
//打包输出文件夹
outDir
:
'
dist/apaas/
manage
/ui
'
,
//打包输出文件夹
assetsDir
:
'
static
'
,
//打包输出静态文件
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment