Update to 48
Use tmt based tests instead of STI Resolves: rhbz#2011777
This commit is contained in:
parent
0a6907053e
commit
07927c9639
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,3 +39,4 @@
|
||||
/osbuild-45.tar.gz
|
||||
/osbuild-46.tar.gz
|
||||
/osbuild-47.tar.gz
|
||||
/osbuild-48.tar.gz
|
||||
|
@ -1,7 +1,7 @@
|
||||
%global forgeurl https://github.com/osbuild/osbuild
|
||||
%global selinuxtype targeted
|
||||
|
||||
Version: 47
|
||||
Version: 48
|
||||
|
||||
%forgemeta
|
||||
|
||||
@ -248,6 +248,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 16 2022 Chloe Kaubisch <chloe.kaubisch@gmail.com> - 48-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Feb 02 2022 Jacob Kozol <jacobdkozol@gmail.com> - 47-1
|
||||
- New upstream release
|
||||
|
||||
|
17
plans/tests.fmf
Normal file
17
plans/tests.fmf
Normal file
@ -0,0 +1,17 @@
|
||||
summary: Run osbuild tests
|
||||
prepare:
|
||||
how: install
|
||||
package:
|
||||
- git
|
||||
- make
|
||||
- python3-mako
|
||||
- python3-pytest
|
||||
- osbuild
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
execute:
|
||||
how: tmt
|
||||
adjust:
|
||||
enabled: false
|
||||
when: distro == centos-stream-9
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (osbuild-47.tar.gz) = 3767661bfeae60d53c895c276cb111f3b1b5fe422200c817b9828fa0526ac9257e08741ffce50522e503cb004ebd8b1bf5260f8014ee3e722087df70b738aec3
|
||||
SHA512 (osbuild-48.tar.gz) = 009f6afe3aa8664ca030eaefcfcb4657470a5f0879d81b35dcf38b5516549fab6f0337bdc3544c6031684d76c0e71e4a131c06b915840c7f8813fcaee52ccdf5
|
||||
|
2
tests/image.fmf
Normal file
2
tests/image.fmf
Normal file
@ -0,0 +1,2 @@
|
||||
summary: Run image test
|
||||
test: osbuild test-image.json --output-directory=/var/tmp/osbuild
|
@ -1,20 +0,0 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- git
|
||||
- make
|
||||
- python3-mako
|
||||
- python3-pytest
|
||||
tests:
|
||||
- unit:
|
||||
dir: source
|
||||
run: python3 -m pytest test/mod
|
||||
- image:
|
||||
dir: tests
|
||||
run: osbuild test-image.json --output-directory=/var/tmp/osbuild
|
2
tests/unit.fmf
Normal file
2
tests/unit.fmf
Normal file
@ -0,0 +1,2 @@
|
||||
summary: Run unit tests using upstream source
|
||||
test: cd ../osbuild-*/ && python3 -m pytest test/mod
|
Loading…
Reference in New Issue
Block a user