2024-06-20 07:41:41 +08:00
|
|
|
---
|
2024-12-27 16:13:33 +08:00
|
|
|
upstream_package_name: bootc
|
|
|
|
|
downstream_package_name: bootc
|
2024-06-26 00:08:15 +08:00
|
|
|
|
2024-06-26 08:34:18 +08:00
|
|
|
upstream_tag_template: v{version}
|
|
|
|
|
|
2024-12-27 16:13:33 +08:00
|
|
|
specfile_path: contrib/packaging/bootc.spec
|
2024-06-26 00:08:15 +08:00
|
|
|
|
2024-06-26 08:34:18 +08:00
|
|
|
srpm_build_deps:
|
|
|
|
|
- cargo
|
|
|
|
|
- git
|
|
|
|
|
- zstd
|
|
|
|
|
- libzstd-devel
|
|
|
|
|
- ostree-devel
|
|
|
|
|
- openssl-devel
|
|
|
|
|
|
|
|
|
|
actions:
|
2024-06-27 14:51:34 +08:00
|
|
|
# The last setp here is required by Packit to return the archive name
|
|
|
|
|
# https://packit.dev/docs/configuration/actions#create-archive
|
2024-06-26 08:34:18 +08:00
|
|
|
create-archive:
|
|
|
|
|
- bash -c "cargo install cargo-vendor-filterer"
|
2024-06-26 21:04:40 +08:00
|
|
|
- bash -c "cargo xtask spec"
|
|
|
|
|
- bash -c "cat target/bootc.spec"
|
|
|
|
|
- bash -c "cp target/bootc* contrib/packaging/"
|
|
|
|
|
- bash -c "ls -1 target/bootc*.tar.zstd | grep -v 'vendor'"
|
2024-06-27 14:51:34 +08:00
|
|
|
# Do nothing with spec file. Two steps here are for debugging
|
2024-06-26 08:34:18 +08:00
|
|
|
fix-spec-file:
|
|
|
|
|
- bash -c "cat contrib/packaging/bootc.spec"
|
2024-06-26 21:04:40 +08:00
|
|
|
- bash -c "ls -al contrib/packaging/"
|
2024-06-26 08:34:18 +08:00
|
|
|
|
2024-06-20 07:41:41 +08:00
|
|
|
jobs:
|
2024-06-26 00:08:15 +08:00
|
|
|
- job: copr_build
|
|
|
|
|
trigger: pull_request
|
|
|
|
|
targets:
|
2024-10-29 10:36:01 +08:00
|
|
|
# Primary targets are c9s, c10s and fedora:41 right now, which build
|
2024-07-16 09:28:30 -04:00
|
|
|
# for all architectures
|
2024-06-26 00:08:15 +08:00
|
|
|
- centos-stream-9-x86_64
|
|
|
|
|
- centos-stream-9-aarch64
|
2024-07-16 09:28:30 -04:00
|
|
|
- centos-stream-9-s390x
|
2024-07-31 18:35:05 +08:00
|
|
|
- centos-stream-10-x86_64
|
|
|
|
|
- centos-stream-10-aarch64
|
|
|
|
|
- centos-stream-10-s390x
|
2025-07-24 14:19:04 -04:00
|
|
|
- fedora-42-x86_64
|
|
|
|
|
- fedora-42-aarch64
|
|
|
|
|
- fedora-42-s390x
|
2024-07-16 09:28:30 -04:00
|
|
|
# Sanity check on secondary targets, fewer architectures just
|
|
|
|
|
# because the chance that we break e.g. ppc64le *just* on
|
|
|
|
|
# rawhide is basically nil.
|
2024-06-27 13:15:32 +08:00
|
|
|
- fedora-rawhide-x86_64
|
|
|
|
|
- fedora-rawhide-aarch64
|
2025-02-03 09:08:03 -05:00
|
|
|
# Temporarily disabled due to too old Rust...reenable post 9.6
|
|
|
|
|
# - rhel-9-x86_64
|
|
|
|
|
# - rhel-9-aarch64
|
2024-06-26 00:08:15 +08:00
|
|
|
|
2025-03-14 13:09:54 +08:00
|
|
|
# Build on new commit to main branch
|
|
|
|
|
- job: copr_build
|
|
|
|
|
trigger: commit
|
|
|
|
|
branch: main
|
|
|
|
|
owner: rhcontainerbot
|
|
|
|
|
project: bootc
|
|
|
|
|
enable_net: true
|
|
|
|
|
notifications:
|
|
|
|
|
failure_comment:
|
|
|
|
|
message: "bootc Copr build failed for {commit_sha}. @admin check logs {logs_url} and packit dashboard {packit_dashboard_url}"
|
|
|
|
|
|
2024-06-20 07:41:41 +08:00
|
|
|
- job: tests
|
|
|
|
|
trigger: pull_request
|
|
|
|
|
targets:
|
2025-04-03 17:00:29 +08:00
|
|
|
- centos-stream-9-x86_64
|
|
|
|
|
- centos-stream-9-aarch64
|
|
|
|
|
- centos-stream-10-x86_64
|
|
|
|
|
- centos-stream-10-aarch64
|
|
|
|
|
- fedora-42-x86_64
|
|
|
|
|
- fedora-42-aarch64
|
|
|
|
|
- fedora-rawhide-x86_64
|
|
|
|
|
- fedora-rawhide-aarch64
|
2024-12-05 22:11:30 +08:00
|
|
|
tmt_plan: /integration
|
2024-06-20 07:41:41 +08:00
|
|
|
skip_build: true
|
2024-06-24 22:33:11 +08:00
|
|
|
identifier: integration-test
|
2024-12-27 16:13:33 +08:00
|
|
|
|
|
|
|
|
- job: propose_downstream
|
|
|
|
|
trigger: release
|
|
|
|
|
dist_git_branches:
|
|
|
|
|
- fedora-all
|
|
|
|
|
|
|
|
|
|
- job: koji_build
|
|
|
|
|
trigger: commit
|
|
|
|
|
dist_git_branches:
|
|
|
|
|
- fedora-all
|
|
|
|
|
|
|
|
|
|
- job: bodhi_update
|
|
|
|
|
trigger: commit
|
|
|
|
|
dist_git_branches:
|
|
|
|
|
# Fedora rawhide updates are created automatically
|
|
|
|
|
- fedora-branched
|