Merge "Gate: Fix make command for osh-infra charts"

This commit is contained in:
Zuul 2018-09-13 07:33:17 +00:00 committed by Gerrit Code Review
commit cda53c1edc
6 changed files with 13 additions and 11 deletions

View File

@ -17,10 +17,10 @@
set -xe
#NOTE: Lint and package chart
make ingress
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
make -C ${OSH_INFRA_PATH} ingress
#NOTE: Deploy global ingress
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
helm install ${OSH_INFRA_PATH}/ingress \
--namespace=kube-system \
--name=ingress-kube-system \

View File

@ -17,10 +17,10 @@
set -xe
#NOTE: Lint and package chart
make memcached
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
make -C ${OSH_INFRA_PATH} memcached
#NOTE: Deploy command
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
: ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install memcached ${OSH_INFRA_PATH}/memcached \
--namespace=openstack \

View File

@ -17,12 +17,13 @@
set -xe
#NOTE: Lint and package chart
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
make "${CHART}"
make -C ${OSH_INFRA_PATH} "${CHART}"
done
#NOTE: Deploy command
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
: ${OSH_EXTRA_HELM_ARGS:=""}
[ -s /tmp/ceph-fs-uuid.txt ] || uuidgen > /tmp/ceph-fs-uuid.txt
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"

View File

@ -17,10 +17,10 @@
set -xe
#NOTE: Lint and package chart
make ceph-provisioners
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
make -C ${OSH_INFRA_PATH} ceph-provisioners
#NOTE: Deploy command
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
: ${OSH_EXTRA_HELM_ARGS:=""}
tee /tmp/ceph-openstack-config.yaml <<EOF
endpoints:

View File

@ -17,7 +17,8 @@
set -xe
#NOTE: Lint and package chart
make ingress
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
make -C ${OSH_INFRA_PATH} ingress
#NOTE: Deploy command
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}

View File

@ -17,10 +17,10 @@
set -xe
#NOTE: Lint and package chart
make rabbitmq
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
make -C ${OSH_INFRA_PATH} rabbitmq
#NOTE: Deploy command
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
: ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install rabbitmq ${OSH_INFRA_PATH}/rabbitmq \
--namespace=openstack \