Compare commits

3 Commits

Author SHA1 Message Date
simple321vip c32ce3b684 Update .drone.yml
continuous-integration/drone/push Build is passing
2026-07-01 14:10:54 +00:00
simple321vip 4676669ac6 Update .drone.yml
continuous-integration/drone/push Build is passing
2026-07-01 13:36:53 +00:00
simple321vip 931f7275d9 Update .drone.yml
continuous-integration/drone/push Build is failing
2026-07-01 13:15:16 +00:00
+2 -3
View File
@@ -18,6 +18,7 @@ steps:
repo: ccr.ccs.tencentyun.com/violin/violin-cv repo: ccr.ccs.tencentyun.com/violin/violin-cv
tags: tags:
- latest - latest
- ${DRONE_COMMIT_SHA:0:8}
dockerfile: Dockerfile dockerfile: Dockerfile
context: . context: .
registry: ccr.ccs.tencentyun.com registry: ccr.ccs.tencentyun.com
@@ -28,7 +29,5 @@ steps:
- name: prod-deploy - name: prod-deploy
image: ccr.ccs.tencentyun.com/violin/kubectl:latest image: ccr.ccs.tencentyun.com/violin/kubectl:latest
cluster: kubernetes cluster: kubernetes
namespace: violin
commands: commands:
- kubectl set image deployment/violin-cv cv=ccr.ccs.tencentyun.com/violin/violin-cv:latest - kubectl -n violin set image deployment/violin-cv cv=ccr.ccs.tencentyun.com/violin/violin-cv:${DRONE_COMMIT_SHA:0:8}
- kubectl rollout status deployment/violin-cv