Commit 651071bd authored by chenxushuo's avatar chenxushuo

Update .gitlab-ci.yml

parent d708cd9f
Pipeline #15193 failed with stages
in 36 seconds
...@@ -49,8 +49,8 @@ docker-push-dev: ...@@ -49,8 +49,8 @@ docker-push-dev:
script: script:
- ls -al - ls -al
- find ./ -name dist - find ./ -name dist
- docker build -t registry.cn-shenzhen.aliyuncs.com/thinker-vc/light-admin-web:1.0.0 . - docker build -t registry.cn-shenzhen.aliyuncs.com/thinker-vc/communicaten-web:1.0.0 .
- docker push registry.cn-shenzhen.aliyuncs.com/thinker-vc/light-admin-web:1.0.0 - docker push registry.cn-shenzhen.aliyuncs.com/thinker-vc/communicate-web:1.0.0
tags: tags:
- node-build-mac - node-build-mac
#- svr251 #- svr251
...@@ -88,8 +88,8 @@ docker-push-pro: ...@@ -88,8 +88,8 @@ docker-push-pro:
script: script:
- ls -al - ls -al
- find ./ -name dist - find ./ -name dist
- docker build -t registry.cn-shenzhen.aliyuncs.com/thinker-vc/light-admin-web:release-1.0.0 . - docker build -t registry.cn-shenzhen.aliyuncs.com/thinker-vc/communicate-web:release-1.0.0 .
- docker push registry.cn-shenzhen.aliyuncs.com/thinker-vc/light-admin-web:release-1.0.0 - docker push registry.cn-shenzhen.aliyuncs.com/thinker-vc/communicate-web:release-1.0.0
tags: tags:
- node-build-mac - node-build-mac
#- svr251 #- svr251
...@@ -109,16 +109,16 @@ docker-push-pro: ...@@ -109,16 +109,16 @@ docker-push-pro:
- helm repo update - helm repo update
script: script:
- | - |
helm upgrade light-admin-web --install --reuse-values \ helm upgrade communicate-web --install --reuse-values \
--set updateVersion=`date +%s` \ --set updateVersion=`date +%s` \
--set image.repository="registry-vpc.cn-shenzhen.aliyuncs.com/thinker-vc/light-admin-web" \ --set image.repository="registry-vpc.cn-shenzhen.aliyuncs.com/thinker-vc/communicate-web" \
--set image.tag="release-1.0.0" \ --set image.tag="release-1.0.0" \
--set ingress.host="light.admin.thinker.vc" \ --set ingress.host="communicate.thinker.vc" \
--namespace light \ --namespace communicate \
thinker/static thinker/static
environment: environment:
name: prod name: prod
url: light.admin.thinker.vc url: communicate.thinker.vc
cache: {} cache: {}
only: only:
- master - master
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