TMT: additions to make local TMT runs similar to testing-farm

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
Lokesh Mandvekar
2025-08-26 11:48:23 -04:00
parent 16897af59a
commit d5881b947e
2 changed files with 13 additions and 4 deletions

View File

@@ -24,3 +24,11 @@ prepare:
fi
dnf -y upgrade --allowerasing
order: 20
- name: Disable installing everything from srpm
how: install
exclude:
- ".*"
- name: Install the main package
how: install
package:
- skopeo-tests

View File

@@ -1,6 +1,3 @@
require:
- skopeo-tests
environment:
SKOPEO_BINARY: /usr/bin/skopeo
@@ -11,8 +8,12 @@ adjust:
summary: System test
test: |
rpm -q containers-common skopeo skopeo-tests
rpm -q containers-common skopeo-tests
# If these tests are to be run anywhere else, TMT can fetch
# them using the URL and git ref, so git commands should work.
make -C $(git rev-parse --show-toplevel) test-system-local
require:
- git-core
- make
- skopeo-tests
duration: 60m