Skip to content

Commit

Permalink
Packit: Create missing path components in files_to_sync
Browse files Browse the repository at this point in the history
Packit's propose-downstream failed[0] for crun 1.17 because packit wasn't
able to create `tests/tmt` path structure in the downstream repo[1].
[0]: #1558
[1]: https://dashboard.packit.dev/jobs/propose-downstream/10800

Using `mkpath: true` will create missing path components if any.
Ref: https://packit.dev/docs/configuration#files_to_sync

Fixes: #1558

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
  • Loading branch information
lsm5 committed Sep 10, 2024
1 parent 3edf8d4 commit 969fd2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ files_to_sync:
- src: plans/
dest: plans/
delete: true
mkpath: true
- src: tests/tmt/
dest: tests/tmt/
delete: true
mkpath: true
- src: .fmf/
dest: .fmf/
delete: true
mkpath: true
- .packit.yaml

packages:
Expand Down

0 comments on commit 969fd2e

Please sign in to comment.