3ae18ba5ab
Sahara has been removed from global configuration, but it is needed by some Horizon tests. As there is only one Horizon integration tests on the gates for now, let's try to enable all tested services. Change-Id: Ic927723d10bc45d3ec862c4f7d3152890114e39e
70 lines
1.6 KiB
YAML
70 lines
1.6 KiB
YAML
- job:
|
|
name: gate-horizon-python27-django14
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: '/usr/local/jenkins/slave_scripts/run-tox.sh py27dj14'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
|
|
- job:
|
|
name: gate-horizon-jshint
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: jshint
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job:
|
|
name: gate-horizon-dsvm-integration
|
|
node: 'devstack-precise || devstack-trusty'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 95
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- firefox-install
|
|
- xvfb-install
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=90
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_EXERCISES=0
|
|
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_SAHARA=1
|
|
|
|
function post_test_hook {
|
|
cd /opt/stack/new/horizon
|
|
sudo -H -u stack tox -e py27integration
|
|
}
|
|
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:
|
|
- test-results
|
|
- devstack-logs
|
|
- console-log
|