project-config/jenkins/jobs/smaug.yaml
xiangxinyong f4310bb930 Remove novnc service from smaug fullstack job
DevStack is not able to clone the novnc repo,
and causes a test failure, so it need to remove
novnc service from smaug fullstack job.

Change-Id: I1d33564b8d55d6831ea20165860c5ce25ecb3da0
2016-05-31 19:58:48 +08:00

68 lines
2.3 KiB
YAML

- job-template:
name: '{pipeline}-smaug-dsvm-fullstack{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- 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/smaug $PROJECTS"
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-cpu,n-api,n-crt,n-cond,n-sch,n-cauth
# n-obj has been removed from mitaka
if [[ "stable/kilo stable/liberty" =~ $ZUUL_BRANCH ]]; then
ENABLED_SERVICES+=,n-obj
fi
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-meta
ENABLED_SERVICES+=,cinder,g-api,g-reg
ENABLED_SERVICES+=,c-api,c-vol,c-sch,c-bak,horizon
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,h-eng,h-api,h-api-cfn,h-api-cw
ENABLED_SERVICES+=,smaug,smaug-api,smaug-operationengine,smaug-protection
export ENABLED_SERVICES
DEVSTACK_LOCAL_CONFIG="enable_plugin smaug git://git.openstack.org/openstack/smaug"
DEVSTACK_LOCAL_CONFIG+=$'\n'"SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5"
DEVSTACK_LOCAL_CONFIG+=$'\n'"SWIFT_REPLICAS=1"
DEVSTACK_LOCAL_CONFIG+=$'\n'"SWIFT_DATA_DIR=$DEST/data"
export DEVSTACK_LOCAL_CONFIG
function gate_hook {{
bash -xe $BASE/new/smaug/smaug/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/smaug/smaug/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