From 258adfd506928706fcfa0ed0c6444c5780232c19 Mon Sep 17 00:00:00 2001 From: Nikhil Manchanda Date: Wed, 7 May 2014 19:25:51 -0700 Subject: [PATCH] Add new gate-trove-buildimage-mysql job Adding a new experimental job that builds the trove mysql guestagent image using tripleo tools. Eventually the trove image elements will be gated on this job. Change-Id: Ie27e5f67a8aa57129f5e71b4dc18ec11119df168 --- .../config/trove-images.yaml | 23 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml b/modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml new file mode 100644 index 0000000000..e8c3968479 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml @@ -0,0 +1,23 @@ +- job: + name: 'gate-trove-buildimage-mysql' + node: 'bare-precise' + + builders: + - link-logs + - net-info + - gerrit-git-prep + - shell: | + #!/bin/bash -xe + export DEST=/opt/stack + cd scripts + ./redstack build-image mysql + mv $HOME/images/ubuntu_mysql/ubuntu_mysql.qcow2 $WORKSPACE/ubuntu_mysql.qcow2 + + publishers: + - scp: + site: 'tarballs.openstack.org' + files: + - source: 'ubuntu_mysql.qcow2' + target: 'trove/images/ubuntu_mysql.qcow2' + keep-hierarchy: false + copy-after-failure: false diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 9107c7366b..a5310b08b0 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -578,6 +578,8 @@ jobs: voting: false - name: check-tripleo-ironic-undercloud-precise voting: false + - name: gate-trove-buildimage-mysql + voting: false # puppet-openstack targets - name: gate-puppet-vswitch-puppet-lint voting: false @@ -2423,6 +2425,8 @@ projects: - noop gate: - noop + experimental: + - gate-trove-buildimage-mysql # TODO: add docs - name: openstack/tuskar-ui