Pablo Andres Fuente d50e127e7d Removing the Blazar API health check
Removing the health check of the Blazar API performed in the
pre_test_hook, because the Blazar API is not started at the moment of
the check.

Change-Id: I826f824790ce305c9d41a898ef1b38a74489f869
2014-06-26 18:08:06 -03:00

52 lines
1.8 KiB
YAML

- job:
name: gate-blazar-devstack-dsvm
node: 'devstack-precise || devstack-trusty'
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 DEVSTACK_GATE_TEMPEST=1
export ENABLED_SERVICES=blazar,blazar-a,blazar-m,tempest
export PROJECTS="stackforge/blazar $PROJECTS"
export PROJECTS="stackforge/blazar-nova $PROJECTS"
export PROJECTS="stackforge/python-blazarclient $PROJECTS"
function pre_test_hook {
# Install blazar devstack integration
BLAZAR_BASE=/opt/stack/new/blazar
BLAZAR_DEVSTACK_BASE=$BLAZAR_BASE/contrib/devstack
DEVSTACK_BASE=/opt/stack/new/devstack
cp $BLAZAR_DEVSTACK_BASE/lib/* $DEVSTACK_BASE/lib
cp $BLAZAR_DEVSTACK_BASE/extras.d/* $DEVSTACK_BASE/extras.d
# Install blazar tempest integration
# Copying Tempest test suites
BLAZAR_TEMPEST_DIR=$BLAZAR_BASE/contrib/tempest
TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest}
cp -R $BLAZAR_TEMPEST_DIR/tempest/* $TEMPEST_DIR/tempest
# Construct a regex to limiting scope of tempest
r="^(?:tempest\.cli\.simple_read_only\.test_resource_.*)"
r="$r|^(?:tempest\.scenario\.test_resource_.*)"
export DEVSTACK_GATE_TEMPEST_REGEX="$r"
}
export -f pre_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