File tree Expand file tree Collapse file tree 4 files changed +92
-2
lines changed
Expand file tree Collapse file tree 4 files changed +92
-2
lines changed Original file line number Diff line number Diff line change 1+ 1
Original file line number Diff line number Diff line change 55downstream_package_name : conmon
66upstream_tag_template : v{version}
77
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 : .fmf/
21+ dest : .fmf/
22+ delete : true
23+ - .packit.yaml
24+
825packages :
926 conmon-fedora :
1027 pkg_tool : fedpkg
2340 failure_comment :
2441 message : " Ephemeral COPR build failed. @containers/packit-build please check."
2542 enable_net : true
26- targets :
43+ targets : &fedora_copr_targets
2744 - fedora-all-aarch64
2845 - fedora-all-x86_64
2946
4158 packages : [conmon-centos]
4259 notifications : *copr_build_failure_notification
4360 enable_net : true
44- targets :
61+ targets : ¢os_copr_targets
4562 - centos-stream-10-aarch64
4663 - centos-stream-10-x86_64
4764 - centos-stream-9-aarch64
5875 project : podman-next
5976 enable_net : true
6077
78+ - job : tests
79+ trigger : pull_request
80+ packages : [conmon-fedora]
81+ targets : *fedora_copr_targets
82+ enable_net : true
83+ tf_extra_params :
84+ environments :
85+ - artifacts :
86+ - type : repository-file
87+ id : https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
88+
89+ - job : tests
90+ trigger : pull_request
91+ packages : [conmon-centos]
92+ targets : *centos_copr_targets
93+ enable_net : true
94+ tf_extra_params :
95+ environments :
96+ - artifacts :
97+ - type : repository-file
98+ id : https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo
99+
61100 # Downstream sync for Fedora
62101 - job : propose_downstream
63102 trigger : release
Original file line number Diff line number Diff line change 1+ prepare:
2+ - when: distro == centos-stream or distro == rhel
3+ how: shell
4+ script: |
5+ dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
6+ dnf -y config-manager --set-enabled epel
7+ order: 10
8+ - when: initiator == packit
9+ how: shell
10+ script: |
11+ COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
12+ if compgen -G $COPR_REPO_FILE > /dev/null; then
13+ sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
14+ fi
15+ dnf -y upgrade --allowerasing
16+ order: 20
17+
18+ discover:
19+ how: fmf
20+ url: https://github.com/lsm5/podman
21+ ref: "tmt-fedora-centos"
22+
23+ execute:
24+ how: tmt
25+
26+ /system/local-root:
27+ summary: Run podman system rootful tests
28+ discover+:
29+ test: /test/tmt/system/local-root
30+
31+ /system/local-rootless:
32+ summary: Run podman system rootless tests
33+ discover+:
34+ test: /test/tmt/system/local-rootless
Original file line number Diff line number Diff line change 1+ --- !Policy
2+ product_versions :
3+ - fedora-*
4+ decision_contexts :
5+ - bodhi_update_push_stable
6+ - bodhi_update_push_testing
7+ subject_type : koji_build
8+ rules :
9+ - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
10+
11+ --- !Policy
12+ product_versions :
13+ - rhel-*
14+ decision_context : osci_compose_gate
15+ rules :
16+ - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
You can’t perform that action at this time.
0 commit comments