|
|
|
@@ -738,7 +738,6 @@ public class ModelsServiceImpl implements ModelsService { |
|
|
|
modelDependency.setMeta(meta); |
|
|
|
modelDependency1Dao.insert(modelDependency); |
|
|
|
|
|
|
|
dvcUtils.pushNewBranchToRemote(rootPath, gitLinkUsername, gitLinkPassword, branchName); |
|
|
|
CompletableFuture.supplyAsync(() -> { |
|
|
|
try { |
|
|
|
// 配置远程S3地址 |
|
|
|
@@ -749,6 +748,7 @@ public class ModelsServiceImpl implements ModelsService { |
|
|
|
dvcUtils.dvcConfigS3Credentials3(rootPath, secretAccessKey); |
|
|
|
// dvc 跟踪 |
|
|
|
dvcUtils.dvcAdd(rootPath, "model"); |
|
|
|
dvcUtils.pushNewBranchToRemote(rootPath, gitLinkUsername, gitLinkPassword, branchName); |
|
|
|
//dvc push 到远程S3 |
|
|
|
dvcUtils.dvcPush(rootPath); |
|
|
|
} catch (Exception e) { |
|
|
|
|