Files
cinderlib/travis-scripts/lvm-config.yml
Gorka Eguileor de1ee38d4d Add LVM CI job
This patch adds several CI jobs:

- PEP8
- Unit tests
- LVM

It also changes how we build our images. Now we only push a new image to
Docker Hub if the tests pass successfully.  And we only bother to build
the images if PEP8, Unit tests, and LVM jobs run successfully.
2018-09-06 08:43:28 +02:00

12 lines
1.0 KiB
YAML

+ubuntu-bm-lvm:
+ X_CSI_PERSISTENCE_CONFIG='{"storage":"memory"}' \
+ X_CSI_BACKEND_CONFIG='{"target_protocol":"iscsi","iscsi_ip_address":"127.0.0.1","volume_backend_name":"lvm","volume_driver":"cinder.volume.drivers.lvm.LVMVolumeDriver","volume_group":"ember-volumes","target_helper":"lioadm"}' \
+ X_CSI_EMBER_CONFIG='{"project_id":"io.ember-csi","user_id":"io.ember-csi","root_helper":"sudo","disable_logs":false,"debug":true,"request_multipath":false}' \
+ travis-scripts/run-bm-sanity.sh
+
+ubuntu-lvm:
+ X_CSI_PERSISTENCE_CONFIG='{"storage":"memory"}' \
+ X_CSI_BACKEND_CONFIG='{"target_protocol":"iscsi","iscsi_ip_address":"127.0.0.1","volume_backend_name":"lvm","volume_driver":"cinder.volume.drivers.lvm.LVMVolumeDriver","volume_group":"ember-volumes","target_helper":"lioadm"}' \
+ X_CSI_EMBER_CONFIG='{"project_id":"io.ember-csi","user_id":"io.ember-csi","root_helper":"sudo","disable_logs":false,"debug":true,"request_multipath":false}' \
+ travis-scripts/run-sanity.sh