project-config/jenkins/jobs/magnetodb.yaml
Andrei V. Ostapenko d1d737ece5 Adds support of external Devstack plugin for MagnetoDB
Adds support of external Devstack plugin for CI jobs.

Change-Id: If7234783dbe5b8fe8b332653ee734e61b6c05075
2015-07-17 15:45:55 +03:00

64 lines
1.5 KiB
YAML

- job:
name: gate-magnetodb-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 ENABLED_SERVICES=tempest
export PROJECTS="stackforge/magnetodb $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin magnetodb git://git.openstack.org/stackforge/magnetodb"
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
- job-template:
name: 'gate-magnetodb-cassandra-tox'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- gerrit-git-prep
- shell: |
./tools/install_cassandra_ccm.sh
- revoke-sudo
- tox:
envlist: '{envlist}'
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'