66234f10d6
This overrides enabled_services to make Mogan tempest gate only run needed services. Change-Id: I7f6ace8e52c62a88a52c21ec38d0b8f0bb7e15f2
50 lines
1.8 KiB
YAML
50 lines
1.8 KiB
YAML
- job:
|
|
name: 'gate-mogan-dsvm-tempest-plugin'
|
|
node: ubuntu-xenial
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 60
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- local_conf:
|
|
conf: |
|
|
[[local|localrc]]
|
|
enable_plugin ironic git://git.openstack.org/openstack/ironic
|
|
enable_plugin mogan git://git.openstack.org/openstack/mogan
|
|
IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False
|
|
IRONIC_VM_EPHEMERAL_DISK=1
|
|
IRONIC_USE_RESOURCE_CLASSES=True
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
|
# Run only mogan tests
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="^mogan\."
|
|
export DEVSTACK_GATE_IRONIC=1
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_VIRT_DRIVER=ironic
|
|
export DEVSTACK_GATE_CONFIGDRIVE=1
|
|
export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0
|
|
export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool
|
|
export PROJECTS="openstack/mogan $PROJECTS"
|
|
export PROJECTS="openstack/python-moganclient $PROJECTS"
|
|
export PROJECTS="openstack/ironic $PROJECTS"
|
|
export PROJECTS="openstack/ironic-lib $PROJECTS"
|
|
export PROJECTS="openstack/ironic-python-agent $PROJECTS"
|
|
export PROJECTS="openstack/python-ironicclient $PROJECTS"
|
|
export OVERRIDE_ENABLED_SERVICES="g-api,g-reg,q-agt,q-dhcp,q-l3,q-svc,key,mysql,rabbit,ir-api,ir-cond,s-account,s-container,s-object,s-proxy,tempest"
|
|
|
|
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
|