project-config/jenkins/jobs/blazar.yaml
Clint Adams 15312b86db Stackforge namespace retirement renaming
This patch renames many projects that were in the stackforge namespace
and moves them to the openstack namespace.

Input for this process was derived from community collaboration
resulting in this set of two lists:
https://wiki.openstack.org/w/index.php?title=Stackforge_Namespace_Retirement&oldid=92717

Uses data/stackforge-renames in patchset 36 of
https://review.openstack.org/#/c/228002/
as input to the script in patchset 36 of
https://review.openstack.org/#/c/228002/

Change-Id: I5d41b8268b9472aef78dce810ac30ee959ae8d42
2015-10-16 11:10:16 -04:00

51 lines
1.8 KiB
YAML

- job:
name: gate-blazar-devstack-dsvm
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 65
- 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="openstack/blazar $PROJECTS"
export PROJECTS="openstack/blazar-nova $PROJECTS"
export PROJECTS="openstack/python-blazarclient $PROJECTS"
# 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"
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
}
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