|
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_targets |
| 95 | + require: &dev_tests |
| 96 | + label: |
| 97 | + absent: |
| 98 | + - release |
| 99 | + tf_extra_params: |
| 100 | + environments: |
| 101 | + - artifacts: |
| 102 | + - type: repository-file |
| 103 | + id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo |
| 104 | + identifier: "dev-fedora" |
| 105 | + |
| 106 | + # Tests on Fedora release branch PRs |
| 107 | + - job: tests |
| 108 | + trigger: pull_request |
| 109 | + packages: [buildah-fedora] |
| 110 | + targets: *fedora_copr_targets |
| 111 | + require: &release_tests |
| 112 | + label: |
| 113 | + present: |
| 114 | + - release |
| 115 | + preserve_project: true |
| 116 | + identifier: "release-fedora" |
| 117 | + |
| 118 | + # Tests on CentOS Stream for main branch PRs |
| 119 | + - job: tests |
| 120 | + trigger: pull_request |
| 121 | + packages: [buildah-centos] |
| 122 | + targets: *centos_copr_targets |
| 123 | + require: *dev_tests |
| 124 | + tf_extra_params: |
| 125 | + environments: |
| 126 | + - artifacts: |
| 127 | + - type: repository-file |
| 128 | + id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo |
| 129 | + identifier: "dev-centos" |
| 130 | + |
| 131 | + # Tests on CentOS Stream for release branch PRs |
| 132 | + - job: tests |
| 133 | + trigger: pull_request |
| 134 | + packages: [buildah-centos] |
| 135 | + targets: *centos_copr_targets |
| 136 | + require: *release_tests |
| 137 | + preserve_project: true |
| 138 | + identifier: "release-centos" |
| 139 | + |
69 | 140 | # Sync to Fedora
|
70 | 141 | - job: propose_downstream
|
71 | 142 | trigger: release
|
|
0 commit comments