debian-forge-composer/vendor
Ondřej Budai 2e39d629a9 worker: add azure image upload target
This commit adds and implements org.osbuild.azure.image target.

Let's talk about the already implemented org.osbuild.azure target firstly:
The purpose of this target is to authenticate using the Azure Storage
credentials and upload the image file as a Page Blob. Page Blob is basically
an object in storage and it cannot be directly used to launch a VM. To achieve
that, you need to define an actual Azure Image with the Page Blob attached.

For the cloud API, we would like to create an actual Azure Image that is
immediately available for new VMs. The new target accomplishes it.
To achieve this, it must use a different authentication method: Azure OAuth.
The other important difference is that currently, the credentials are stored
on the worker and not in target options. This should lead to better security
because we don't send the credentials over network. In the future, we would
like to have credential-less setup using workers in Azure with the right
IAM policies applied but this requires more investigation and is not
implemented in this commit.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-03-06 15:40:48 +00:00
..
cloud.google.com/go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
github.com worker: add azure image upload target 2021-03-06 15:40:48 +00:00
go.opencensus.io internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
golang.org/x internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
google.golang.org internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
gopkg.in/yaml.v2 worker: use openapi spec and generated code 2020-09-06 18:42:23 +01:00
modules.txt worker: add azure image upload target 2021-03-06 15:40:48 +00:00