Files
project-config/jenkins/jobs/horizon.yaml
David Lyle 841accd5a7 Adding tempest-horizon repo and job
In an effort to make the overall gate more robust and still
allow Horizon to update their xstatic packages, this patch
adds a repo containing the current horizon tempest scenario
tests in tempest plugin form. The patch also adds a non-voting
check job to allow testing of the plugin.

Without this change, it is possible to break the gate by
updating xstatic packages before Horizon can support the new
version. This sad truth is an offshoot of the difficultly of
supporting the many incompatibilities between versions of
javascript libraries.

Once the new job is verified and added to the horizon gate, the
current horizon scenario tests in openstack/tempest would be
removed.

Needed-By: Ib01a69ffb978708ad7b515d3aaa4b58bc894a167
Change-Id: I1608407a4f8246728c30870fd5e1886c632e7734
2016-05-05 15:48:06 -06:00

115 lines
2.8 KiB
YAML

- job:
name: gate-horizon-jshint
node: ubuntu-trusty
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- tox:
envlist: jshint
publishers:
- console-log
- job:
name: gate-horizon-dsvm-integration
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- firefox-install
- xvfb-install
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/horizon/tools/gate/integration/devstack_gate_rc
function pre_test_hook {
cd /opt/stack/new/horizon/tools/gate/integration
./pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
cd /opt/stack/new/horizon/tools/gate/integration
./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:
- test-results
- devstack-logs
- console-log
- publish-test-reports
- publisher:
name: publish-test-reports
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'test_reports/**'
keep-hierarchy: true
copy-after-failure: true
- job:
name: gate-horizon-selenium-headless
node: ubuntu-trusty
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
NOSE_WITH_XUNIT=1 tox -evenv -- /bin/bash run_tests.sh -N --only-selenium --selenium-headless
publishers:
- console-log
- job:
name: gate-horizon-dsvm-tempest-plugin
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- firefox-install
- xvfb-install
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export PROJECTS="openstack/tempest-horizon $PROJECTS"
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