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]: containers#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

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
  • Loading branch information
lsm5 committed Sep 10, 2024
1 parent 3edf8d4 commit 193a07b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ downstream_package_name: crun
files_to_sync:
- src: rpm/gating.yaml
dest: gating.yaml
mkpath: true
- 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 193a07b

Please # to comment.