Introduce Azure upload CLI utility
It uses Azure SDK to connect to Azure storage, creates a container there and uploads the image. Unfortunately the API for page blobs does not include some thread pool for upload so I implemented one myself. The performance can be tweaked using the upload chunk size and number of parallel threads. The package is prepared to be refactored into common module within internals package as soon as we agree on the of these common packages for image upload. Add azure-blob-storage rpm package as a dependency It didn't work for me using the `golang(package)` syntax. Using the package name explicitly works.
This commit is contained in:
parent
4910cd18e3
commit
78ea0e0b6f
6 changed files with 162 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,3 +3,4 @@ __pycache__
|
|||
/osbuild-composer
|
||||
/osbuild-worker
|
||||
/osbuild-pipeline
|
||||
/osbuild-upload-azure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue