- 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