project-config/jenkins/jobs/horizon.yaml
dkorn e3971fddad Use Neutron in Horizon integration tests job
Currently, gate-horizon-dsvm-integration job usee Nova Network
instead of Neutron.
Since the integration tests are also planned to test Neutron's
networking features within Horizon it only makes sense that Neutron
will be deployed.

Partially implements blueprint: selenium-integration-testing
Closes-Bug: #1425882

Change-Id: Ib4c4841521ea442b7430b9d24f45743bac491c7d
2015-02-26 12:19:16 +02:00

69 lines
1.5 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
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