Commit 898136bc authored by 孙江梦's avatar 孙江梦

cicd

parent bc259a24
...@@ -8,16 +8,16 @@ clone: ...@@ -8,16 +8,16 @@ clone:
pipeline: pipeline:
## 读缓存 ## 读缓存
read-cache: # read-cache:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 # image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0
restore: true # restore: true
mount: # mount:
- ./node_modules # - ./node_modules
volumes: # volumes:
- /data/cache:/cache # - /data/cache:/cache
when: # when:
branch: # branch:
- dev # - dev
## 构建 ## 构建
build: build:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:12.18.0-stretch image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:12.18.0-stretch
...@@ -31,17 +31,17 @@ pipeline: ...@@ -31,17 +31,17 @@ pipeline:
branch: branch:
- dev - dev
store-cache: # store-cache:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 # image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0
rebuild: true # rebuild: true
check: yarn.lock # check: yarn.lock
mount: # mount:
- ./node_modules # - ./node_modules
volumes: # volumes:
- /data/cache:/cache # - /data/cache:/cache
when: # when:
branch: # branch:
- dev # - dev
## 编译成静态文件 ## 编译成静态文件
docker: docker:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment