debian-forge-composer/internal
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
..
auth api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
blueprint blueprint: sanitize user home directories 2022-03-28 14:08:57 +02:00
boot tests: update IDs in Openstack image boot test 2022-02-14 12:13:18 +02:00
client client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
cloud OSBuild - add support for generic S3 services 2022-04-07 15:01:01 +02:00
cloudapi worker/clienterrors: add empty packagespec error 2022-04-06 21:34:02 +01:00
common internal/common: introduce function to convert data sizes 2021-11-02 18:32:47 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk RHEL-90: use XBOOTLDR partition GUID for /boot 2022-03-24 15:40:10 +01:00
distro RHEL(85+): move qemuStageOptions() from distros to osbuild2 2022-04-07 13:48:54 +02:00
distroregistry distroregistry: enable CS9 2022-02-18 10:39:08 +00:00
jobqueue test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
jsondb test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
kojiapi test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
mocks worker: NewServer: move config parameters to a new Config struct 2022-03-08 12:07:00 +01:00
osbuild1 distro: deduplicate groupStageOptions() in RHEL pipelines 2022-04-06 12:09:09 +02:00
osbuild2 RHEL(85+): move qemuStageOptions() from distros to osbuild2 2022-04-07 13:48:54 +02:00
ostree ostree: rename errors and introduce ParameterComboError 2022-02-23 11:08:24 +01:00
prometheus metrics: change job metrics namespace 2022-02-08 15:57:12 +01:00
reporegistry reporegistry: remove unused ReposByArch() function 2022-03-09 23:22:06 +00:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd rpmmd: rename toDNFRepoConfig() argument i -> repoID 2022-03-12 08:36:40 +01:00
store test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
target OSBuild - add support for generic S3 services 2022-04-07 15:01:01 +02:00
test internal/test: add small library for tests 2022-03-08 12:07:00 +01:00
upload koji: fix excessive logging & monitoring 2022-04-05 23:48:30 +02:00
weldr OSBuild - add support for generic S3 services 2022-04-07 15:01:01 +02:00
worker worker/server: fix manifest-id job status 2022-04-06 21:34:02 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00