debian-forge-composer/cmd/osbuild-worker
Tomas Hozza 7e6adec695 worker: refactor handling of GCP credentials
Make the handling of GCP credentials more consistent with what is being
done e.g. for Azure. Make the GCP section in worker's configuration a
pointer so that it does not show up in the printed worker's
configuration during start up if it was not specified in the actual
configuration file.

Load the GCP credentials file, if provided, during the worker start up to
prevent failure later on while processing a job with GCP upload target.
Pass the loaded GCP credentials as []byte to the OSBuildJobImpl.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-03-12 12:17:02 +01:00
..
jobimpl-koji-finalize.go worker/koji-finalize: check the dependencies early 2020-11-25 22:24:22 +00:00
jobimpl-koji-init.go workerapi: serialize koji errors as strings 2020-11-13 09:39:55 +01:00
jobimpl-osbuild-koji.go worker: keep output directory in /var/cache 2021-02-20 14:53:49 +01:00
jobimpl-osbuild.go worker: refactor handling of GCP credentials 2021-03-12 12:17:02 +01:00
main.go worker: refactor handling of GCP credentials 2021-03-12 12:17:02 +01:00
main_test.go koji: add signature to the CGImport metadata components 2020-10-27 19:01:30 +00:00
osbuild.go worker/osbuild: print raw osbuild output if it cannot be parsed 2020-11-25 07:37:44 +00:00