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