debian-forge-composer/test/cases
Ygal Blum feb357e538 Support Generic S3 upload in Composer API
Use case
--------
If Endpoint is not set and Region is - upload to AWS S3
If both the Endpoint and Region are set - upload the Generic S3 via Weldr API
If neither the Endpoint and Region are set - upload the Generic S3 via Composer API (use configuration)

jobimpl-osbuild
---------------
Add configuration fields for Generic S3 upload
Support S3 upload requests coming from Weldr or Composer API to either AWS or Generic S3
Weldr API for Generic S3 requires that all connection parameters but the credentials be passed in the API call
Composer API for Generic S3 requires that all conneciton parameters are taken from the configuration
Adjust to the consolidation in Target and UploadOptions

Target and UploadOptions
------------------------
Add the fields that were specific to the Generic S3 structures to the AWS S3 one
Remove the structures for Generic S3 and always use the AWS S3 ones

Worker Main
-----------
Add Endpoint, Region, Bucket, CABundle and SkipSSLVerification to the configuration structure
Pass the values to the Server

Weldr API
---------
Keep the generic.s3 provider name to maintain the API, but unmarshel into awsS3UploadSettings

tests - api.sh
--------------
Allow the caller to specifiy either AWS or Generic S3 upload targets for specific image types
Implement the pieces required for testing upload to a Generic S3 service
In some cases generalize the AWS S3 functions for reuse

GitLab CI
---------
Add test case for api.sh tests with edge-commit and generic S3
2022-06-02 16:12:53 +03:00
..
api.sh Support Generic S3 upload in Composer API 2022-06-02 16:12:53 +03:00
aws.sh test: add prominent message in test script cleanup functions 2022-05-25 22:10:27 +02:00
aws_s3.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
azure.sh test: add prominent message in test script cleanup functions 2022-05-25 22:10:27 +02:00
azure_hyperv_gen2.sh Test Azure images on HyperV Gen1 and Gen2 2021-06-22 13:44:19 +03:00
base_tests.sh test: add test purpose 2022-03-09 22:46:25 +01:00
cross-distro.sh tests/cross-distro: filter out beta and stream repos 2022-02-07 11:37:13 +02:00
filesystem.sh tests: Better implementation for ab30694 2022-02-26 17:53:09 +00:00
gcp.sh test: add prominent message in test script cleanup functions 2022-05-25 22:10:27 +02:00
generic_s3.sh test: add prominent message in test script cleanup functions 2022-05-25 22:10:27 +02:00
generic_s3_http.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
generic_s3_https_insecure.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
generic_s3_https_secure.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
image_tests.sh test/image-tests: temporarily skip azure_rhui image testing 2022-03-08 13:19:34 +01:00
installers.sh test: save installer test manifest and build log 2022-03-28 14:08:57 +02:00
koji.sh test/koji: install podman-plugins everywhere 2022-03-08 12:07:00 +01:00
libvirt.sh test: add test purpose 2022-03-09 22:46:25 +01:00
manifest_tests.sh Test all manifests with depsolved package sets 2021-11-19 19:50:25 +01:00
multi-tenancy.sh cloudapi: Drop bucket from composer config 2022-06-01 12:03:12 +02:00
ostree-ng.sh test: Add fedora-iot-container and fedora-iot-installer tests 2022-05-09 12:25:21 +02:00
ostree-raw-image.sh test/cases: use correct OS_VARIANT for CentOS Stream 9 2022-02-18 10:39:08 +00:00
ostree-rebase.sh test: Enable CS9 test for ostree-rebase and ostree 2022-04-06 08:59:37 +02:00
ostree-simplified-installer.sh test: Clean up and improve ostree-simplified-installer.sh 2022-03-29 08:09:37 +02:00
ostree.sh test/ostree: update ostree compose request to match new requirements 2022-02-23 11:08:24 +01:00
regression-bigiso.sh tests/ci: split regression tests 2022-04-04 12:18:53 +02:00
regression-composer-works-behind-satellite-fallback.sh test: add prominent message in test script cleanup functions 2022-05-25 22:10:27 +02:00
regression-composer-works-behind-satellite.sh test: add prominent message in test script cleanup functions 2022-05-25 22:10:27 +02:00
regression-excluded-dependency.sh tests/ci: split regression tests 2022-04-04 12:18:53 +02:00
regression-include-excluded-packages.sh tests/ci: split regression tests 2022-04-04 12:18:53 +02:00
regression-no-explicit-rootfs-definition.sh Properly skip Fedora distros 2022-04-11 15:27:15 +02:00
regression-old-worker-new-composer.sh test/old-worker: don't fail when stopping containers 2022-06-01 11:36:52 +01:00
shared_lib.sh tests: Add nvr checking into a shared library 2022-02-04 23:43:43 +01:00
upgrade8to9.sh tests/upgrade: update gpg key 2022-03-22 10:54:30 +01:00
vmware.sh test: add test purpose 2022-03-09 22:46:25 +01:00