debian-forge-composer/internal/cloud
Tomas Hozza 249661a948 worker: rework GCP credentials handling
Refactor the handling of GCP credentials in the worker to be equivalent
to what is done for AWS. The main idea is that the code decides which
credentials to use when processing each job. This change will allow
preferring credentials passed via upload `TargetOptions` with the job,
over the credentials configured in worker's configuration or the default
way of authenticating implemented by the Google library.

Move loading of GCP credentials to the internal `gcp` library into
`NewFromFile()` function accepting path to the file with credentials.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2022-04-14 19:07:31 +01:00
..
awscloud OSBuild - add support for generic S3 services 2022-04-07 15:01:01 +02:00
gcp worker: rework GCP credentials handling 2022-04-14 19:07:31 +01:00