[packit] 0.7.0 upstream release

Upstream tag: 0.7.0
Upstream commit: e121363b

Signed-off-by: Packit <hello@packit.dev>
This commit is contained in:
Packit 2022-10-07 14:32:19 +00:00
commit dcfa709e8a
9 changed files with 90 additions and 17 deletions

12
plans/full.fmf Normal file
View file

@ -0,0 +1,12 @@
summary:
Unit & integration tests
discover+:
filter: tier:1
adjust:
- when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9"
because: "flexmock is not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251"
prepare:
- how: install
package: python3-pip
- how: shell
script: pip3 install flexmock

14
plans/git_reference.py Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/python
import subprocess
from pathlib import Path
import fmf
tree_root = Path.cwd().absolute()
node = fmf.Tree(tree_root).find("/plans")
with node as data:
data["discover"]["url"] = "https://github.com/packit/specfile.git"
data["discover"]["ref"] = (
subprocess.check_output(["git", "rev-parse", "HEAD"]).decode().strip()
)

6
plans/main.fmf Normal file
View file

@ -0,0 +1,6 @@
discover:
how: fmf
url: https://github.com/packit/specfile.git
ref: e121363bba69e8fcc49eac8df4d6ef60ef1acf69
execute:
how: tmt

4
plans/smoke.fmf Normal file
View file

@ -0,0 +1,4 @@
summary:
Basic smoke test
discover+:
filter: tier:0