Change-Id: I403a942ffb176c89b862bd6a19d5dea40cf1884c
Signed-off-by: meimei <meimei@huawei.com>
- choice:
name: COMPASS_OPENSTACK_VERSION
choices:
+ - 'newton'
- 'mitaka'
- 'liberty'
- choice:
export OS_VERSION=${COMPASS_OS_VERSION}
export OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION}
-if [[ "${COMPASS_OS_VERSION_OPTION}" = "xenial" ]] && [[ "${OPENSTACK_VERSION}" = "mitaka" ]]; then
+if [[ "${COMPASS_OS_VERSION_OPTION}" = "xenial" ]] && [[ "${OPENSTACK_VERSION}" = "mitaka" || "${OPENSTACK_VERSION}" = "newton" ]]; then
export OPENSTACK_VERSION=${OPENSTACK_VERSION}_${COMPASS_OS_VERSION_OPTION}
export OS_VERSION=${COMPASS_OS_VERSION_OPTION}
fi
- choice:
name: COMPASS_OPENSTACK_VERSION
choices:
+ - 'newton'
- 'mitaka'
- 'liberty'
- choice:
- choice:
name: COMPASS_OPENSTACK_VERSION
choices:
+ - 'newton'
- 'mitaka'
- 'liberty'
- choice: