mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
This is soon to go EOL and I don't think we need to keep testing it upstream. In particular the integration tests are super expensive and slow and this should cut down our usage of them.
96 lines
2.6 KiB
YAML
96 lines
2.6 KiB
YAML
---
|
|
upstream_package_name: bootc
|
|
downstream_package_name: bootc
|
|
|
|
upstream_tag_template: v{version}
|
|
|
|
specfile_path: contrib/packaging/bootc.spec
|
|
|
|
srpm_build_deps:
|
|
- cargo
|
|
- git
|
|
- zstd
|
|
- libzstd-devel
|
|
- ostree-devel
|
|
- openssl-devel
|
|
|
|
actions:
|
|
# The last setp here is required by Packit to return the archive name
|
|
# https://packit.dev/docs/configuration/actions#create-archive
|
|
create-archive:
|
|
- bash -c "cargo install cargo-vendor-filterer"
|
|
- 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'"
|
|
# Do nothing with spec file. Two steps here are for debugging
|
|
fix-spec-file:
|
|
- bash -c "cat contrib/packaging/bootc.spec"
|
|
- bash -c "ls -al contrib/packaging/"
|
|
|
|
jobs:
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
targets:
|
|
# Primary targets are c9s, c10s and fedora:41 right now, which build
|
|
# for all architectures
|
|
- centos-stream-9-x86_64
|
|
- centos-stream-9-aarch64
|
|
- centos-stream-9-s390x
|
|
- centos-stream-10-x86_64
|
|
- centos-stream-10-aarch64
|
|
- centos-stream-10-s390x
|
|
- fedora-42-x86_64
|
|
- fedora-42-aarch64
|
|
- fedora-42-s390x
|
|
# Sanity check on secondary targets, fewer architectures just
|
|
# because the chance that we break e.g. ppc64le *just* on
|
|
# rawhide is basically nil.
|
|
- fedora-rawhide-x86_64
|
|
- fedora-rawhide-aarch64
|
|
# Temporarily disabled due to too old Rust...reenable post 9.6
|
|
# - rhel-9-x86_64
|
|
# - rhel-9-aarch64
|
|
|
|
# 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}"
|
|
|
|
- job: tests
|
|
trigger: pull_request
|
|
targets:
|
|
- 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
|
|
tmt_plan: /integration
|
|
skip_build: true
|
|
identifier: integration-test
|
|
|
|
- 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
|