[ Agent ] [ CMII ] - 新增Deployment的Kill更新模式

This commit is contained in:
zeaslity
2024-01-12 17:32:36 +08:00
parent 55454eedbe
commit 6df4587106
5 changed files with 59 additions and 17 deletions

View File

@@ -49,9 +49,9 @@ func TestBackupAllCmiiDeploymentToMap(t *testing.T) {
func TestUpdateCmiiDeploymentImageTag(t *testing.T) {
cmiiEnv := "uavms"
appName := "uavms-lowaltitude-platform"
newTag := "5.2.0-011202"
cmiiEnv := "demo"
appName := "cmii-uav-platform"
newTag := "5.2.0-011201"
tag := UpdateCmiiDeploymentImageTag(cmiiEnv, appName, newTag)
assert.Equal(t, tag, true, "update image tag failed !")