From 759e04073e9e37cd653f968004a024acd503a193 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Thu, 22 Aug 2024 11:35:24 +0800 Subject: [PATCH] =?UTF-8?q?[Agent][Deploy]=20-=20ImageSyncDLTU.sh=20?= =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent-operator/CmiiK8sOperator_test.go | 4 ++-- agent-operator/ImageSyncOperator_test.go | 4 ++-- agent-operator/log/cmii-update-log.txt | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/agent-operator/CmiiK8sOperator_test.go b/agent-operator/CmiiK8sOperator_test.go index 48fa096..1f86a95 100755 --- a/agent-operator/CmiiK8sOperator_test.go +++ b/agent-operator/CmiiK8sOperator_test.go @@ -253,7 +253,7 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) { // 计算20:00的时间 now := time.Now() - targetTime := time.Date(now.Year(), now.Month(), now.Day(), 12, 50, 00, 0, now.Location()) + targetTime := time.Date(now.Year(), now.Month(), now.Day(), 17, 35, 00, 0, now.Location()) duration := time.Duration(0) @@ -278,7 +278,7 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) { //"cmii-uav-platform-dispatchh5": "5.6.0-062401", //"cmii-uav-data-post-process": "5.6.0-062401", //"cmii-uav-industrial-portfolio": "5.6.0-071801", - "cmii-uav-industrial-portfolio": "5.7.0-31369-yunnan-082102", + "cmii-uav-industrial-portfolio": "5.7.0-31369-yunnan-082104", //"cmii-uav-brain": "5.5.0", //"cmii-uav-platform": "5.6.0-071702", //"cmii-uas-lifecycle": "5.6.0-30403-071802", diff --git a/agent-operator/ImageSyncOperator_test.go b/agent-operator/ImageSyncOperator_test.go index 0caa615..4ac0fe1 100755 --- a/agent-operator/ImageSyncOperator_test.go +++ b/agent-operator/ImageSyncOperator_test.go @@ -11,7 +11,7 @@ import ( func TestFetchDependencyRepos_Middle(t *testing.T) { - errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, false, false) + errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, true, false) utils.BeautifulPrintListWithTitle(errorPullImageList, "errorPullImageList") utils.BeautifulPrintListWithTitle(errorGzipImageList, "errorGzipImageList") @@ -22,7 +22,7 @@ func TestFetchDependencyRepos_Middle(t *testing.T) { func TestFetchDependencyRepos_RKE(t *testing.T) { - errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, true, false) + errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, true, true) utils.BeautifulPrintListWithTitle(errorPullImageList, "errorPullImageList") utils.BeautifulPrintListWithTitle(errorGzipImageList, "errorGzipImageList") diff --git a/agent-operator/log/cmii-update-log.txt b/agent-operator/log/cmii-update-log.txt index b090cca..850a4fd 100755 --- a/agent-operator/log/cmii-update-log.txt +++ b/agent-operator/log/cmii-update-log.txt @@ -215,3 +215,5 @@ 2024-08-21-11-03-00 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082001 5.7.0-31369-yunnan-082101 2024-08-21-14-50-50 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082101 5.7.0-31369-yunnan-082201 2024-08-21-14-55-15 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082201 5.7.0-31369-yunnan-082102 +2024-08-21-17-07-00 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082102 5.7.0-31369-yunnan-082103 +2024-08-21-17-35-40 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082103 5.7.0-31369-yunnan-082104