From f6e9df830f3f8cab597cb05d4c72d8aadff468a3 Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Tue, 8 Jul 2014 07:58:26 -0700 Subject: [PATCH] Add IPA CoreOS Imagebuilder to check + gate We currently build a new copy of the ironic-python-agent CoreOS image post-commit. This adds the existing build process, without the upload, as a check and gate job. This should ensure the build process is not broken with any IPA commit. Change-Id: Ifc6e9f52bd28e27b06105238ce8e24cc302be6bc --- .../config/ironic-python-agent-jobs.yaml | 14 ++++++++++++++ modules/openstack_project/files/zuul/layout.yaml | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/ironic-python-agent-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/ironic-python-agent-jobs.yaml index df707e775b..87768dd2c8 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/ironic-python-agent-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/ironic-python-agent-jobs.yaml @@ -1,3 +1,17 @@ +- job: + name: 'gate-ironic-python-agent-buildimage-coreos' + node: 'bare-trusty' + + builders: + - link-logs + - net-info + - gerrit-git-prep + - shell: | + imagebuild/coreos/full_trusty_build.sh + + publishers: + - console-log + - job: name: 'ironic-python-agent-buildimage-coreos' node: 'bare-trusty' diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index cc3b92a40d..8b6a922cbe 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -380,6 +380,8 @@ jobs: # IPA image builds need docker which requires trusty - name: ironic-python-agent-buildimage-coreos parameter-function: set_node_options_default_trusty + - name: gate-ironic-python-agent-buildimage-coreos + parameter-function: set_node_options_default_trusty - name: ^gate-neutron-.*$ parameter-function: set_node_options_default_trusty - name: ^gate-ceilometer-.*$ @@ -2105,10 +2107,12 @@ projects: - gate-ironic-python-agent-pep8 - gate-ironic-python-agent-python26 - gate-ironic-python-agent-python27 + - gate-ironic-python-agent-buildimage-coreos gate: - gate-ironic-python-agent-pep8 - gate-ironic-python-agent-python26 - gate-ironic-python-agent-python27 + - gate-ironic-python-agent-buildimage-coreos post: - ironic-python-agent-buildimage-coreos