
This group contains job which run specified rally scenario against devstack cloud. Also add this group to rally project with `rally' scenario to self-check. Change-Id: Ia9dc6450668a65a07e067b680bf0482c2f8c4198
54 lines
1.2 KiB
YAML
54 lines
1.2 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
|
|
|
|
|
|
- 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=1
|
|
export RUN_EXERCISES=rally
|
|
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
|
|
|
|
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'
|
|
|
|
builders:
|
|
- devstack-rally-gate:
|
|
scenario: '{name}'
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
|
|
|
|
- job-group:
|
|
name: rally-jobs
|
|
jobs:
|
|
- 'check-rally-dsvm-{name}'
|