build: :新增自动构建发布脚本,修正namespace
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
施海荣 2022-09-30 14:30:13 +08:00
parent e8de7c75f5
commit 399c2b8dd5

View File

@ -20,9 +20,9 @@ steps:
- echo "172.27.0.20 lb.kubesphere.local" >> /etc/hosts - echo "172.27.0.20 lb.kubesphere.local" >> /etc/hosts
#- echo "52.74.223.119 github.com" >> /etc/hosts #- echo "52.74.223.119 github.com" >> /etc/hosts
- sleep 1 - sleep 1
- kubectl scale --replicas=0 deployment/wms-ui -n qy - kubectl scale --replicas=0 deployment/wms-ui -n wms-qy
- sleep 3 - sleep 3
- kubectl scale --replicas=1 deployment/wms-ui -n qy - kubectl scale --replicas=1 deployment/wms-ui -n wms-qy
depends_on: depends_on:
- build - build