Add gate for rbd storage backend.

This PS allows to test rbd storage backend when apply glance. Currently,
only radosgw is verified after ceph distribution.

Change-Id: Ia3c2c915a2e9a65b09123b8e1c47892069c9ae1b
Blueprint: add-rbd-gate
This commit is contained in:
Jaesang Lee 2018-03-23 16:18:02 +09:00
parent 757378fb7f
commit 2b5f2d97e0
3 changed files with 25 additions and 4 deletions

View File

@ -16,7 +16,12 @@
check:
jobs:
- openstack-helm-linter
- openstack-helm-dev-deploy-ceph-ovs:
- openstack-helm-dev-deploy-ceph-radosgw-ovs:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-helm-dev-deploy-ceph-rbd-ovs:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
@ -99,7 +104,12 @@
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-helm-dev-deploy-ceph-ovs:
- openstack-helm-dev-deploy-ceph-radosgw-ovs:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-helm-dev-deploy-ceph-rbd-ovs:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
@ -139,7 +149,16 @@
nodeset: openstack-helm-single-node
- job:
name: openstack-helm-dev-deploy-ceph-ovs
name: openstack-helm-dev-deploy-ceph-radosgw-ovs
vars:
zuul_glance_backend: radosgw
parent: openstack-helm-dev-deploy
run: tools/gate/playbooks/dev-deploy-ceph.yaml
- job:
name: openstack-helm-dev-deploy-ceph-rbd-ovs
vars:
zuul_glance_backend: rbd
parent: openstack-helm-dev-deploy
run: tools/gate/playbooks/dev-deploy-ceph.yaml

View File

@ -21,7 +21,8 @@ make pull-images glance
#NOTE: Deploy command
: ${OSH_EXTRA_HELM_ARGS:=""}
GLANCE_BACKEND="radosgw" # NOTE(portdirect), this could be: radosgw, rbd, swift or pvc
#NOTE(portdirect), this could be: radosgw, rbd, swift or pvc
: ${GLANCE_BACKEND:="radosgw"}
helm upgrade --install glance ./glance \
--namespace=openstack \
--set storage=${GLANCE_BACKEND} \

View File

@ -135,6 +135,7 @@
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
GLANCE_BACKEND: "{{ zuul_glance_backend | default('') }}"
args:
chdir: "{{ zuul.project.src_dir }}"
# - name: Deploy Cinder