From 24c87ed59c0c746d91ac4eed4fc3824c758a36df Mon Sep 17 00:00:00 2001 From: Aleksey Chuprin Date: Fri, 21 Mar 2014 10:14:34 +0200 Subject: [PATCH] Add gate-magnetodb-devstack job Add an initial devstack job for the MagnetoDB project. It just installs magnetodb'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. Change-Id: Ie99a88b95b28cee9443b05fd091f9e4f590e4cfb --- .../jenkins_job_builder/config/magnetodb.yaml | 39 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 3 ++ 2 files changed, 42 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/magnetodb.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/magnetodb.yaml b/modules/openstack_project/files/jenkins_job_builder/config/magnetodb.yaml new file mode 100644 index 0000000000..49afeb52c1 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/magnetodb.yaml @@ -0,0 +1,39 @@ +- job: + name: gate-magnetodb-devstack-dsvm + node: devstack-precise + + wrappers: + - timeout: + timeout: 65 + fail: true + - timestamps + + builders: + - link-logs + - net-info + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TIMEOUT=60 + export ENABLED_SERVICES=magnetodb,tempest + export PROJECTS="stackforge/magnetodb $PROJECTS" + + function pre_test_hook { + cd /opt/stack/new/magnetodb/functionaltests + ./pre_test_hook.sh + } + export -f pre_test_hook + + function post_test_hook { + cd /opt/stack/new/magnetodb/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 + + publishers: + - devstack-logs + - console-log diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 82597e3a91..34b3933abf 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -542,6 +542,8 @@ jobs: voting: false - name: gate-magnetodb-requirements voting: false + - name: gate-magnetodb-devstack-dsvm + voting: false - name: gate-mistral-python33 voting: false - name: gate-mistral-extra-python33 @@ -3637,6 +3639,7 @@ projects: - gate-magnetodb-python27 - gate-magnetodb-docs - gate-magnetodb-requirements + - gate-magnetodb-devstack-dsvm gate: - gate-magnetodb-pep8 - gate-magnetodb-python27