osbuild-composer/tests/scripts/run_tests.sh
Alexander Todorov dd02361615
Copy over gating config from c9s and adjust for RHEL-10
Resolves: RHELMISC-3930
2024-05-21 18:12:25 +02:00

20 lines
670 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
TOPDIR=$1
# Print some information about the machine
df -h
free -h
rpm -qa
find /etc/yum.repos.d -type f -print -exec cat {} \;
# Run only basic smoke tests.
# Our test-suite is currently very thorough and it builds a lot of images.
# On some runs, TFT was able to build one image for 25 minutes. Our test
# suite builds more than 25 images which means that the full test-suite
# can run for more than 10 hours. That's just too slow and since we are also
# able to run downstream tests on our much faster upstream infrastructure.
# I think that it's enough to do just smoke tests here.
/usr/libexec/tests/osbuild-composer/base_tests.sh