Merge "Added new experimental job for trove functional tests"

This commit is contained in:
Jenkins 2014-06-18 19:37:12 +00:00 committed by Gerrit Code Review
commit 5ecf66d54c
4 changed files with 75 additions and 27 deletions

View File

@ -1152,6 +1152,10 @@
- openstack-publish-jobs - openstack-publish-jobs
- translation-jobs - translation-jobs
- openstack-doc-jobs - openstack-doc-jobs
- 'gate-trove-functional-dsvm-{datastore}':
datastore: 'mysql'
- 'gate-trove-functional-dsvm-{datastore}':
datastore: 'mongodb'
- '{name}-tox-doc-{envlist}': - '{name}-tox-doc-{envlist}':
envlist: publishdocs envlist: publishdocs

View File

@ -1,27 +0,0 @@
- job:
name: 'gate-trove-buildimage-mysql'
node: 'bare-precise'
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
sudo mkdir -p /opt/trove-image-build
sudo chown $(whoami) /opt/trove-image-build
export DEST=/opt/trove-image-build
export KEY_DIR=`pwd`/scripts/files/keys
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: 'tarballs/trove/images/ubuntu_mysql.qcow2'
keep-hierarchy: false
copy-after-failure: false
- console-log

View File

@ -0,0 +1,64 @@
- job:
name: 'gate-trove-buildimage-mysql'
node: 'bare-precise'
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
sudo mkdir -p /opt/trove-image-build
sudo chown $(whoami) /opt/trove-image-build
export DEST=/opt/trove-image-build
export KEY_DIR=`pwd`/scripts/files/keys
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: 'tarballs/trove/images/ubuntu_mysql.qcow2'
keep-hierarchy: false
copy-after-failure: false
- console-log
- job-template:
name: 'gate-trove-functional-dsvm-{datastore}'
node: 'devstack-precise'
wrappers:
- timeout:
timeout: 85
fail: true
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=80
export ENABLED_SERVICES=s-proxy,s-object,s-container,s-account,trove,tr-api,tr-tmgr,tr-cond
export PROJECTS="openstack/trove-integration openstack/diskimage-builder openstack/tripleo-image-elements $PROJECTS"
function post_test_hook {{
export BRIDGE_IP=10.1.0.1
cd /opt/stack/new/trove-integration/scripts
./redstack kick-start {datastore}
./redstack int-tests
}}
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

View File

@ -632,6 +632,10 @@ jobs:
voting: false voting: false
- name: gate-trove-buildimage-mysql - name: gate-trove-buildimage-mysql
voting: false voting: false
- name: gate-trove-functional-dsvm-mysql
voting: false
- name: gate-trove-functional-dsvm-mongodb
voting: false
# puppet-openstack targets # puppet-openstack targets
- name: gate-puppet-vswitch-puppet-lint - name: gate-puppet-vswitch-puppet-lint
voting: false voting: false
@ -1201,6 +1205,9 @@ projects:
- trove-merge-release-tags - trove-merge-release-tags
periodic: periodic:
- trove-propose-translation-update - trove-propose-translation-update
experimental:
- gate-trove-functional-dsvm-mysql
- gate-trove-functional-dsvm-mongodb
- name: openstack/tuskar - name: openstack/tuskar
template: template: