fix: 修正.dorne.yml文件格式

Cette révision appartient à :
施海荣 2022-09-15 10:48:36 +08:00
Parent 23eb91fa4a
révision 711a4f839b

Voir le fichier

@ -13,16 +13,16 @@ steps:
commands:
- docker build -t harbor.picaiba.com/kszny/mes-api:1.0.0-india ./ && docker push harbor.picaiba.com/kszny/mes-api:1.0.0-india
- name: deploy
image: harbor.picaiba.com/tools/kubectl
commands:
- echo "172.27.0.20 lb.kubesphere.local" >> /etc/hosts
- sleep 1
- kubectl scale --replicas=0 deployment/mes-api -n mes-india
- sleep 3
- kubectl scale --replicas=1 deployment/mes-api -n mes-india
depends_on:
- build
- name: deploy
image: harbor.picaiba.com/tools/kubectl
commands:
- echo "172.27.0.20 lb.kubesphere.local" >> /etc/hosts
- sleep 1
- kubectl scale --replicas=0 deployment/mes-api -n mes-india
- sleep 3
- kubectl scale --replicas=1 deployment/mes-api -n mes-india
depends_on:
- build
volumes:
- name: dockersock