[Agent][Bastion] - Bastion mode - 2
This commit is contained in:
@@ -251,7 +251,7 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) {
|
||||
|
||||
// 计算20:00的时间
|
||||
now := time.Now()
|
||||
targetTime := time.Date(now.Year(), now.Month(), now.Day(), 16, 12, 0, 0, now.Location())
|
||||
targetTime := time.Date(now.Year(), now.Month(), now.Day(), 17, 57, 00, 0, now.Location())
|
||||
|
||||
duration := time.Duration(0)
|
||||
|
||||
@@ -268,12 +268,12 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) {
|
||||
// 等待到20:00
|
||||
time.Sleep(duration)
|
||||
|
||||
cmiiEnv := devFlight
|
||||
cmiiEnv := demo
|
||||
//appName := "cmii-uav-platform"
|
||||
//newTag := "5.4.0-032601"
|
||||
|
||||
appNameTagMap := map[string]string{
|
||||
"cmii-uav-industrial-portfolio": "5.4.0-041001",
|
||||
"cmii-uav-platform-media": "5.4.0",
|
||||
}
|
||||
|
||||
for appName, newTag := range appNameTagMap {
|
||||
|
||||
Reference in New Issue
Block a user