Skip to content

Commit db0f0d4

Browse files
committed
Enable tests downstream via packit/tmt
Signed-off-by: Nicola Sella <[email protected]>
1 parent 4812b5a commit db0f0d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.packit.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ files_to_sync:
1515
dest: plans/
1616
delete: true
1717
mkpath: true
18-
- src: tests/
19-
dest: tests/
20-
delete: true
21-
mkpath: true
2218
- src: .fmf/
2319
dest: .fmf/
2420
delete: true
@@ -36,6 +32,10 @@ packages:
3632
python-podman-rhel:
3733
specfile_path: rpm/python-podman.spec
3834

35+
actions:
36+
prepare-files: >-
37+
bash -c "sed -i 's/^\(\s*\)ref: .*/\1ref: \"${PACKIT_PROJECT_TAG}\"/' ${PACKIT_DOWNSTREAM_REPO}/plans/main.fmf"
38+
3939
srpm_build_deps:
4040
- make
4141

0 commit comments

Comments
 (0)