debian-image-builder-frontend/packit.yaml
Sanne Raymaekers 0e7f5d9e7b plans: add gating tests
This tmt[0] test runs the playwright tests as gating tests. Having the
gating tests upstream avoids duplication across fedora and centos
dist-git repositories, and running them upstream should keep them in
working order.

Only add x86_64 for now, the aarch runners seem to be a bit too slow.

[0]: https://tmt.readthedocs.io/en/stable/index.html
2025-08-20 12:32:43 +00:00

66 lines
1.5 KiB
YAML

upstream_project_url: https://github.com/osbuild/image-builder-frontend
specfile_path: cockpit/cockpit-image-builder.spec
upstream_package_name: cockpit-image-builder
downstream_package_name: cockpit-image-builder
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
upstream_tag_template: v{version}
actions:
create-archive:
- npm ci
- make dist
srpm_build_deps:
- make
- npm
jobs:
- job: tests
identifier: self
trigger: pull_request
tmt_plan: /plans/all/main
targets:
- centos-stream-10
- fedora-41
- fedora-42
- job: copr_build
trigger: pull_request
targets: &build_targets
- centos-stream-9
- centos-stream-9-aarch64
- centos-stream-10
- centos-stream-10-aarch64
- fedora-all
- job: copr_build
trigger: commit
branch: "^main$"
owner: "@osbuild"
project: "cockpit-image-builder-main"
preserve_project: True
targets: *build_targets
- job: copr_build
trigger: release
owner: "@osbuild"
project: "cockpit-image-builder"
preserve_project: True
targets: *build_targets
actions:
create-archive:
- npm ci
- make dist
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-42
- fedora-rawhide
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-42
- fedora-rawhide