blob: 5358d92606d807a667a2c142dc88b6868089de57 [file] [log] [blame]
classes:
- system.jenkins.client.job.image
parameters:
_param:
jenkins_packer_pipeline: "${_param:jenkins_gerrit_url}/mk/packer-templates"
jenkins:
client:
job:
build-image-centos-7:
type: workflow-scm
concurrent: false
discard:
build:
keep_num: 5
artifact:
keep_num: 5
scm:
type: git
url: "${_param:jenkins_packer_pipeline}"
credentials: "gerrit"
display_name: "[Images] Build Centos 7"
param:
BUILD_OS:
type: string
default: "centos-7"
BUILD_ONLY:
type: string
default: "qemu"
PACKER_DEBUG:
type: boolean
default: "false"
PACKER_URL:
type: string
default: "https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip"
PACKER_ZIP:
type: string
default: "packer_0.8.6_linux_amd64.zip"
PACKER_ZIP_MD5:
type: string
default: "4cda1c44cf666fada495dd8e01522e1c"
PACKER_ARGS:
type: string
default: ""
UPLOAD_URL:
type: string
default: "${_param:jenkins_packer_upload_url}"
SKIP_UPLOAD:
type: boolean
default: "false"
CLEANUP_OLD:
type: boolean
default: "true"
CLEANUP_KEEP:
type: string
default: "3"
GLANCE_UPLOAD:
type: boolean
default: "true"
GLANCE_IMG_TYPES:
type: string
default: "qcow2"
GLANCE_URL:
type: string
default: "https://cloud-cz.bud.mirantis.net:5000"
GLANCE_CREDENTIALS_ID:
type: string
default: "openstack-devcloud-credentials"
GLANCE_PROJECT:
type: string
default: "mcp-mk"
GLANCE_ARGS:
type: string
default: ""
GLANCE_PUBLIC:
type: boolean
default: "true"
OPENSTACK_API_CLIENT:
type: string
default: ""
IMAGE_NAME:
type: string
default: centos-7-x64
EXTRA_VARIABLES:
type: text
default: ""