Commit 8539bf43 by 李二毛

Merge branch 'development' into 'rel/major'

Development

See merge request liermao/microservice-autodevopspipelines!50
parents 1e036041 d1539004
Pipeline #4174 failed with stages
in 23 seconds
......@@ -30,7 +30,7 @@ GetReplicas replicas
GetImageUserName registryUserName
ToLower ${Environment} environment
helm install --debug --dry-run /root/AutoDevOpsPipeLinesCharts \
helm install /root/AutoDevOpsPipeLinesCharts \
--name=${releaseName} \
--set environment.upper=${Environment} \
--set environment.lower=${environment} \
......
......@@ -5,24 +5,27 @@ helm create AutoDevOpsPipeLinesCharts
## 渲染模板(调试)
```shell
helm install --debug --dry-run /root/AutoDevOpsPipeLinesCharts \
--set environment.upper=Production \
--set environment.lower=production \
--set namespace=geekbuying-light-v2 \
--set image.version=2.0.0
--set environment.upper=Staging \
--set environment.lower=staging \
--set image.registryhost=registry.geekbuying.com:8100 \
--set image.username=devopspipelines \
--set namespace=microservice-autodevopspipeline-v0 \
--set image.version=0.0.1 \
--set replicas=1
```
## 发布版本
```shell
helm install /root/AutoDevOpsPipeLinesCharts \
--name=geekbuying-light-v2 \
--set environment.upper=Production \
--set environment.lower=production \
--set namespace=geekbuying-light-v3 \
--set image.version=2.0.0
--set environment.upper=Staging \
--set environment.lower=staging \
--set image.registryhost=registry.geekbuying.com:8100 \
--set image.username=devopspipelines \
--set namespace=microservice-autodevopspipeline-v0 \
--set image.version=0.0.1 \
--set replicas=1
```
## 检视发布
helm get manifest [release name]
......
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