Skip to main content

job: vm_image_build

Supported triggers

  • pull_request

Required parameters

  • copr_chroot - name of the chroot to use for installing packages in the image

Image Parameters (Packit does not sanitize these and just passes them to Image Builder; check Image Builder's API documentation for details).

Optional parameters

  • owner - Copr project owner
  • project - Copr project name

Image builds are only triggered after a collaborator places a comment /packit vm-image-build in a pull request. The image builds are NOT submitted automatically. This is a subject to change as we improve the integration in future.

Example

jobs:
- job: vm_image_build
trigger: pull_request
image_request:
architecture: x86_64
image_type: aws
upload_request:
type: aws
options:
share_with_accounts: ["123456789"]
image_customizations:
packages: [foo-bar]
image_distribution: fedora-36
owner: john-foo
project: foo-bar-martini
copr_chroot: fedora-36-x86_64