Skip to content

Commit c7723ee

Browse files
Try running TMT test in container
Signed-off-by: Frantisek Lachman <[email protected]>
1 parent 784fa8e commit c7723ee

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.packit.yaml

+13-18
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,28 @@ downstream_package_name: hello
1111
# create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."]
1212

1313
jobs:
14-
- job: copr_build
15-
trigger: pull_request
16-
metadata:
17-
targets:
18-
- fedora-all
19-
2014
- job: copr_build
2115
trigger: release
22-
metadata:
23-
targets:
24-
- fedora-stable
16+
targets:
17+
- fedora-stable
2518

2619
- job: copr_build
2720
trigger: commit
28-
metadata:
29-
branch: main
30-
targets:
31-
- fedora-stable
21+
branch: main
22+
targets:
23+
- fedora-stable
3224

3325
- job: tests
3426
trigger: pull_request
35-
metadata:
36-
targets:
37-
- fedora-all
27+
targets:
28+
- fedora-38
29+
skip_build: true
30+
tf_extra_params:
31+
environments:
32+
os:
33+
compose: null
3834

3935
- job: propose_downstream
4036
trigger: release
4137
packit_instances: ["stg"]
42-
metadata:
43-
dist-git-branch: fedora-all
38+
dist-git-branch: fedora-all

plans/test.fmf

+5
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ execute:
1111
- systemctl start httpd
1212
- echo foo > /var/www/html/index.html
1313
- curl http://localhost/ | grep foo
14+
15+
provision:
16+
how: container
17+
image: fedora:latest
18+

0 commit comments

Comments
 (0)