2022-08-23 08:42:16 +00:00
|
|
|
# See the documentation for more information:
|
|
|
|
# https://packit.dev/docs/configuration/
|
|
|
|
|
|
|
|
specfile_path: openscap-report.spec
|
|
|
|
|
|
|
|
# add or remove files that should be synced
|
|
|
|
files_to_sync:
|
|
|
|
- .packit.yaml
|
2023-03-28 13:00:41 +00:00
|
|
|
- src: plans/
|
|
|
|
dest: plans/
|
|
|
|
- src: .fmf/
|
|
|
|
dest: .fmf/
|
2023-07-05 10:30:36 +00:00
|
|
|
- src: generate_arf.sh
|
|
|
|
dest: generate_arf.sh
|
2022-08-23 08:42:16 +00:00
|
|
|
|
|
|
|
# name in upstream package repository or registry (e.g. in PyPI)
|
|
|
|
upstream_package_name: openscap-report
|
|
|
|
# downstream (Fedora) RPM package name
|
|
|
|
downstream_package_name: openscap-report
|
|
|
|
# version tag template
|
|
|
|
upstream_tag_template: v{version}
|
|
|
|
|
2023-03-08 15:08:45 +00:00
|
|
|
srpm_build_deps:
|
|
|
|
- python3-devel
|
|
|
|
- python3-sphinx
|
|
|
|
- python3-sphinx_rtd_theme
|
|
|
|
- python3-jinja2
|
|
|
|
- python3-lxml
|
|
|
|
- redhat-display-fonts
|
|
|
|
- redhat-text-fonts
|
|
|
|
|
2022-08-23 08:42:16 +00:00
|
|
|
actions:
|
|
|
|
get-current-version:
|
|
|
|
- python3 setup.py --version
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: propose_downstream
|
|
|
|
trigger: release
|
2023-04-14 09:27:08 +00:00
|
|
|
identifier: release-rawhide
|
2022-08-23 08:42:16 +00:00
|
|
|
dist_git_branches:
|
|
|
|
- fedora-rawhide
|
2023-04-14 09:27:08 +00:00
|
|
|
|
|
|
|
- job: propose_downstream
|
|
|
|
trigger: release
|
|
|
|
identifier: release-epel8
|
|
|
|
specfile_path: spec/rhel8/openscap-report.spec
|
|
|
|
dist_git_branches:
|
2023-03-28 13:00:41 +00:00
|
|
|
- epel-8
|
2022-08-23 08:42:16 +00:00
|
|
|
|
|
|
|
- job: tests
|
2023-03-28 13:00:41 +00:00
|
|
|
trigger: pull_request
|
|
|
|
identifier: tests-all
|
2023-04-14 09:27:08 +00:00
|
|
|
tmt_plan: smoke
|
2022-08-23 08:42:16 +00:00
|
|
|
targets:
|
2023-03-28 13:00:41 +00:00
|
|
|
- fedora-all
|
|
|
|
- epel-9
|
|
|
|
|
|
|
|
- job: copr_build
|
2022-08-23 08:42:16 +00:00
|
|
|
trigger: pull_request
|
2023-03-28 13:00:41 +00:00
|
|
|
identifier: build-all
|
|
|
|
targets:
|
|
|
|
- fedora-all
|
|
|
|
- epel-9
|
|
|
|
|
|
|
|
# Until Packit has implicit builds
|
|
|
|
# for tests we can't enable epel-8
|
|
|
|
# as it messes with test jobs.
|
|
|
|
# The skip_build: true doesn't really
|
|
|
|
# solve the proplem.
|
|
|
|
|
|
|
|
#- job: tests
|
|
|
|
# trigger: pull_request
|
|
|
|
# identifier: epel-tests
|
|
|
|
# skip_build: true
|
|
|
|
# targets:
|
|
|
|
# - epel-9
|
|
|
|
# - epel-8
|
|
|
|
|
|
|
|
#- job: copr_build
|
|
|
|
# trigger: pull_request
|
|
|
|
# specfile_path: spec/rhel8/openscap-report.spec
|
|
|
|
# identifier: epel8
|
|
|
|
# targets:
|
|
|
|
# - epel-8
|