From 6f1efb296a1dc76053899a1d4fb24c6aab1cda33 Mon Sep 17 00:00:00 2001 From: sunjiangmeng Date: Tue, 8 Mar 2022 15:20:58 +0800 Subject: [PATCH] cicd --- .beagle.yml | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.beagle.yml b/.beagle.yml index 8bca5b5..5305f47 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -8,16 +8,16 @@ clone: pipeline: ## 读缓存 -# read-cache: -# image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 -# restore: true -# mount: -# - ./node_modules -# volumes: -# - /data/cache:/cache -# when: -# branch: -# - dev + read-cache: + image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 + restore: true + mount: + - ./node_modules + volumes: + - /data/cache:/cache + when: + branch: + - dev ## 构建 build: image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:12.18.0-stretch @@ -31,17 +31,17 @@ pipeline: branch: - dev -# store-cache: -# image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 -# rebuild: true -# check: yarn.lock -# mount: -# - ./node_modules -# volumes: -# - /data/cache:/cache -# when: -# branch: -# - dev + store-cache: + image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 + rebuild: true + check: yarn.lock + mount: + - ./node_modules + volumes: + - /data/cache:/cache + when: + branch: + - dev ## 编译成静态文件 docker: @@ -106,7 +106,7 @@ pipeline: namespace: apaas-v3 deployment: apaas-login container: apaas-login - registry: registry.cn-qingdao.aliyuncs.com/wod/apaas-login:v3.0.4 + registry: registry.cn-qingdao.aliyuncs.com/wod/apaas-login:v3.0.4-alpha when: branch: - dev -- 2.26.0