Migrate from STI to tmt

This commit is contained in:
Omair Majid 2023-03-01 14:01:10 -05:00
parent 3d93ceeb6c
commit a4152f1584
4 changed files with 42 additions and 45 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

41
tests/ci.fmf Normal file
View File

@ -0,0 +1,41 @@
summary: Basic smoke test
provision:
disk: 20
memory: 5120
prepare:
how: install
package:
- aspnetcore-runtime-7.0
- babeltrace
- bash-completion
- bc
- binutils
- dotnet-runtime-7.0
- dotnet-sdk-7.0
- expect
- file
- findutils
- gcc-c++
- git
- jq
- libstdc++-devel
- lldb
- lttng-tools
- npm
- postgresql-odbc
- postgresql-server
- procps-ng
- python3
- strace
- util-linux
- wget
- which
- zlib-devel
execute:
script:
- dotnet --info
- wget --no-verbose https://github.com/redhat-developer/dotnet-bunny/releases/latest/download/turkey.tar.gz
- tar xf turkey.tar.gz
- dotnet turkey/Turkey.dll --version
- git clone "https://github.com/redhat-developer/dotnet-regular-tests.git"
- dotnet turkey/Turkey.dll -l="$TMT_TEST_DATA" dotnet-regular-tests --timeout=1200

View File

@ -1,6 +0,0 @@
---
standard-inventory-qcow2:
qemu:
m: 5G

View File

@ -1,39 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
- container
- atomic
repositories:
- repo: "https://github.com/redhat-developer/dotnet-regular-tests.git"
dest: "dotnet-regular-tests"
version: main
tests:
- download_test_runner:
dir: ./
run: wget --no-verbose https://github.com/redhat-developer/dotnet-bunny/releases/latest/download/turkey.tar.gz && tar xf turkey.tar.gz
- print_test_runner_version:
dir: ./
run: dotnet turkey/Turkey.dll --version
- regular:
dir: ./
run: dotnet turkey/Turkey.dll -l={{ remote_artifacts }} dotnet-regular-tests
required_packages:
- aspnetcore-runtime-7.0
- babeltrace
- bash-completion
- binutils
- dotnet-sdk-7.0
- dotnet-runtime-7.0
- expect
- git
- jq
- lldb
- lttng-tools
- npm
- python3
- strace
- wget
- which