# Adds builders section common to merge packer jobs.
builders:
- lf-infra-packer-validate:
- os-cloud-file-id: '{os-cloud-file-id}'
packer-version: '{packer-version}'
- lf-infra-packer-build:
platform: '{platforms}'
template: '{templates}'
- os-cloud-file-id: '{os-cloud-file-id}'
packer-version: '{packer-version}'
- lf_packer_verify_builders: &lf_packer_verify_builders
name: lf-packer-verify-builders
builders:
- lf-infra-packer-validate:
- os-cloud-file-id: '{os-cloud-file-id}'
packer-version: '{packer-version}'
- parameter:
builders:
- config-file-provider:
files:
- - file-id: '{os-cloud-file-id}'
- target: '$HOME/.config/openstack/clouds.yaml'
- file-id: 'packer-cloud-env'
variable: 'CLOUDENV'
- inject:
- "{project-name}-packer-jobs"
project-name: gerrit-ciman
- os-cloud-file-id: os-cloud-id
platforms:
- centos
- ubuntu1604
- "{project-name}-github-packer-jobs"
project-name: github-ciman
- os-cloud-file-id: os-cloud-id
platforms:
- centos
- ubuntu1604