Ondřej Budai
|
6513263a14
|
upload/azure: force .vhd extension
Azure cannot create an image from a storage blob without .vhd extension.
This commit ensures that image always has the right extension.
|
2020-04-29 18:15:13 +02:00 |
|
Ondřej Budai
|
1d52dfcc2b
|
upload/azure: fix typos
|
2020-04-29 18:15:13 +02:00 |
|
Ondřej Budai
|
5415be465f
|
upload/azure: remove an unneeded custom error type
The errorString was not exported and used anywhere else, this commit replaces
it with a standard method of creating simple errors.
|
2020-04-29 18:15:13 +02:00 |
|
Ondřej Budai
|
e52a35d84e
|
upload/azure: add a context to errors
Debugging azure upload fails is currently pretty hard, this commit adds
a context to all errors Azure upload can emit.
|
2020-04-29 18:15:13 +02:00 |
|
Ondřej Budai
|
d7cbc22da4
|
lint: fix unhandled errors
|
2020-03-02 14:28:55 +01:00 |
|
Ondřej Budai
|
1676cf58da
|
lint: fix gosimple/S1004 errors
|
2020-03-02 14:28:55 +01:00 |
|
Martin Sehnoutka
|
364ea62f59
|
Introduce Azure upload test
The test is very simple, it first upload a file with random content and
then downloads it back and compare hashes.
|
2019-11-29 12:19:40 +01:00 |
|
Martin Sehnoutka
|
1135e9fe01
|
Refactor Azure upload code to a separate package
as part of this, move also the AWS upload code to the same directory
|
2019-11-27 12:14:07 +01:00 |
|