Update gating to be compatible with tmt
This commit is contained in:
parent
ae415191fd
commit
f89bd0c9b7
8
tests/plans/all.fmf
Normal file
8
tests/plans/all.fmf
Normal file
@ -0,0 +1,8 @@
|
||||
summary: Run gating tests
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
dist-git-type: centos
|
||||
|
||||
execute:
|
||||
how: tmt
|
6
tests/scripts/main.fmf
Normal file
6
tests/scripts/main.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
summary: Run tlog tier1 tests
|
||||
require:
|
||||
- git
|
||||
- tlog
|
||||
test: ./run_tests.sh -m tier1
|
||||
duration: 30m
|
@ -9,6 +9,14 @@ if rlIsRHEL '>=9'; then
|
||||
dnf --enablerepo rhel-buildroot install python3-pytest -y
|
||||
fi
|
||||
|
||||
# RHEL10 cloud-init disables password authentication
|
||||
# tlog tests need this to run currently
|
||||
cat > /etc/ssh/sshd_config.d/00-tlog-override.conf <<EOF
|
||||
PasswordAuthentication yes
|
||||
EOF
|
||||
chmod 600 /etc/ssh/sshd_config.d/00-tlog-override.conf
|
||||
systemctl restart sshd
|
||||
|
||||
git clone https://github.com/Scribery/tlog.git
|
||||
pushd tlog/src/tlitest
|
||||
./tlitest-setup
|
||||
|
Loading…
Reference in New Issue
Block a user