2015-01-27 14:02:16 +01:00
|
|
|
# Murano and Congress integration functional tests
|
2016-12-07 15:06:30 -08:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: 'gate-murano-congress-devstack-dsvm-{node}{suffix}'
|
2016-12-07 15:06:30 -08:00
|
|
|
node: '{node}'
|
2015-01-27 14:02:16 +01:00
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 10:08:54 +01:00
|
|
|
timeout: 70
|
2015-01-27 14:02:16 +01:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
2015-04-22 19:44:54 +03:00
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
2015-11-20 04:59:10 +03:00
|
|
|
export ENABLED_SERVICES=tempest
|
2016-10-26 12:23:55 -07:00
|
|
|
export PROJECTS="openstack/heat $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-heatclient $PROJECTS"
|
2015-03-26 12:18:02 +03:00
|
|
|
export PROJECTS="openstack/murano $PROJECTS"
|
|
|
|
export PROJECTS="openstack/murano-dashboard $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-muranoclient $PROJECTS"
|
2015-03-31 14:52:02 -07:00
|
|
|
export PROJECTS="openstack/congress $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-congressclient $PROJECTS"
|
2015-09-22 03:30:17 +03:00
|
|
|
export PROJECTS="openstack/mistral $PROJECTS"
|
2015-10-26 21:07:35 +03:00
|
|
|
export PROJECTS="openstack/mistral-dashboard $PROJECTS"
|
2015-09-22 03:30:17 +03:00
|
|
|
export PROJECTS="openstack/python-mistralclient $PROJECTS"
|
2015-07-10 12:33:38 +02:00
|
|
|
export KEEP_LOCALRC=1
|
2015-01-27 14:02:16 +01:00
|
|
|
|
2016-10-26 12:23:55 -07:00
|
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin heat git://git.openstack.org/openstack/heat"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin mistral git://git.openstack.org/openstack/mistral"
|
2015-11-20 04:59:10 +03:00
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin congress git://git.openstack.org/openstack/congress"
|
2015-09-22 03:30:17 +03:00
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MURANO_ENABLE_MODEL_POLICY_ENFORCEMENT=True"
|
2015-01-27 14:02:16 +01:00
|
|
|
|
2016-06-09 17:15:39 +03:00
|
|
|
# Enable murano devstack plugin. Provided repo should be cloned by zuul before devstack run
|
|
|
|
# and below provided link should not be used.
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin murano git://git.openstack.org/openstack/murano"
|
2015-10-16 14:30:53 +03:00
|
|
|
|
2016-12-07 15:06:30 -08:00
|
|
|
function pre_test_hook {{
|
2015-01-27 14:02:16 +01:00
|
|
|
cd /opt/stack/new/murano/functionaltests
|
|
|
|
./pre_test_hook_congress.sh
|
|
|
|
./pre_test_hook_mistral.sh
|
|
|
|
./pre_test_hook.sh
|
2016-12-07 15:06:30 -08:00
|
|
|
}}
|
2015-01-27 14:02:16 +01:00
|
|
|
export -f pre_test_hook
|
|
|
|
|
2016-12-07 15:06:30 -08:00
|
|
|
function post_test_hook {{
|
2015-01-27 14:02:16 +01:00
|
|
|
cd /opt/stack/new/murano/functionaltests
|
|
|
|
./post_test_hook.sh congress_mistral
|
2016-12-07 15:06:30 -08:00
|
|
|
}}
|
2015-01-27 14:02:16 +01:00
|
|
|
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
|
2015-05-11 23:56:24 +03:00
|
|
|
|
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-muranoclient-dsvm-functional-{mode}-{node}{suffix}'
|
2015-05-11 23:56:24 +03:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 10:08:54 +01:00
|
|
|
timeout: 70
|
2015-05-11 23:56:24 +03:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export DEVSTACK_PROJECT_FROM_GIT=python-muranoclient
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
|
2015-10-16 14:30:53 +03:00
|
|
|
export ENABLED_SERVICES=tempest
|
2016-10-26 12:23:55 -07:00
|
|
|
export PROJECTS="openstack/heat $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-heatclient $PROJECTS"
|
2015-05-11 23:56:24 +03:00
|
|
|
export PROJECTS="openstack/murano $PROJECTS"
|
|
|
|
export PROJECTS="openstack/murano-dashboard $PROJECTS"
|
2015-07-10 12:33:38 +02:00
|
|
|
export KEEP_LOCALRC=1
|
2015-05-11 23:56:24 +03:00
|
|
|
|
2016-06-09 17:15:39 +03:00
|
|
|
# Enable murano devstack plugin. Provided repo should be cloned by zuul before devstack run
|
|
|
|
# and below provided link should not be used.
|
2016-10-26 12:23:55 -07:00
|
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin heat git://git.openstack.org/openstack/heat"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin murano git://git.openstack.org/openstack/murano"
|
2015-10-16 14:30:53 +03:00
|
|
|
|
2016-08-29 12:31:13 +03:00
|
|
|
if [ "{mode}" = "glare-backend" ]; then
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service g-glare"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MURANO_USE_GLARE=True"
|
|
|
|
fi
|
|
|
|
|
2015-05-11 23:56:24 +03:00
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
|
|
|
|
function pre_test_hook {{
|
|
|
|
# Install Murano devstack modules
|
|
|
|
cd /opt/stack/new/murano/functionaltests
|
|
|
|
./pre_test_hook.sh
|
|
|
|
}}
|
|
|
|
export -f pre_test_hook
|
|
|
|
|
|
|
|
function post_test_hook {{
|
|
|
|
# Configure and run functional tests
|
|
|
|
/opt/stack/new/python-muranoclient/muranoclient/tests/functional/hooks/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
|
2016-09-05 16:27:33 +03:00
|
|
|
- console-log
|
2015-10-30 20:28:41 +03:00
|
|
|
|
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: 'gate-tempest-dsvm-murano-{mode}-{node}{suffix}'
|
2015-10-30 20:28:41 +03:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 10:08:54 +01:00
|
|
|
timeout: 130
|
2015-10-30 20:28:41 +03:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
2015-11-03 19:02:25 +03:00
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
# Allow tempest to use site-packages with plugins
|
|
|
|
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
2016-10-26 12:23:55 -07:00
|
|
|
export PROJECTS="openstack/heat $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-heatclient $PROJECTS"
|
2015-11-02 14:36:45 +03:00
|
|
|
export PROJECTS="openstack/murano $PROJECTS"
|
|
|
|
export PROJECTS="openstack/murano-dashboard $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-muranoclient $PROJECTS"
|
2016-10-26 12:23:55 -07:00
|
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin heat git://git.openstack.org/openstack/heat"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin murano git://git.openstack.org/openstack/murano"
|
2015-10-30 20:28:41 +03:00
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
if [ "{mode}" = "cfapi" ]; then
|
2015-11-03 19:02:25 +03:00
|
|
|
export ENABLED_SERVICES+=,murano-cfapi
|
2015-10-30 20:28:41 +03:00
|
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="service_broker"
|
2016-02-02 16:02:36 +03:00
|
|
|
elif [ "{mode}" = "api" ]; then
|
2016-01-21 15:28:57 +03:00
|
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="application_catalog"
|
2016-03-30 18:03:34 +03:00
|
|
|
elif [ "{mode}" = "glare-backend" ]; then
|
|
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="application_catalog"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service g-glare"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MURANO_USE_GLARE=True"
|
2016-01-21 15:28:57 +03:00
|
|
|
fi
|
2015-10-30 20:28:41 +03:00
|
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
|
|
|
|
|
|
publishers:
|
2015-11-30 19:46:26 +03:00
|
|
|
- test-results
|
2015-10-30 20:28:41 +03:00
|
|
|
- devstack-logs
|
2015-11-02 17:11:19 +00:00
|
|
|
- console-log
|
2016-08-05 16:59:29 +03:00
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: 'gate-dsvm-{name}-{murano-app}-unittest-{node}{suffix}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 130
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- zuul-git-prep
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export KEYSTONE_USE_MOD_WSGI=False
|
|
|
|
# Allow tempest to use site-packages with plugins
|
|
|
|
export PROJECTS="openstack/murano $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-muranoclient $PROJECTS"
|
|
|
|
export PROJECTS="openstack/murano-dashboard $PROJECTS"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin murano git://git.openstack.org/openstack/murano"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service heat h-api h-api-cfn h-api-cw h-eng"
|
|
|
|
function post_test_hook {{
|
|
|
|
# Configure and run functional tests
|
|
|
|
. /opt/stack/new/devstack/openrc admin admin
|
|
|
|
cd ${{WORKSPACE}}
|
|
|
|
tox -ve {murano-app}-unittest
|
|
|
|
}}
|
|
|
|
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
|
2017-03-30 22:51:50 +01:00
|
|
|
|
2017-04-19 19:37:38 +01:00
|
|
|
# Experimental murano functional pipeline in place of outdated murano-ci.
|
2017-03-30 22:51:50 +01:00
|
|
|
- job-template:
|
|
|
|
name: 'gate-murano-dsvm-functional-{node}{suffix}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 130
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- local_conf:
|
|
|
|
conf: |
|
|
|
|
[[local|localrc]]
|
|
|
|
enable_plugin heat git://git.openstack.org/openstack/heat
|
|
|
|
enable_plugin murano git://git.openstack.org/openstack/murano
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
|
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
|
|
|
|
export PROJECTS="openstack/heat $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-heatclient $PROJECTS"
|
|
|
|
export PROJECTS="openstack/murano $PROJECTS"
|
|
|
|
export PROJECTS="openstack/murano-dashboard $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-muranoclient $PROJECTS"
|
|
|
|
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
|
|
|
|
function post_test_hook {{
|
|
|
|
source $BASE/new/murano/functionaltests/post_test_hook_experimental.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
|
|
|
|
|
2017-04-19 19:37:38 +01:00
|
|
|
publishers:
|
|
|
|
- test-results
|
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
# Experimental murano functional pipeline in place of outdated murano-ci.
|
|
|
|
- job-template:
|
|
|
|
name: 'gate-dashboard-dsvm-selenium-{type}-{node}{suffix}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 130
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- local_conf:
|
|
|
|
conf: |
|
|
|
|
[[local|localrc]]
|
|
|
|
enable_plugin murano git://git.openstack.org/openstack/murano
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
|
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
|
|
|
|
export PROJECTS="openstack/murano $PROJECTS"
|
|
|
|
export PROJECTS="openstack/murano-dashboard $PROJECTS"
|
|
|
|
export PROJECTS="openstack/python-muranoclient $PROJECTS"
|
|
|
|
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
|
|
|
|
function post_test_hook {{
|
|
|
|
source $BASE/new/murano-dashboard/muranodashboard/tests/contrib/post_test_hook_experimental.sh \
|
|
|
|
{type}
|
|
|
|
}}
|
|
|
|
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
|
|
|
|
|
2017-03-30 22:51:50 +01:00
|
|
|
publishers:
|
|
|
|
- test-results
|
|
|
|
- devstack-logs
|
|
|
|
- console-log
|