project-config/jenkins/jobs/mogan.yaml
Pavlo Shchelokovskyy c0f40cab24 Change mogan tempest job to use ipmitool driver
the *_ssh drivers in ironic are unsupported since Newton and slated for
removal in Pike.

This patch moves gate-mogan-dsvm-tempest-plugin job to set up ironic
with agent_ipmitool driver insead of agent_ssh one.

This change was tested [0] with force-enabled *_ipmitool drivers and
the job in question has succeeded.

[0] https://review.openstack.org/#/c/452720

Change-Id: I06b72cb07cac0c864ad1713d0379e5496bdc1919
Related-Bug: #1570301
2017-04-03 15:15:46 +03:00

45 lines
1.7 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
- 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 DEVSTACK_LOCAL_CONFIG="enable_plugin ironic git://git.openstack.org/openstack/ironic"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin mogan git://git.openstack.org/openstack/mogan"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1"
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