Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ files_to_sync:
dest: plans/
- src: .fmf/
dest: .fmf/
- src: tests/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't had to do that before. What's changed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why didn't we have to do that? I think it was missing by mistake. Downstream CI tried to execute the tmt plan but could not find the test.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not look as it was not found: https://artifacts.dev.testing-farm.io/78e9d3cd-7980-472a-920e-1e7b4d6454ae/

PackIt finds tests because it uses a GitHub repository. For downstream is used downstream repo:
https://artifacts.dev.testing-farm.io/e0b683ea-6977-4e6f-b034-e6daf66ac1bd/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I check how PackIt uses tmt etc. PackIt discovers tests from upstream. I will change it in another PR.

dest: tests/

# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: openscap-report
Expand All @@ -34,8 +36,15 @@ actions:
jobs:
- job: propose_downstream
trigger: release
identifier: release-rawhide
dist_git_branches:
- fedora-rawhide

- job: propose_downstream
trigger: release
identifier: release-epel8
specfile_path: spec/rhel8/openscap-report.spec
dist_git_branches:
- epel-8

- job: tests
Expand Down