koji_test.py: test upload to cloud with AWS

Extend the integration test with a new case, testing that direct upload
to the cloud works for Koji composes. Test this using a single cloud
provider, specifically AWS.

The test case submits a new osbuild-image build using Koji CLI,
determines the image information once the build finishes and then checks
that such image exists in AWS. The image is then deleted as part of the
test case tear-down.

The AWS credentials are now configured in the worker's configuration, if
the appropriate environment variables are set.

Update the SPEC file with a new test dependency and update the required
osbuild-composer version.
This commit is contained in:
Tomas Hozza 2022-08-09 11:35:06 +02:00 committed by Ondřej Budai
parent c76e97ddc9
commit d1e064aec3
6 changed files with 176 additions and 7 deletions

View file

@ -143,10 +143,11 @@ Requires: jq
Requires: koji
Requires: krb5-workstation
Requires: openssl
Requires: osbuild-composer >= 22
Requires: osbuild-composer >= 58
Requires: osbuild-composer-tests
Requires: podman
Requires: podman-plugins
Requires: python3-boto3
%description tests
Integration tests for koji-osbuild. To be run on a dedicated system.