52eb8ecd55
We want to disable Horizon by default in jobs that don't actually use or test Horizon. This will save job runtime because it means installing fewer packages (which takes time) and happier OSC because fewer packages impacting pkg_resources entrypoint handling. Change-Id: Ib3fdab05bfa5f91678051db5643a976174f4797e
64 lines
1.6 KiB
YAML
64 lines
1.6 KiB
YAML
- job-template:
|
|
name: gate-horizon-selenium-headless-{node}
|
|
node: '{node}'
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
NOSE_WITH_XUNIT=1 tox -e selenium-headless
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: gate-horizon-selenium-headless-legacy-{node}
|
|
node: '{node}'
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- 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-template:
|
|
name: gate-horizon-dsvm-tempest-plugin-{node}
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 100
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_HORIZON=1
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_REGEX=horizon
|
|
export DEVSTACK_LOCAL_CONFIG="export TEMPEST_PLUGINS='/opt/stack/new/tempest-horizon'"
|
|
export PROJECTS="openstack/tempest-horizon $PROJECTS"
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
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
|