project-config/jenkins/jobs/manila.yaml
Andreas Jaeger 4032d9edcd Always use gate- instead of check- (l-n*)
Change pipeline name to only use "gate", we do not need the
differentiation between check and gate anymore.
This changes the pipelines configured via files in jenkins/jobs/[l-n]*.

Change-Id: Ifdd228a918fa69ab7f6151e45f32e468fef4e490
2015-07-13 20:53:32 +02:00

336 lines
11 KiB
YAML

- job:
name: gate-manila-tempest-dsvm-neutron-postgres
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_POSTGRES=1
export ENABLED_SERVICES=tempest
if [[ $ZUUL_BRANCH = "stable/juno" ]]; then
# Juno version uses 'hooks' approach that requires explicit
# enabling of services.
ENABLED_SERVICES+=,manila,m-api,m-shr,m-sch
else
# Enable manila devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
export DEVSTACK_LOCAL_CONFIG="enable_plugin manila git://git.openstack.org/openstack/manila"
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {
source $BASE/new/manila/contrib/ci/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
# Configure and run tempest on singlebackend manila installation
source $BASE/new/manila/contrib/ci/post_test_hook.sh singlebackend
}
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:
- devstack-logs
- console-log
- job:
name: gate-manila-tempest-dsvm-neutron
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
if [[ $ZUUL_BRANCH = "stable/juno" ]]; then
# Juno version uses 'hooks' approach that requires explicit
# enabling of services.
ENABLED_SERVICES+=,manila,m-api,m-shr,m-sch
else
# Enable manila devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
export DEVSTACK_LOCAL_CONFIG="enable_plugin manila git://git.openstack.org/openstack/manila"
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {
source $BASE/new/manila/contrib/ci/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
# Configure and run tempest on singlebackend manila installation
source $BASE/new/manila/contrib/ci/post_test_hook.sh singlebackend
}
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:
- devstack-logs
- console-log
- job:
name: gate-manila-tempest-dsvm-neutron-multibackend
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
if [[ $ZUUL_BRANCH = "stable/juno" ]]; then
# Juno version uses 'hooks' approach that requires explicit
# enabling of services.
ENABLED_SERVICES+=,manila,m-api,m-shr,m-sch
else
# Enable manila devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
export DEVSTACK_LOCAL_CONFIG="enable_plugin manila git://git.openstack.org/openstack/manila"
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {
source $BASE/new/manila/contrib/ci/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
# Configure and run tempest on multibackend manila installation
source $BASE/new/manila/contrib/ci/post_test_hook.sh multibackend
}
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:
- devstack-logs
- console-log
- job:
name: gate-manila-tempest-dsvm-neutron-no-share-servers
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
if [[ $ZUUL_BRANCH = "stable/juno" ]]; then
# Juno version uses 'hooks' approach that requires explicit
# enabling of services.
ENABLED_SERVICES+=,manila,m-api,m-shr,m-sch
else
# Enable manila devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
export DEVSTACK_LOCAL_CONFIG="enable_plugin manila git://git.openstack.org/openstack/manila"
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {
# Configure devstack to run manila installation without handling of share servers
source $BASE/new/manila/contrib/ci/pre_test_hook.sh False
}
export -f pre_test_hook
function post_test_hook {
# Configure and run tempest on singlebackend manila installation
source $BASE/new/manila/contrib/ci/post_test_hook.sh singlebackend
}
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:
- devstack-logs
- console-log
- job:
name: gate-manilaclient-dsvm-neutron-functional
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
if [[ $ZUUL_BRANCH = "stable/juno" ]]; then
# Juno version uses 'hooks' approach that requires explicit
# enabling of services.
ENABLED_SERVICES+=,manila,m-api,m-shr,m-sch
else
# Enable manila devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
export DEVSTACK_LOCAL_CONFIG="enable_plugin manila git://git.openstack.org/openstack/manila"
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {
source $BASE/new/python-manilaclient/contrib/ci/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
# Configure and run functional tests
source $BASE/new/python-manilaclient/contrib/ci/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
- job:
name: gate-manila-tempest-dsvm-neutron-scenario
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
if [[ $ZUUL_BRANCH = "stable/juno" ]]; then
# Juno version uses 'hooks' approach that requires explicit
# enabling of services.
ENABLED_SERVICES+=,manila,m-api,m-shr,m-sch
else
# Enable manila devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
export DEVSTACK_LOCAL_CONFIG="enable_plugin manila git://git.openstack.org/openstack/manila"
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {
source $BASE/new/manila/contrib/ci/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
# Configure and run tempest on singlebackend manila installation
source $BASE/new/manila/contrib/ci/post_test_hook.sh singlebackend
}
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:
- devstack-logs
- console-log
- job-template:
name: 'gate-manila-buildimage-{os-element}'
node: 'bare-precise || bare-trusty'
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
export MANILA_IMG_OS={os-element}
tox -e buildimage
mv manila-service-image.qcow2 $WORKSPACE/{os-element}.qcow2
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: '{os-element}.qcow2'
target: 'tarballs/manila-image-elements/images'
keep-hierarchy: false
copy-after-failure: false
- console-log