Boris Pavlovic 563258dce3 Bump check-rally-dsvm-{name} job timeout
This job is used to make a custom benchmarks in any projects.
Sometimes to catch a bug we have to make a load for a long period, so bumping
timeout to avoid timeouts.

Change-Id: I118c1ff0a1b6f0bce183601abd1ff7fad144311b
2014-04-30 01:49:37 +04:00

78 lines
1.7 KiB
YAML

- job-template:
name: 'check-rally-install-{node}'
node: '{node}'
builders:
- link-logs
- gerrit-git-prep
- shell: "tests_ci/test_install.sh"
publishers:
- console-log
- publisher:
name: rally-plot
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'rally-plot/**'
keep-hierarchy: true
copy-after-failure: true
- builder:
name: devstack-rally-gate
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PROJECTS="stackforge/rally $PROJECTS"
export ENABLED_SERVICES=rally
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_TIMEOUT=120
export RALLY_SCENARIO={scenario}
function pre_test_hook {{
# Install rally-devstack integration
cp -r $BASE/new/rally/contrib/devstack/* $BASE/new/devstack
}}
export -f pre_test_hook
function post_test_hook {{
$BASE/new/rally/tests_ci/rally-gate.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
- job-template:
name: 'check-rally-dsvm-{name}'
node: 'devstack-precise || devstack-precise-check'
wrappers:
- timeout:
timeout: 125
fail: true
- timestamps
builders:
- devstack-rally-gate:
scenario: '{name}'
publishers:
- devstack-logs
- console-log
- rally-plot
- job-group:
name: rally-jobs
jobs:
- 'check-rally-dsvm-{name}'