Merge "osc-placement: experimental job for running of functional tests"
This commit is contained in:
commit
9239961987
@ -47,6 +47,49 @@
|
|||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{pipeline}-osc-placement-dsvm-functional{special}-{node}{suffix}'
|
||||||
|
node: '{node}'
|
||||||
|
|
||||||
|
wrappers:
|
||||||
|
- build-timeout:
|
||||||
|
timeout: 120
|
||||||
|
- timestamps
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- link-logs
|
||||||
|
- net-info
|
||||||
|
- devstack-checkout
|
||||||
|
- shell: |
|
||||||
|
#!/bin/bash -xe
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export BRANCH_OVERRIDE={branch-override}
|
||||||
|
export PROJECTS="openstack/osc-placement $PROJECTS"
|
||||||
|
export DEVSTACK_PROJECT_FROM_GIT=osc-placement
|
||||||
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||||
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||||
|
fi
|
||||||
|
# This ensures that if we set override branch to something
|
||||||
|
# else, we still take osc-placement from the zuul branch
|
||||||
|
# name. So override branch can be 'stable/mitaka' but we can
|
||||||
|
# test master changes.
|
||||||
|
export OVERRIDE_OSC_PLACEMENT_PROJECT_BRANCH=$ZUUL_BRANCH
|
||||||
|
|
||||||
|
function post_test_hook {{
|
||||||
|
# Configure and run functional tests
|
||||||
|
$BASE/new/osc-placement/osc_placement/tests/functional/hooks/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
|
||||||
|
|
||||||
|
|
||||||
# This runs single-node full tempest with neutron plus cells v2 and
|
# This runs single-node full tempest with neutron plus cells v2 and
|
||||||
# the placement-api service. The intent of this job is to test the latest
|
# the placement-api service. The intent of this job is to test the latest
|
||||||
# features in Nova which might be considered experimental in master.
|
# features in Nova which might be considered experimental in master.
|
||||||
|
@ -9609,6 +9609,12 @@
|
|||||||
- python-jobs
|
- python-jobs
|
||||||
- openstack-publish-jobs
|
- openstack-publish-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
|
- '{pipeline}-osc-placement-dsvm-functional{special}-{node}{suffix}':
|
||||||
|
pipeline: gate
|
||||||
|
node: ubuntu-xenial
|
||||||
|
special: ''
|
||||||
|
suffix: ''
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: oslo-cookiecutter
|
name: oslo-cookiecutter
|
||||||
|
@ -14543,6 +14543,8 @@ projects:
|
|||||||
- name: check-requirements
|
- name: check-requirements
|
||||||
- name: openstack-server-publish-jobs
|
- name: openstack-server-publish-jobs
|
||||||
- name: publish-to-pypi
|
- name: publish-to-pypi
|
||||||
|
experimental:
|
||||||
|
- gate-osc-placement-dsvm-functional-ubuntu-xenial
|
||||||
|
|
||||||
- name: openstack/oslo-specs
|
- name: openstack/oslo-specs
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user