diff --git a/.drone.yml b/.drone.yml index 14911ca..72112f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,8 +41,8 @@ steps: - name: deploy-to-k8s image: ccr.ccs.tencentyun.com/violin/kubectl:latest commands: - - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-test - - kubectl rollout status deployment/todo-frontend -n todo-test + - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n drone + - kubectl rollout status deployment/todo-frontend -n drone environment: KUBECONFIG: from_secret: kubeconfig @@ -91,8 +91,8 @@ steps: - name: deploy-to-k8s image: ccr.ccs.tencentyun.com/violin/kubectl:latest commands: - - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-prod - - kubectl rollout status deployment/todo-frontend -n todo-prod + - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n drone + - kubectl rollout status deployment/todo-frontend -n drone environment: KUBECONFIG: from_secret: kubeconfig