diff --git a/src/deployment/deploy.py b/src/deployment/deploy.py index 1e3b8d2d5c..d36b64a083 100644 --- a/src/deployment/deploy.py +++ b/src/deployment/deploy.py @@ -575,6 +575,17 @@ def upload_tools(self) -> None: ) url = "%s/%s?%s" % (account_url, "tools", sas) + subprocess.check_output( + [ + self.azcopy, + "copy", + os.path.join(self.tools, "*"), + url, + "--overwrite=true", + "--recursive=true", + ] + ) + subprocess.check_output( [self.azcopy, "sync", self.tools, url, "--delete-destination", "true"] ) @@ -603,6 +614,17 @@ def upload_instance_setup(self) -> None: ) url = "%s/%s?%s" % (account_url, "instance-specific-setup", sas) + subprocess.check_output( + [ + self.azcopy, + "copy", + os.path.join(self.instance_specific, "*"), + url, + "--overwrite=true", + "--recursive=true", + ] + ) + subprocess.check_output( [ self.azcopy, @@ -642,6 +664,17 @@ def upload_third_party(self) -> None: ) url = "%s/%s?%s" % (account_url, name, sas) + subprocess.check_output( + [ + self.azcopy, + "copy", + os.path.join(path, "*"), + url, + "--overwrite=true", + "--recursive=true", + ] + ) + subprocess.check_output( [self.azcopy, "sync", path, url, "--delete-destination", "true"] )