diff --git a/.packit.yaml b/.packit.yaml index dce8acc3..d23e759f 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -10,13 +10,8 @@ downstream_package_name: hello # post-upstream-clone: "python3 setup.py sdist --dist-dir ." # current_version_command: ["python3", "setup.py", "--version"] # create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."] -jobs: -- job: copr_build - trigger: pull_request - targets: - - fedora-stable-x86_64 - - fedora-rawhide-x86_64 +jobs: - job: copr_build trigger: release targets: @@ -28,14 +23,29 @@ jobs: targets: - fedora-stable +- job: copr_build + trigger: pull_request + targets: + - fedora-37 + - fedora-38 + - job: tests trigger: pull_request targets: - - fedora-stable-x86_64 - - fedora-rawhide-x86_64 + - fedora-37 + tf_extra_params: + environments: + - os: null + variables: + IMAGE: fedora:37 -- job: propose_downstream - trigger: release - packit_instances: ["stg"] - dist_git_branches: - - fedora-all +- job: tests + trigger: pull_request + targets: + - fedora-38 + skip_build: true + tf_extra_params: + environments: + - os: null + variables: + IMAGE: fedora:38 diff --git a/plans/test.fmf b/plans/test.fmf index 0e6b5e26..de37449e 100644 --- a/plans/test.fmf +++ b/plans/test.fmf @@ -2,12 +2,16 @@ prepare: how: install package: - - curl - - httpd + - git execute: how: tmt script: - - systemctl start httpd - - echo foo > /var/www/html/index.html - - curl http://localhost/ | grep foo + - env + - sh -c "echo $container" + - rpm -qv hello + - hello world! + +provision: + how: container + image: $IMAGE \ No newline at end of file