debian-forge-composer/internal
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
..
blueprint rhel84/grub2: set saved_entry 2021-02-20 20:01:15 +01:00
boot upload/azure: rename Image to PageBlob 2021-03-06 15:40:48 +00:00
client test: Add tests for trying to override a system source repo 2021-01-29 08:25:23 -08:00
cloudapi api/cloud: remove magic constants 2021-03-06 15:40:48 +00:00
common weldr: move common.ComposeState to weldr 2020-11-09 14:17:19 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk distro/rhel84: remove hardcoded root partition UUIDs 2020-12-15 16:43:39 +01:00
distro rhel84/grub2: set saved_entry 2021-02-20 20:01:15 +01:00
jobqueue jobqueue: Replace JobArgs() with Job() 2021-01-19 10:37:51 +01:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
kojiapi kojiapi: Job not found should return 404 2021-01-19 10:37:51 +01:00
mocks jobqueue: remove testjobqueue 2021-01-12 12:19:25 +01:00
osbuild rhel84/grub2: set saved_entry 2021-02-20 20:01:15 +01:00
rpmmd rpmmd/Depsolve: expose whether to check GPG signature for each RPM 2020-06-10 19:25:54 +02:00
store distro/rhel84: use a random uuid for XFS partition 2020-12-15 16:43:39 +01:00
target worker: add azure image upload target 2021-03-06 15:40:48 +00:00
test test: add arch to the generate test artifact names 2020-12-01 08:27:44 +01:00
upload worker: add azure image upload target 2021-03-06 15:40:48 +00:00
weldr weldr/compose/ostree: introduce URL parameter 2021-02-20 14:53:49 +01:00
worker cloudapi: add targetresults 2021-03-02 13:22:11 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00