Upstream tag: 0.38.0 Upstream commit: a07560dd Commit authored by Packit automation (https://packit.dev/)
287 lines
7 KiB
YAML
287 lines
7 KiB
YAML
---
|
|
packit_instances: ["prod", "stg"]
|
|
|
|
upstream_project_url: https://github.com/packit/specfile
|
|
issue_repository: https://github.com/packit/specfile
|
|
|
|
# PEP440
|
|
prerelease_suffix_pattern: "([.\\-_]?)(a(lpha)?|b(eta)?|r?c|pre(view)?)([.\\-_]?\\d+)?"
|
|
prerelease_suffix_macro: prerelease
|
|
|
|
copy_upstream_release_description: true
|
|
|
|
packages:
|
|
specfile: &specfile
|
|
upstream_package_name: specfile
|
|
downstream_package_name: python-specfile
|
|
specfile_path: &specfile_path fedora/python-specfile.spec
|
|
files_to_sync:
|
|
- *specfile_path
|
|
- .packit.yaml
|
|
- src: plans/
|
|
dest: plans/
|
|
- src: .fmf/
|
|
dest: .fmf/
|
|
srpm_build_deps:
|
|
- python3-build
|
|
- python3-setuptools_scm
|
|
actions: &actions
|
|
pre-sync:
|
|
- python3 plans/git_reference.py
|
|
create-archive:
|
|
- python3 -m build --sdist --outdir ./fedora/
|
|
- bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"
|
|
get-current-version: python3 -m setuptools_scm
|
|
|
|
specfile-epel8:
|
|
<<: *specfile
|
|
specfile_path: &specfile_path_epel8 epel8/python-specfile.spec
|
|
files_to_sync:
|
|
- *specfile_path_epel8
|
|
- .packit.yaml
|
|
- src: plans/
|
|
dest: plans/
|
|
- src: .fmf/
|
|
dest: .fmf/
|
|
actions:
|
|
<<: *actions
|
|
create-archive:
|
|
- python3 setup.py sdist --dist-dir ./epel8/
|
|
- bash -c "ls -1t ./epel8/*.tar.gz | head -n 1"
|
|
|
|
specfile-epel10:
|
|
<<: *specfile
|
|
specfile_path: &specfile_path_epel10 epel10/python-specfile.spec
|
|
files_to_sync:
|
|
- *specfile_path_epel10
|
|
- .packit.yaml
|
|
- src: plans/
|
|
dest: plans/
|
|
- src: .fmf/
|
|
dest: .fmf/
|
|
actions:
|
|
<<: *actions
|
|
create-archive:
|
|
- python3 setup.py sdist --dist-dir ./epel10/
|
|
- bash -c "ls -1t ./epel10/*.tar.gz | head -n 1"
|
|
|
|
# docs: https://gitlab.com/CentOS/Integration/packit-cbs/docs
|
|
specfile-centos-integration-sig:
|
|
<<: *specfile
|
|
specfile_path: &specfile_path_centos_sig centos-integration-sig/python-specfile.spec
|
|
files_to_sync:
|
|
- *specfile_path_centos_sig
|
|
- .packit.yaml
|
|
- src: plans/
|
|
dest: plans/
|
|
- src: .fmf/
|
|
dest: .fmf/
|
|
actions:
|
|
<<: *actions
|
|
create-archive:
|
|
- python3 -m build --sdist --outdir ./centos-integration-sig/
|
|
- bash -c "ls -1t ./centos-integration-sig/*.tar.gz | head -n 1"
|
|
dist_git_base_url: https://gitlab.com
|
|
dist_git_namespace: CentOS/Integration/packit-cbs/rpms
|
|
sig: Integration/packit-cbs
|
|
pkg_tool: centpkg-sig
|
|
|
|
jobs:
|
|
- &copr_build_pr
|
|
job: copr_build
|
|
trigger: pull_request
|
|
packages: [specfile]
|
|
targets:
|
|
- fedora-all
|
|
- fedora-all-aarch64
|
|
- epel-9
|
|
- <<: *copr_build_pr
|
|
packages: [specfile-epel8]
|
|
targets:
|
|
- epel-8
|
|
- <<: *copr_build_pr
|
|
packages: [specfile-epel10]
|
|
targets:
|
|
- epel-10-all
|
|
|
|
- &copr_build_commit_main
|
|
job: copr_build
|
|
trigger: commit
|
|
branch: main
|
|
packages: [specfile]
|
|
targets:
|
|
- fedora-all
|
|
- fedora-all-aarch64
|
|
- epel-9
|
|
project: packit-dev
|
|
list_on_homepage: True
|
|
preserve_project: True
|
|
- <<: *copr_build_commit_main
|
|
packages: [specfile-epel8]
|
|
targets:
|
|
- epel-8
|
|
- <<: *copr_build_commit_main
|
|
packages: [specfile-epel10]
|
|
targets:
|
|
- epel-10-all
|
|
|
|
- &copr_build_commit_stable
|
|
job: copr_build
|
|
trigger: commit
|
|
branch: stable
|
|
packages: [specfile]
|
|
targets:
|
|
- fedora-stable
|
|
- fedora-stable-aarch64
|
|
project: packit-stable
|
|
list_on_homepage: True
|
|
preserve_project: True
|
|
|
|
- &copr_build_release
|
|
job: copr_build
|
|
trigger: release
|
|
packages: [specfile]
|
|
targets:
|
|
- fedora-all
|
|
- fedora-all-aarch64
|
|
- epel-9
|
|
project: packit-releases
|
|
list_on_homepage: True
|
|
preserve_project: True
|
|
- <<: *copr_build_release
|
|
packages: [specfile-epel8]
|
|
targets:
|
|
- epel-8
|
|
- <<: *copr_build_release
|
|
packages: [specfile-epel10]
|
|
targets:
|
|
- epel-10-all
|
|
|
|
- &tests
|
|
job: tests
|
|
trigger: pull_request
|
|
packages: [specfile]
|
|
tmt_plan: "smoke|full|packit-integration"
|
|
targets:
|
|
- fedora-all
|
|
- epel-9
|
|
- <<: *tests
|
|
identifier: performance
|
|
tmt_plan: performance
|
|
targets:
|
|
- fedora-rawhide
|
|
- <<: *tests
|
|
packages: [specfile-epel8]
|
|
tmt_plan: "smoke|full"
|
|
use_internal_tf: true
|
|
targets:
|
|
epel-8-x86_64:
|
|
distros: [RHEL-8.10.0-Nightly]
|
|
# enable EPEL
|
|
tf_extra_params:
|
|
environments:
|
|
- kickstart:
|
|
post-install: |
|
|
%post --log=/dev/console
|
|
set -x
|
|
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
|
%end
|
|
- <<: *tests
|
|
packages: [specfile-epel10]
|
|
tmt_plan: "smoke|full"
|
|
targets:
|
|
- epel-10-all
|
|
|
|
- &propose_downstream
|
|
job: propose_downstream
|
|
trigger: release
|
|
packages: [specfile]
|
|
dist_git_branches:
|
|
rawhide:
|
|
fast_forward_merge_into:
|
|
- fedora-branched
|
|
- eln
|
|
epel-9: {}
|
|
- <<: *propose_downstream
|
|
packages: [specfile-epel8]
|
|
dist_git_branches:
|
|
- epel-8
|
|
- <<: *propose_downstream
|
|
packages: [specfile-epel10]
|
|
dist_git_branches:
|
|
epel-10:
|
|
fast_forward_merge_into:
|
|
- epel-10-branched
|
|
- <<: *propose_downstream
|
|
packages: [specfile-centos-integration-sig]
|
|
dist_git_branches:
|
|
- c9-sig-integration
|
|
|
|
- &pull_from_upstream
|
|
job: pull_from_upstream
|
|
trigger: release
|
|
packages: [specfile]
|
|
dist_git_branches:
|
|
rawhide:
|
|
fast_forward_merge_into:
|
|
- fedora-branched
|
|
- eln
|
|
epel-9: {}
|
|
- <<: *pull_from_upstream
|
|
packages: [specfile-epel8]
|
|
dist_git_branches:
|
|
- epel-8
|
|
- <<: *pull_from_upstream
|
|
packages: [specfile-epel10]
|
|
dist_git_branches:
|
|
epel-10:
|
|
fast_forward_merge_into:
|
|
- epel-10-branched
|
|
- <<: *pull_from_upstream
|
|
packages: [specfile-centos-integration-sig]
|
|
dist_git_branches:
|
|
- c9-sig-integration
|
|
|
|
- &koji_build
|
|
job: koji_build
|
|
trigger: commit
|
|
packages: [specfile]
|
|
packit_instances: ["stg"]
|
|
allowed_pr_authors: ["packit-stg", "packit"]
|
|
dist_git_branches:
|
|
- epel-9
|
|
- <<: *koji_build
|
|
packages: [specfile-epel8]
|
|
dist_git_branches:
|
|
- epel-8
|
|
- <<: *koji_build
|
|
packages: [specfile-epel10]
|
|
dist_git_branches:
|
|
- epel-10-all
|
|
- <<: *koji_build
|
|
packages: [specfile-centos-integration-sig]
|
|
dist_git_branches:
|
|
- c9-sig-integration
|
|
- <<: *koji_build
|
|
sidetag_group: packit-specfile-ogr-releases
|
|
dependents:
|
|
- packit
|
|
dist_git_branches:
|
|
- fedora-all
|
|
|
|
- &bodhi_update
|
|
job: bodhi_update
|
|
trigger: commit
|
|
packages: [specfile]
|
|
packit_instances: ["stg"]
|
|
allowed_builders: ["packit-stg", "packit"]
|
|
dist_git_branches:
|
|
- epel-9
|
|
- <<: *bodhi_update
|
|
packages: [specfile-epel8]
|
|
dist_git_branches:
|
|
- epel-8
|
|
- <<: *bodhi_update
|
|
packages: [specfile-epel10]
|
|
dist_git_branches:
|
|
- epel-10-all
|