|
5 | 5 | downstream_package_name: buildah
|
6 | 6 | upstream_tag_template: v{version}
|
7 | 7 |
|
| 8 | +# These files get synced from upstream to downstream (Fedora / CentOS Stream) on every |
| 9 | +# propose-downstream job. This is done so tests maintained upstream can be run |
| 10 | +# downstream in Zuul CI and Bodhi. |
| 11 | +# Ref: https://packit.dev/docs/configuration#files_to_sync |
| 12 | +files_to_sync: |
| 13 | + - src: rpm/gating.yaml |
| 14 | + dest: gating.yaml |
| 15 | + delete: true |
| 16 | + - src: plans/ |
| 17 | + dest: plans/ |
| 18 | + delete: true |
| 19 | + mkpath: true |
| 20 | + - src: tests/tmt/ |
| 21 | + dest: tests/tmt/ |
| 22 | + delete: true |
| 23 | + mkpath: true |
| 24 | + - src: .fmf/ |
| 25 | + dest: .fmf/ |
| 26 | + delete: true |
| 27 | + - .packit.yaml |
| 28 | + |
8 | 29 | packages:
|
9 | 30 | buildah-fedora:
|
10 | 31 | pkg_tool: fedpkg
|
|
25 | 46 | notifications: &copr_build_failure_notification
|
26 | 47 | failure_comment:
|
27 | 48 | message: "Ephemeral COPR build failed. @containers/packit-build please check."
|
28 |
| - targets: |
| 49 | + targets: &fedora_copr_targets |
29 | 50 | - fedora-all-x86_64
|
30 | 51 | - fedora-all-aarch64
|
31 | 52 | enable_net: true
|
|
47 | 68 | trigger: pull_request
|
48 | 69 | packages: [buildah-centos]
|
49 | 70 | notifications: *copr_build_failure_notification
|
50 |
| - targets: |
| 71 | + targets: ¢os_copr_targets |
51 | 72 | - centos-stream-9-x86_64
|
52 | 73 | - centos-stream-9-aarch64
|
53 | 74 | - centos-stream-10-x86_64
|
|
66 | 87 | project: podman-next
|
67 | 88 | enable_net: true
|
68 | 89 |
|
| 90 | + # Tests on Fedora for main branch PRs |
| 91 | + - job: tests |
| 92 | + trigger: pull_request |
| 93 | + packages: [buildah-fedora] |
| 94 | + targets: &fedora_copr_test_targets |
| 95 | + - fedora-all-x86_64 |
| 96 | + tf_extra_params: |
| 97 | + environments: |
| 98 | + - artifacts: |
| 99 | + - type: repository-file |
| 100 | + id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo |
| 101 | + |
| 102 | + # Tests on CentOS Stream for main branch PRs |
| 103 | + - job: tests |
| 104 | + trigger: pull_request |
| 105 | + packages: [buildah-centos] |
| 106 | + targets: ¢os_copr_test_targets |
| 107 | + - centos-stream-9-x86_64 |
| 108 | + - centos-stream-10-x86_64 |
| 109 | + tf_extra_params: |
| 110 | + environments: |
| 111 | + - artifacts: |
| 112 | + - type: repository-file |
| 113 | + id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo |
| 114 | + |
69 | 115 | # Sync to Fedora
|
70 | 116 | - job: propose_downstream
|
71 | 117 | trigger: release
|
|
0 commit comments