Build Type Object Schema
The build-type type represents a Koji build type object.
Basic Structure
---
type: build-type
name: rpm
YAML Fields
Required Fields
type(str)The type of the object, must be
build-typename(str)The name of the build type (e.g.,
rpm,maven,image,win)
Optional Fields
This object type has no optional fields.
Dependencies
This object type has no dependencies on other koji-habitude objects.
Examples
Standard Build Types
---
type: build-type
name: rpm
---
type: build-type
name: maven
---
type: build-type
name: image
---
type: build-type
name: win
Notes
Build types define the fundamental categories of builds that Koji can handle. Once created, build types cannot be modified through the Koji API. Common build types include:
rpm- Traditional RPM package buildsmaven- Maven artifact buildsimage- Container/VM image buildswin- Windows buildsmodule- Modular builds
Technical Reference
For developers: The build-type object is implemented by the
koji_habitude.models.build_type.BuildType class.