Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhongcheng committed Sep 3, 2019
1 parent a2e977a commit f42c2b4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/src/main/asciidoc/_chapter/appendix/2.x-migration-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,37 @@
# -----------------
# (可选)根据实际情况为每个应用添加 .dew 文件以添加各应用的特殊配置

* [ ] [Dew DevOps] 在项目中添加``.gitlab-ci.yml``配置,详见 <<devops-cicd-gitlab-template>>, e.g.

stages:
- deploy
cache:
paths:
- node_modules/
- .m2/
# 测试环境部署
test deploy:
stage: deploy
only:
- test
tags:
- test
script:
- mvn -P devops dew:release
# 用户验收/预发环境部署
uat deploy:
stage: deploy
only:
- uat
tags:
- uat
script:
- mvn -P devops dew:release
prod deploy: # 生产环境部署
stage: deploy
only:
- prod
tags:
- prod
script:
- mvn -P devops dew:release

0 comments on commit f42c2b4

Please sign in to comment.