Print upload size in the logs after deploying Nexus
stage repositories. This is useful while comparing
the repository sizes.
Change-Id: Ie8cff4ae6e026177cd43c309d4f3a36bab9c7beb
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
_format_url(nexus_url), staging_repo_id
)
+ sz_m2repo = sum(os.path.getsize(f) for f in os.listdir(deploy_dir) if os.path.isfile(f))
+ log.debug("Staging repository upload size: {} bytes".format(sz_m2repo))
+
log.debug("Nexus Staging URL: {}".format(_format_url(deploy_nexus_url)))
deploy_nexus(deploy_nexus_url, deploy_dir)
--- /dev/null
+---
+fixes:
+ - |
+ Print upload size while deploying Nexus stage repositories. This is useful
+ while comparing the repository sizes being uploaded or released.