7159126bcd
Several openstack projects are now using openstackclient for their shell. As a result, there have been bugs raised where different projects will use the same command, which, when released, causes the unified command line to be broken. This patch attempts to solve this issue before it occurs by checking that the proposed change does not break the command line. See mailing list post: http://lists.openstack.org/pipermail/openstack-dev/2015-October/076272.html Change-Id: I41b99e2ab7614ff0f49dc120e2b13751275337de Related-Bug: 1503512
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
- job-template:
|
|
name: '{pipeline}-osc-dsvm-functional{job-suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 125
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_UNSTACK=0
|
|
export DEVSTACK_GATE_TIMEOUT=120
|
|
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/python-openstackclient $PROJECTS"
|
|
export DEVSTACK_PROJECT_FROM_GIT=python-openstackclient
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
function post_test_hook {{
|
|
bash -xe $BASE/new/python-openstackclient/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
|
|
|
|
- job:
|
|
name: check-osc-plugins
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- link-logs
|
|
- net-info
|
|
- gerrit-git-prep
|
|
- shell: /usr/local/jenkins/slave_scripts/check-osc-plugins.sh
|
|
|
|
publishers:
|
|
- console-log
|