debian-forge-composer/internal/weldr
Tomas Hozza ee285e5e8a Weldr: support GCP upload target
Add support for importing the GCE image into GCP using Weldr API. The
credentials to be used can be specified in the upload settings and will
be then used by the worker to authenticate with GCP.

The GCP target credentials are passed to Weldr API as base64 encoded
content of the GCP credentials JSON file. The reason is that the JSON
file contains many values and its format could change in the future.
This way, the Weldr API does not rely on the credentials file content
format in any way.

Add a new test case for the GCP upload via Weldr and run it in CI.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2022-04-14 19:07:31 +01:00
..
api.go weldr: update our use of BurntSushi/toml 2022-04-08 09:45:46 +02:00
api_test.go weldr: update our use of BurntSushi/toml 2022-04-08 09:45:46 +02:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
compose_test.go test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
json.go tests: update base tests for weldr-client 2021-08-25 19:16:04 +02:00
upload.go Weldr: support GCP upload target 2022-04-14 19:07:31 +01:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00