Fix cinder deployment script
Recently we introduced test jobs that consume charts from either local or public Helm repos. All the deployment scripts must use variables OSH_HELM_REPO or OSH_INFRA_HELM_REPO which by default point to local directories but these new jobs set them to use HTTP repos. Change-Id: I2e17790385c2bdc0b79607c240a47639c61365c0
This commit is contained in:
parent
42c455a4e8
commit
95adcb7201
@ -13,8 +13,10 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Define variables
|
||||||
: ${OSH_EXTRA_HELM_ARGS_CINDER:="$(helm osh get-values-overrides ${DOWNLOAD_OVERRIDES:-} -c cinder ${FEATURES})"}
|
: ${OSH_HELM_REPO:="../openstack-helm"}
|
||||||
|
: ${OSH_PATH:="../openstack-helm"}
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_CINDER:="$(helm osh get-values-overrides ${DOWNLOAD_OVERRIDES:-} -p ${OSH_PATH} -c cinder ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
@ -55,7 +57,7 @@ conf:
|
|||||||
rbd_user: cinder
|
rbd_user: cinder
|
||||||
rbd_secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
|
rbd_secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
|
||||||
EOF
|
EOF
|
||||||
helm upgrade --install cinder ./cinder \
|
helm upgrade --install cinder ${OSH_HELM_REPO}/cinder \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--values=/tmp/cinder.yaml \
|
--values=/tmp/cinder.yaml \
|
||||||
--timeout=600s \
|
--timeout=600s \
|
||||||
|
Loading…
Reference in New Issue
Block a user