project-config/jenkins/jobs/karbor.yaml
chenying 59ec3bd6fa Karbor: update the $PROJECTS variable of the job definition
Add the project trove to the $PROJECTS variable in the job
definition karbor.yaml. To fix the erorr about cloning trove
when the trove service is enable[1].

[1]https://review.openstack.org/#/c/480204/

Change-Id: Icf6397bae939d524c0f9bf249677a7f8bd6e06f8
2017-07-05 11:32:16 +08:00

70 lines
2.0 KiB
YAML

- job-template:
name: '{pipeline}-karbor-dsvm-fullstack{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[post-config|$SWIFT_CONFIG_PROXY_SERVER]]
[DEFAULT]
workers=4
[[post-config|$CINDER_CONF]]
[DEFAULT]
osapi_volume_workers=8
rpc_response_timeout=120
[[post-config|$KARBOR_API_CONF]]
[DEFAULT]
max_window_time=150
min_window_time=75
min_interval=300
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/karbor $PROJECTS"
export PROJECTS="openstack/trove $PROJECTS"
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT="python-karborclient"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/karbor/devstack/devstackgaterc
function gate_hook {{
bash -xe $BASE/new/karbor/karbor/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/karbor/karbor/tests/contrib/post_test_hook.sh fullstack
}}
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