792a64c55e
Upstream tag: v1.11.0 Upstream commit: 666d7b15 Commit authored by Packit automation (https://packit.dev/)
190 lines
5.5 KiB
YAML
190 lines
5.5 KiB
YAML
---
|
|
# See the documentation for more information:
|
|
# https://packit.dev/docs/configuration/
|
|
|
|
downstream_package_name: aardvark-dns
|
|
upstream_tag_template: v{version}
|
|
|
|
packages:
|
|
aardvark-dns-fedora:
|
|
pkg_tool: fedpkg
|
|
specfile_path: rpm/aardvark-dns.spec
|
|
aardvark-dns-centos:
|
|
pkg_tool: centpkg
|
|
specfile_path: rpm/aardvark-dns.spec
|
|
aardvark-dns-rhel:
|
|
specfile_path: rpm/aardvark-dns.spec
|
|
|
|
srpm_build_deps:
|
|
- cargo
|
|
- make
|
|
- openssl-devel
|
|
|
|
jobs:
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
packages: [aardvark-dns-fedora]
|
|
notifications: &copr_build_failure_notification
|
|
failure_comment:
|
|
message: "Ephemeral COPR build failed. @containers/packit-build please check."
|
|
targets:
|
|
fedora-all-x86_64: {}
|
|
fedora-all-aarch64: {}
|
|
fedora-eln-x86_64:
|
|
additional_repos:
|
|
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
|
|
fedora-eln-aarch64:
|
|
additional_repos:
|
|
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
|
|
enable_net: true
|
|
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
packages: [aardvark-dns-centos]
|
|
notifications: *copr_build_failure_notification
|
|
targets:
|
|
- centos-stream-9-x86_64
|
|
- centos-stream-9-aarch64
|
|
- centos-stream-10-x86_64
|
|
- centos-stream-10-aarch64
|
|
enable_net: true
|
|
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
packages: [aardvark-dns-rhel]
|
|
notifications: *copr_build_failure_notification
|
|
targets:
|
|
- epel-9-x86_64
|
|
- epel-9-aarch64
|
|
enable_net: true
|
|
|
|
# Run on commit to main branch
|
|
- job: copr_build
|
|
trigger: commit
|
|
notifications:
|
|
failure_comment:
|
|
message: "podman-next COPR build failed. @containers/packit-build please check."
|
|
branch: main
|
|
owner: rhcontainerbot
|
|
project: podman-next
|
|
enable_net: true
|
|
|
|
# Validate test
|
|
- job: tests
|
|
trigger: pull_request
|
|
skip_build: true
|
|
targets:
|
|
# Only need to test on one target
|
|
- fedora-latest-stable-x86_64
|
|
identifier: validate_test
|
|
tmt_plan: "/plans/validate_test"
|
|
|
|
# Unit tests on Fedora
|
|
- job: tests
|
|
trigger: pull_request
|
|
skip_build: true
|
|
notifications: &unit_test_failure_notification
|
|
failure_comment:
|
|
message: "Unit tests failed. @containers/packit-build please check."
|
|
targets: &pr_test_targets_fedora
|
|
- fedora-all-x86_64
|
|
- fedora-all-aarch64
|
|
identifier: unit_test_fedora
|
|
tmt_plan: "/plans/unit_test"
|
|
|
|
# Unit tests on CentOS Stream
|
|
- job: tests
|
|
trigger: pull_request
|
|
skip_build: true
|
|
notifications: *unit_test_failure_notification
|
|
targets: &pr_test_targets_centos
|
|
- centos-stream-9-x86_64
|
|
- centos-stream-9-aarch64
|
|
# TODO: iptables kernel module is not available on rhel10.
|
|
# Enable these after netavark default is switched to nftables.
|
|
#- centos-stream-10-x86_64
|
|
#- centos-stream-10-aarch64
|
|
identifier: unit_test_centos
|
|
tmt_plan: "/plans/unit_test"
|
|
|
|
# Unit tests on RHEL
|
|
- job: tests
|
|
trigger: pull_request
|
|
skip_build: true
|
|
notifications: *unit_test_failure_notification
|
|
use_internal_tf: true
|
|
targets: &pr_test_targets_rhel
|
|
epel-9-aarch64:
|
|
distros: [RHEL-9-Nightly,RHEL-9.4.0-Nightly]
|
|
epel-9-x86_64:
|
|
distros: [RHEL-9-Nightly,RHEL-9.4.0-Nightly]
|
|
# NOTE: Need to use centos-stream-10 until RHEL-10/EPEL-10 copr targets
|
|
# are available
|
|
# TODO: iptables kernel module is not available on rhel10.
|
|
# Enable these after netavark default is switched to nftables.
|
|
#centos-stream-10-aarch64:
|
|
# distros: [RHEL-10-Beta-Nightly]
|
|
#centos-stream-10-x86_64:
|
|
# distros: [RHEL-10-Beta-Nightly]
|
|
identifier: unit_test_rhel
|
|
tmt_plan: "/plans/unit_test"
|
|
|
|
# Integration tests on Fedora
|
|
- job: tests
|
|
trigger: pull_request
|
|
packages: [aardvark-dns-fedora]
|
|
notifications: &integration_test_failure_notification
|
|
failure_comment:
|
|
message: "Integration tests failed. @containers/packit-build please check."
|
|
targets: *pr_test_targets_fedora
|
|
identifier: integration_test_fedora
|
|
tmt_plan: "/plans/integration_test"
|
|
|
|
# Integration tests on CentOS Stream
|
|
- job: tests
|
|
trigger: pull_request
|
|
packages: [aardvark-dns-centos]
|
|
notifications: *integration_test_failure_notification
|
|
targets: *pr_test_targets_centos
|
|
identifier: integration_test_centos
|
|
tmt_plan: "/plans/integration_test"
|
|
|
|
# Integration tests on RHEL
|
|
- job: tests
|
|
trigger: pull_request
|
|
packages: [aardvark-dns-rhel]
|
|
notifications: *integration_test_failure_notification
|
|
use_internal_tf: true
|
|
targets: *pr_test_targets_rhel
|
|
identifier: integration_test_rhel
|
|
tmt_plan: "/plans/integration_test"
|
|
|
|
# Sync to Fedora
|
|
- job: propose_downstream
|
|
trigger: release
|
|
packages: [aardvark-dns-fedora]
|
|
update_release: false
|
|
dist_git_branches:
|
|
- fedora-all
|
|
|
|
# Sync to CentOS Stream
|
|
- job: propose_downstream
|
|
trigger: release
|
|
packages: [aardvark-dns-centos]
|
|
update_release: false
|
|
dist_git_branches:
|
|
- c10s
|
|
|
|
- job: koji_build
|
|
trigger: commit
|
|
dist_git_branches:
|
|
- fedora-all
|
|
|
|
# NOTE: Bodhi update tasks are disabled to allow netavark and aardvark-dns X.Y
|
|
# builds in a single manual bodhi update. Leaving this commented out
|
|
# but not deleted so it's not forgotten.
|
|
#- job: bodhi_update
|
|
#trigger: commit
|
|
#dist_git_branches:
|
|
#- fedora-branched # rawhide updates are created automatically
|