
1. Added glare.yaml - needed for setting up environment vars and run tempests tests. 2. Added a template job for running tempest tests under layout.yaml Change-Id: I2c53f901ff0755a123900a40a68306ce32eb6798
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
- job-template:
|
|
name: '{pipeline}-glare-dsvm-{node}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 130
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- local_conf:
|
|
conf: |
|
|
[[local|localrc]]
|
|
enable_plugin glare git://git.openstack.org/openstack/glare
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export PROJECTS="openstack/python-glareclient $PROJECTS"
|
|
export PROJECTS="openstack/glare $PROJECTS"
|
|
export ENABLED_SERVICES=tempest
|
|
export GLARE_CUSTOM_MODULES=glare.tests.sample_artifact
|
|
export GLARE_ENABLED_TYPES=heat_templates,heat_environments,murano_packages,tosca_templates,images,sample_artifact
|
|
function pre_test_hook {{
|
|
source $BASE/new/glare/glare_tempest_plugin/contrib/pre_test_hook.sh
|
|
}}
|
|
export -f pre_test_hook
|
|
function gate_hook {{
|
|
source $BASE/new/glare/glare_tempest_plugin/contrib/gate_hook.sh
|
|
}}
|
|
export -f gate_hook
|
|
function post_test_hook {{
|
|
source $BASE/new/glare/glare_tempest_plugin/contrib/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
|