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

@ -17,7 +17,7 @@ jobs:
steps:
- name: Install test dependencies
run: dnf -y install python3-flexmock python3-httpretty python3-jsonschema python3-koji python3-pylint python3-requests
run: dnf -y install python3-boto3 python3-flexmock python3-httpretty python3-jsonschema python3-koji python3-pylint python3-requests
- name: Check out code
uses: actions/checkout@v3