Merge "add functional test for osc that uses master libraries"

This commit is contained in:
Jenkins 2017-01-13 12:09:02 +00:00 committed by Gerrit Code Review
commit 01f8e5fdac
3 changed files with 57 additions and 0 deletions

View File

@ -49,6 +49,57 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-osc-dsvm-functional-tips-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=0
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/os-client-config $PROJECTS"
export PROJECTS="openstack/osc-lib $PROJECTS"
export PROJECTS="openstack/python-openstackclient $PROJECTS"
export PROJECTS="openstack/python-openstacksdk $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-openstackclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_LOCAL_CONFIG="enable_plugin neutron https://git.openstack.org/openstack/neutron"
export ENABLED_SERVICES=q-qos
function post_test_hook {{
# This test hook will install the master version of the following:
# - osc-lib
# - openstacksdk
# - os-client-config
hook_location=$BASE/new/python-openstackclient/openstackclient/tests/functional/post_test_hook_tips.sh
bash -xe $hook_location
}}
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
- job:
name: check-osc-plugins
node: ubuntu-trusty

View File

@ -12291,6 +12291,11 @@
- ubuntu-xenial
suffix: ''
branch-override: default
- '{pipeline}-osc-dsvm-functional-tips-{node}{suffix}':
pipeline: gate
suffix: '-nv'
branch-override: default
node: ubuntu-xenial
- openstack-client-publish-jobs
- openstack-releasenotes-jobs
- pypi-jobs

View File

@ -15740,6 +15740,7 @@ projects:
check:
- gate-osc-dsvm-functional-ubuntu-trusty
- gate-osc-dsvm-functional-ubuntu-xenial
- gate-osc-dsvm-functional-tips-ubuntu-xenial-nv
- gate-tripleo-ci-centos-7-nonha-multinode-nv
gate:
- gate-osc-dsvm-functional-ubuntu-trusty