Skip to content

Commit

Permalink
Try running TMT test in container
Browse files Browse the repository at this point in the history
Signed-off-by: Frantisek Lachman <[email protected]>
  • Loading branch information
lachmanfrantisek committed Jun 23, 2023
1 parent 784fa8e commit c7723ee
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
31 changes: 13 additions & 18 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,28 @@ downstream_package_name: hello
# create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."]

jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-all

- job: copr_build
trigger: release
metadata:
targets:
- fedora-stable
targets:
- fedora-stable

- job: copr_build
trigger: commit
metadata:
branch: main
targets:
- fedora-stable
branch: main
targets:
- fedora-stable

- job: tests
trigger: pull_request
metadata:
targets:
- fedora-all
targets:
- fedora-38
skip_build: true
tf_extra_params:
environments:
os:
compose: null

- job: propose_downstream
trigger: release
packit_instances: ["stg"]
metadata:
dist-git-branch: fedora-all
dist-git-branch: fedora-all
5 changes: 5 additions & 0 deletions plans/test.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ execute:
- systemctl start httpd
- echo foo > /var/www/html/index.html
- curl http://localhost/ | grep foo

provision:
how: container
image: fedora:latest

0 comments on commit c7723ee

Please sign in to comment.