From ad3c85dd9a90cde2e17134a2afca6e5d18421803 Mon Sep 17 00:00:00 2001 From: Timur Nurlygayanov Date: Thu, 20 Feb 2014 19:50:06 +0400 Subject: [PATCH] Add gate-murano-devstack job Add an initial devstack job for the Murano project. This project consist a few stackforge repositories. It just installs murano's devstack integration and runs devstack. That just ensures that the devstack integration doesn't blow up just trying to start up the service(s). There's not much else to test yet, but this is a starting point to build on. Start this job out as non-voting so that we can make sure it works as expected before turning it on to be gating. Murano functional tests were moved to the correct directory with the following commit: https://review.openstack.org/#/c/74998/ Change-Id: Id748e57aa72237cd62c13c1184b2c93f077cdcfc --- .../jenkins_job_builder/config/murano.yaml | 44 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 9 ++++ 2 files changed, 53 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/murano.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/murano.yaml b/modules/openstack_project/files/jenkins_job_builder/config/murano.yaml new file mode 100644 index 0000000000..6e705303b9 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/murano.yaml @@ -0,0 +1,44 @@ +- job: + name: gate-murano-devstack-dsvm + node: devstack-precise + + wrappers: + - timeout: + timeout: 65 + fail: true + - timestamps + + builders: + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TIMEOUT=60 + export ENABLED_SERVICES=murano,murano-api,murano-conductor,murano-repository + export PROJECTS="stackforge/murano-api $PROJECTS" + export PROJECTS="stackforge/murano-conductor $PROJECTS" + export PROJECTS="stackforge/murano-repository $PROJECTS" + export PROJECTS="stackforge/murano-common $PROJECTS" + export PROJECTS="stackforge/python-muranoclient $PROJECTS" + export PROJECTS="stackforge/murano-dashboard $PROJECTS" + export PROJECTS="stackforge/murano-metadataclient $PROJECTS" + + function pre_test_hook { + cd /opt/stack/new/murano-api/functionaltests + ./pre_test_hook.sh + } + export -f pre_test_hook + + function post_test_hook { + cd /opt/stack/new/murano-api/functionaltests + ./post_test_hook.sh + } + export -f post_test_hook + + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + - link-logs + + publishers: + - devstack-logs + - console-log diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 32ad3b84b5..0e70b20291 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -553,6 +553,8 @@ jobs: voting: false - name: gate-murano-dashboard-requirements voting: false + - name: gate-murano-devstack-dsvm + voting: false - name: gate-oslo.vmware-docs voting: false - name: gate-oslo.vmware-requirements @@ -3653,6 +3655,7 @@ projects: - gate-murano-api-python26 - gate-murano-api-python27 - gate-murano-api-requirements + - gate-murano-devstack-dsvm gate: - gate-murano-api-pep8 - gate-murano-api-python26 @@ -3671,6 +3674,7 @@ projects: - gate-murano-common-python27 - gate-murano-common-python33 - gate-murano-common-requirements + - gate-murano-devstack-dsvm gate: - gate-murano-common-pep8 - gate-murano-common-python26 @@ -3692,6 +3696,7 @@ projects: - gate-murano-conductor-python26 - gate-murano-conductor-python27 - gate-murano-conductor-requirements + - gate-murano-devstack-dsvm gate: - gate-murano-conductor-pep8 - gate-murano-conductor-python26 @@ -3709,6 +3714,7 @@ projects: - gate-murano-dashboard-python26 - gate-murano-dashboard-python27 - gate-murano-dashboard-requirements + - gate-murano-devstack-dsvm gate: - gate-murano-dashboard-pep8 - gate-murano-dashboard-python26 @@ -3739,6 +3745,7 @@ projects: - gate-murano-metadataclient-python27 - gate-murano-metadataclient-python33 - gate-murano-metadataclient-requirements + - gate-murano-devstack-dsvm gate: - gate-murano-metadataclient-pep8 - gate-murano-metadataclient-python26 @@ -3761,6 +3768,7 @@ projects: - gate-murano-repository-python27 - gate-murano-repository-python33 - gate-murano-repository-requirements + - gate-murano-devstack-dsvm gate: - gate-murano-repository-pep8 - gate-murano-repository-python26 @@ -4275,6 +4283,7 @@ projects: - gate-python-muranoclient-python27 - gate-python-muranoclient-python33 - gate-python-muranoclient-requirements + - gate-murano-devstack-dsvm gate: - gate-python-muranoclient-pep8 - gate-python-muranoclient-python26