Now that EC2 image testing is working well for Fedora 32, enable it for all of the distros. Also, make it less special and allow it to run with the other image tests. Remove the `ami-boot` test from the list of regular image test cases since it will be thoroughly tested via an import into AWS. Signed-off-by: Major Hayden <major@redhat.com>
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
## Global test variables
|
|
# Tests should use this as their working directory. This part is critical
|
|
# since dnf-json must be in $PATH.
|
|
tests_working_directory: /usr/libexec/osbuild-composer
|
|
|
|
# The test executables are here.
|
|
tests_path: /usr/libexec/tests/osbuild-composer
|
|
|
|
# Frequency to check for completed tests.
|
|
polling_interval: 15
|
|
|
|
## Non-image test variables.
|
|
# List of base tests
|
|
osbuild_composer_base_tests:
|
|
- osbuild-rcm-tests
|
|
- osbuild-weldr-tests
|
|
- osbuild-dnf-json-tests
|
|
- osbuild-tests
|
|
|
|
## Image test variables.
|
|
# Executable that runs image tests.
|
|
image_test_executable: "{{ tests_path }}/osbuild-image-tests"
|
|
|
|
# Location of image test case files.
|
|
image_test_case_path: /usr/share/tests/osbuild-composer/cases
|
|
|
|
# List of image tests
|
|
osbuild_composer_image_test_cases:
|
|
- ext4_filesystem-boot.json
|
|
- openstack-boot.json
|
|
- partitioned_disk-boot.json
|
|
- qcow2-boot.json
|
|
- tar-boot.json
|
|
- vhd-boot.json
|
|
- vmdk-boot.json
|
|
|
|
# Environment variables for image tests.
|
|
osbuild_composer_image_env_vars: {}
|
|
|
|
# List of AWS test cases
|
|
osbuild_composer_aws_test_cases:
|
|
- ami-boot.json
|
|
|
|
# Environment variables for AWS tests.
|
|
osbuild_composer_aws_env_vars:
|
|
AWS_BUCKET: "{{ lookup('env', 'AWS_BUCKET') }}"
|
|
AWS_REGION: "{{ lookup('env', 'AWS_REGION') }}"
|
|
AWS_ACCESS_KEY_ID: "{{ lookup('env', 'AWS_ACCESS_KEY_ID') }}"
|
|
AWS_SECRET_ACCESS_KEY: "{{ lookup('env', 'AWS_SECRET_ACCESS_KEY') }}"
|