debian-forge-composer/internal/target
Ygal Blum bee14bf392 OSBuild - add support for generic S3 services
jobimpl-osbuild
---------------
Add GenericS3Creds to struct
Add method to create AWS with Endpoint for Generic S3 (with its own credentials file)
Move uploading to S3 and result handling to a separate method (along with the special VMDK handling)
adjust the AWS S3 case to the new method
Implement a new case for uploading to a generic S3 service

awscloud
--------
Add wrapper methods for endpoint support
Set the endpoint to the AWS session
Set s3ForcePathStyle to true if endpoint was set

Target
------
Define a new target type for the GenericS3Target and Options
Handle unmarshaling of the target options and result for the Generic S3

Weldr
-----
Add support for only uploading to AWS S3
Define new structures for AWS S3 and Generic S3 (based on AWS S3)
Handle unmarshaling of the providers settings' upload settings

main
----
Add a section in the main config for the Generic S3 service for credentials
If provided pass the credentials file name to the osbuild job implementation

Upload Utility
--------------
Add upload-generic-s3 utility

Makefile
------
Do not fail if the bin directory already exists

Tests
-----
Add test cases for both AWS and a generic S3 server
Add a generic s3_test.sh file for both test cases and add it to the tests RPM spec
Adjust the libvirt test case script to support already created images
GitLabCI - Extend the libvirt test case to include the two new tests
2022-04-07 15:01:01 +02:00
..
aws_target.go Support for temporary credentials 2021-09-02 15:13:42 +02:00
azure_image_target.go worker: add azure image upload target 2021-03-06 15:40:48 +00:00
azure_target.go target/azure: document what it does 2021-03-06 15:40:48 +00:00
gcp_target.go cloudapi: implement GCP target results and include UploadOptions 2021-03-04 15:44:04 +01:00
generic_s3_target.go OSBuild - add support for generic S3 services 2022-04-07 15:01:01 +02:00
koji_target.go koji: use nvra as the filename for images 2020-10-27 19:01:30 +00:00
local_target.go worker: support returning returning images as StreamOptimized 2020-08-23 14:45:27 +02:00
oci_target.go Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
target.go OSBuild - add support for generic S3 services 2022-04-07 15:01:01 +02:00
targetresult.go OSBuild - add support for generic S3 services 2022-04-07 15:01:01 +02:00
vmware_target.go weldr: add vmware upload target to api 2021-02-16 19:06:01 +00:00