Add smaug fullstack job
Change-Id: I8d7e27f1f4d2fff70a9646c08ca1bf972670dd9d
This commit is contained in:
parent
3226e38c29
commit
bddce49519
@ -8371,6 +8371,11 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- python-jobs
|
- python-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
|
- '{pipeline}-smaug-dsvm-fullstack{job-suffix}':
|
||||||
|
pipeline: gate
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
job-suffix: '-nv'
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: smaug-dashboard
|
name: smaug-dashboard
|
||||||
|
67
jenkins/jobs/smaug.yaml
Normal file
67
jenkins/jobs/smaug.yaml
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
- 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-novnc,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
|
@ -11214,6 +11214,8 @@ projects:
|
|||||||
- name: python3-jobs
|
- name: python3-jobs
|
||||||
- name: check-requirements
|
- name: check-requirements
|
||||||
- name: publish-to-pypi
|
- name: publish-to-pypi
|
||||||
|
check:
|
||||||
|
- gate-smaug-dsvm-fullstack-nv
|
||||||
|
|
||||||
- name: openstack/smaug-dashboard
|
- name: openstack/smaug-dashboard
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user