Pochatkin commented on code in PR #6556:
URL: https://github.com/apache/ignite-3/pull/6556#discussion_r2329157921


##########
modules/code-deployment/src/integrationTest/java/org/apache/ignite/internal/deployment/DeployFiles.java:
##########
@@ -162,6 +162,16 @@ public static UnitStatuses buildStatus(String id, Unit... 
units) {
         return builder.build();
     }
 
+    public static void staticDeploy(String id, Version version, DeployFile 
file, Path workDir) throws IOException {
+        Path deploymentRootFolder = workDir.resolve("deployment");
+        Path unitFile = 
deploymentRootFolder.resolve(id).resolve(version.render()).resolve(file.file().getFileName().toString());
+        Files.createDirectories(unitFile.getParent());
+        Files.copy(
+                file.file(),
+                unitFile
+        );

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to