debian-forge-composer/cmd
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-cleaner test: extract GenerateCIArtifactName to test helpers 2020-12-01 08:27:44 +01:00
osbuild-auth-tests test/auth: rework the test to use the new openssl setup 2020-11-05 13:48:48 +01:00
osbuild-composer distro/rhel84: add centos 8 stream support 2021-02-14 16:08:08 +00:00
osbuild-composer-cli-tests tests: rename composer-cli tests 2020-10-06 13:08:26 +02:00
osbuild-dnf-json-tests tree-wide: drop f31 support 2020-10-21 09:04:13 +02:00
osbuild-image-tests test/image: improve logging of failed osbuild execution 2021-03-04 12:29:16 +02:00
osbuild-koji upload/koji: don't pass task_id to cg_init_build 2020-09-16 00:15:02 +01:00
osbuild-koji-tests test/koji: move the koji test to schutzbot 2020-11-02 19:59:28 +01:00
osbuild-pipeline distro/rhel84: add centos 8 stream support 2021-02-14 16:08:08 +00:00
osbuild-store-dump distro/rhel84: use a random uuid for XFS partition 2020-12-15 16:43:39 +01:00
osbuild-upload-aws upload/aws: fix architecture for aarch64 images 2020-12-01 08:27:44 +01:00
osbuild-upload-azure upload/azure: rename Image to PageBlob 2021-03-06 15:40:48 +00:00
osbuild-upload-gcp internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
osbuild-worker worker: add azure image upload target 2021-03-06 15:40:48 +00:00