-
Story
-
Resolution: Won't Do
-
High
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
Not Selected
-
-
Background
Create a Konflux build pipeline for the Kata Containers RPM builder container to enable automated building of Kata Containers RPM packages in a reproducible environment.
Container Details
- Source: https://github.com/openshift/confidential-compute-artifacts/tree/main/containerfiles/kata-rpm
- Base Image: Red Hat Universal Base Image (UBI) 9
- Purpose: Build Kata Containers RPM packages from source RPM (SRPM) images
- Build Environment: Complete RPM build toolchain with Rust support
Container Components
- Red Hat subscription management integration
- RPM build environment setup (rpmbuild, rpmdevtools)
- Build dependency management
- Rust toolchain installation and configuration
- Source RPM extraction and building
- Output RPM package extraction to host directory
Build Parameters
- SRPM_IMAGE: Source RPM image input
- ORG: Red Hat subscription manager organization
- ACTIVATIONKEY: Red Hat subscription manager activation key
Technical Requirements
- Set up Konflux build configuration for the Kata RPM builder Containerfile
- Configure build arguments and environment variables
- Ensure proper Red Hat subscription handling
- Validate Rust toolchain installation and configuration
- Test RPM build process with sample SRPM inputs
- Configure output volume mounting for RPM extraction
Acceptance Criteria
- [ ] Konflux build pipeline created and configured
- [ ] Container builds successfully with all dependencies
- [ ] Red Hat subscription registration works correctly
- [ ] Rust toolchain installs and functions properly
- [ ] RPM build process completes successfully
- [ ] Built RPMs are properly extracted to host directory
- [ ] Container image passes security scans
- [ ] Documentation updated with build and usage instructions
- [ ] CI/CD pipeline validates container functionality
Dependencies
- Red Hat subscription credentials for build environment
- Access to Red Hat repositories and packages
- Konflux platform configuration
- Container registry access for image storage
- Sample SRPM images for testing