Utilize OSH plugin for deployment test scripts
Depends-On: I8f30fbdf94d76ef9fa2985a25c033df290995326 Change-Id: I35b3793a660cfc27faf700b9679529b154e41df4
This commit is contained in:
parent
d0abf463ba
commit
df1c999e41
@ -20,6 +20,14 @@ deployment process.
|
|||||||
All further steps assume these two repositories are cloned into the
|
All further steps assume these two repositories are cloned into the
|
||||||
`~/osh` directory.
|
`~/osh` directory.
|
||||||
|
|
||||||
|
Next, you need to update the dependencies for all the charts in both OpenStack-Helm
|
||||||
|
repositories. This can be done by running the following commands:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
cd ~/osh/openstack-helm
|
||||||
|
./tools/deployment/common/prepare-charts.sh
|
||||||
|
|
||||||
Also before deploying the OpenStack cluster you have to specify the
|
Also before deploying the OpenStack cluster you have to specify the
|
||||||
OpenStack and the operating system version that you would like to use
|
OpenStack and the operating system version that you would like to use
|
||||||
for deployment. For doing this export the following environment variables
|
for deployment. For doing this export the following environment variables
|
||||||
|
@ -35,7 +35,7 @@ if ! [[ ${FEATURE_GATES//,/ } =~ (^|[[:space:]])metallb($|[[:space:]]) ]]; then
|
|||||||
--set controller.labels.app=ingress-api
|
--set controller.labels.app=ingress-api
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh kube-system
|
helm osh wait-for-pods kube-system
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#NOTE: Deploy namespace ingress
|
#NOTE: Deploy namespace ingress
|
||||||
@ -52,7 +52,7 @@ helm upgrade --install ingress-nginx-openstack ingress-nginx/ingress-nginx \
|
|||||||
--set controller.labels.app=ingress-api
|
--set controller.labels.app=ingress-api
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
helm upgrade --install ingress-nginx-ceph ingress-nginx/ingress-nginx \
|
helm upgrade --install ingress-nginx-ceph ingress-nginx/ingress-nginx \
|
||||||
--version ${HELM_INGRESS_NGINX_VERSION} \
|
--version ${HELM_INGRESS_NGINX_VERSION} \
|
||||||
@ -67,4 +67,4 @@ helm upgrade --install ingress-nginx-ceph ingress-nginx/ingress-nginx \
|
|||||||
--set controller.labels.app=ingress-api
|
--set controller.labels.app=ingress-api
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh ceph
|
helm osh wait-for-pods ceph
|
||||||
|
24
tools/deployment/common/prepare-charts.sh
Executable file
24
tools/deployment/common/prepare-charts.sh
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Build all OSH Infra charts (necessary for Openstack deployment)
|
||||||
|
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
||||||
|
(
|
||||||
|
cd ${OSH_INFRA_PATH} &&
|
||||||
|
make all
|
||||||
|
)
|
||||||
|
|
||||||
|
# Build all OSH charts
|
||||||
|
make all
|
@ -13,9 +13,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make aodh
|
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
helm upgrade --install aodh ./aodh \
|
helm upgrade --install aodh ./aodh \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -27,7 +24,7 @@ helm upgrade --install aodh ./aodh \
|
|||||||
${OSH_EXTRA_HELM_ARGS_AODH}
|
${OSH_EXTRA_HELM_ARGS_AODH}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -15,12 +15,9 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_BARBICAN:="$(./tools/deployment/common/get-values-overrides.sh barbican)"}
|
: ${OSH_EXTRA_HELM_ARGS_BARBICAN:="$(helm osh get-values-overrides -c barbican ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make barbican
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install barbican ./barbican \
|
helm upgrade --install barbican ./barbican \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -28,7 +25,7 @@ helm upgrade --install barbican ./barbican \
|
|||||||
${OSH_EXTRA_HELM_ARGS_BARBICAN}
|
${OSH_EXTRA_HELM_ARGS_BARBICAN}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
# Run helm test
|
# Run helm test
|
||||||
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make ceilometer
|
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
helm upgrade --install ceilometer ./ceilometer \
|
helm upgrade --install ceilometer ./ceilometer \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -27,7 +24,7 @@ helm upgrade --install ceilometer ./ceilometer \
|
|||||||
${OSH_EXTRA_HELM_ARGS_CEILOMETER}
|
${OSH_EXTRA_HELM_ARGS_CEILOMETER}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -16,10 +16,7 @@ set -xe
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_CEPH_NS_ACTIVATE:="$(./tools/deployment/common/get-values-overrides.sh ceph-provisioners)"}
|
: ${OSH_EXTRA_HELM_ARGS_CEPH_NS_ACTIVATE:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c ceph-provisioners ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} ceph-provisioners
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
tee /tmp/ceph-openstack-config.yaml <<EOF
|
tee /tmp/ceph-openstack-config.yaml <<EOF
|
||||||
@ -50,7 +47,7 @@ helm upgrade --install ceph-openstack-config ${HELM_CHART_ROOT_PATH}/ceph-provis
|
|||||||
${OSH_EXTRA_HELM_ARGS_CEPH_NS_ACTIVATE}
|
${OSH_EXTRA_HELM_ARGS_CEPH_NS_ACTIVATE}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
kubectl get -n openstack jobs
|
kubectl get -n openstack jobs
|
||||||
|
@ -14,12 +14,9 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_CINDER:="$(./tools/deployment/common/get-values-overrides.sh cinder)"}
|
: ${OSH_EXTRA_HELM_ARGS_CINDER:="$(helm osh get-values-overrides -c cinder ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make cinder
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
tee /tmp/cinder.yaml <<EOF
|
tee /tmp/cinder.yaml <<EOF
|
||||||
conf:
|
conf:
|
||||||
@ -66,7 +63,7 @@ helm upgrade --install cinder ./cinder \
|
|||||||
${OSH_EXTRA_HELM_ARGS_CINDER}
|
${OSH_EXTRA_HELM_ARGS_CINDER}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -16,10 +16,7 @@ set -xe
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_MARIADB:="$(./tools/deployment/common/get-values-overrides.sh mariadb)"}
|
: ${OSH_EXTRA_HELM_ARGS_MARIADB:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c mariadb ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} mariadb
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -32,4 +29,4 @@ helm upgrade --install mariadb ${HELM_CHART_ROOT_PATH}/mariadb \
|
|||||||
${OSH_EXTRA_HELM_ARGS_MARIADB}
|
${OSH_EXTRA_HELM_ARGS_MARIADB}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
@ -16,10 +16,7 @@ set -xe
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_MEMCACHED:="$(./tools/deployment/common/get-values-overrides.sh memcached)"}
|
: ${OSH_EXTRA_HELM_ARGS_MEMCACHED:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c memcached ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} memcached
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -29,4 +26,4 @@ helm upgrade --install memcached ${HELM_CHART_ROOT_PATH}/memcached \
|
|||||||
${OSH_EXTRA_HELM_ARGS_MEMCACHED}
|
${OSH_EXTRA_HELM_ARGS_MEMCACHED}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
@ -68,21 +68,18 @@ neutron:
|
|||||||
EOF
|
EOF
|
||||||
## includes second argument 'subchart' to indicate a different path
|
## includes second argument 'subchart' to indicate a different path
|
||||||
export HELM_CHART_ROOT_PATH="../openstack-helm/openstack"
|
export HELM_CHART_ROOT_PATH="../openstack-helm/openstack"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_MARIADB:="$(./tools/deployment/common/get-values-overrides.sh mariadb subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_MARIADB:="$(helm osh get-values-overrides -c openstack -s mariadb ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_RABBITMQ:="$(./tools/deployment/common/get-values-overrides.sh rabbitmq subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_RABBITMQ:="$(helm osh get-values-overrides -c openstack -s rabbitmq ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_MEMCACHED:="$(./tools/deployment/common/get-values-overrides.sh memcached subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_MEMCACHED:="$(helm osh get-values-overrides -c openstack -s memcached ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_KEYSTONE:="$(./tools/deployment/common/get-values-overrides.sh keystone subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_KEYSTONE:="$(helm osh get-values-overrides -c openstack -s keystone ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_HEAT:="$(./tools/deployment/common/get-values-overrides.sh heat subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_HEAT:="$(helm osh get-values-overrides -c openstack -s heat ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_GLANCE:="$(./tools/deployment/common/get-values-overrides.sh glance subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_GLANCE:="$(helm osh get-values-overrides -c openstack -s glance ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_OPENVSWITCH:="$(./tools/deployment/common/get-values-overrides.sh openvswitch subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_OPENVSWITCH:="$(helm osh get-values-overrides -c openstack -s openvswitch ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_LIBVIRT:="$(./tools/deployment/common/get-values-overrides.sh libvirt subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_LIBVIRT:="$(helm osh get-values-overrides -c openstack -s libvirt ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(./tools/deployment/common/get-values-overrides.sh nova subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(helm osh get-values-overrides -c openstack -s nova ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(./tools/deployment/common/get-values-overrides.sh placement subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(helm osh get-values-overrides -c openstack -s placement ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(./tools/deployment/common/get-values-overrides.sh neutron subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(helm osh get-values-overrides -c openstack -s neutron ${FEATURES})"}
|
||||||
: ${OSH_EXTRA_HELM_ARGS_HORIZON:="$(./tools/deployment/common/get-values-overrides.sh horizon subchart)"}
|
: ${OSH_EXTRA_HELM_ARGS_HORIZON:="$(helm osh get-values-overrides -c openstack -s horizon ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} .
|
|
||||||
|
|
||||||
if [ "x$(systemd-detect-virt)" != "xnone" ]; then
|
if [ "x$(systemd-detect-virt)" != "xnone" ]; then
|
||||||
echo 'OSH is being deployed in virtualized environment, using qemu for nova'
|
echo 'OSH is being deployed in virtualized environment, using qemu for nova'
|
||||||
@ -129,7 +126,7 @@ if [[ "$FEATURE_GATES" =~ (,|^)tf(,|$) ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh $namespace 1800
|
helm osh wait-for-pods $namespace 1800
|
||||||
|
|
||||||
# list pods and services
|
# list pods and services
|
||||||
echo "------------------ List kube-system pods and servics ------------"
|
echo "------------------ List kube-system pods and servics ------------"
|
||||||
|
@ -16,10 +16,7 @@ set -xe
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_RABBITMQ:="$(./tools/deployment/common/get-values-overrides.sh rabbitmq)"}
|
: ${OSH_EXTRA_HELM_ARGS_RABBITMQ:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c rabbitmq ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} rabbitmq
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install rabbitmq ${HELM_CHART_ROOT_PATH}/rabbitmq \
|
helm upgrade --install rabbitmq ${HELM_CHART_ROOT_PATH}/rabbitmq \
|
||||||
@ -31,4 +28,4 @@ helm upgrade --install rabbitmq ${HELM_CHART_ROOT_PATH}/rabbitmq \
|
|||||||
${OSH_EXTRA_HELM_ARGS_RABBITMQ}
|
${OSH_EXTRA_HELM_ARGS_RABBITMQ}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
@ -125,7 +125,7 @@ helm upgrade --install neutron ./neutron \
|
|||||||
${OSH_EXTRA_HELM_ARGS}
|
${OSH_EXTRA_HELM_ARGS}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -23,20 +23,14 @@ if openstack service list -f value -c Type | grep -q "^volume" && \
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Get overrides
|
# Get overrides
|
||||||
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(./tools/deployment/common/get-values-overrides.sh placement)"}
|
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(helm osh get-values-overrides -c placement ${FEATURES})"}
|
||||||
|
|
||||||
# Lint and package
|
|
||||||
make placement
|
|
||||||
|
|
||||||
# Deploy placement
|
# Deploy placement
|
||||||
helm upgrade --install placement ./placement --namespace=openstack \
|
helm upgrade --install placement ./placement --namespace=openstack \
|
||||||
${OSH_EXTRA_HELM_ARGS:=} ${OSH_EXTRA_HELM_ARGS_PLACEMENT}
|
${OSH_EXTRA_HELM_ARGS:=} ${OSH_EXTRA_HELM_ARGS_PLACEMENT}
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(./tools/deployment/common/get-values-overrides.sh nova)"}
|
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(helm osh get-values-overrides -c nova ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make nova
|
|
||||||
|
|
||||||
#NOTE: Deploy nova
|
#NOTE: Deploy nova
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -61,10 +55,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(./tools/deployment/common/get-values-overrides.sh neutron)"}
|
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(helm osh get-values-overrides -c neutron ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make neutron
|
|
||||||
|
|
||||||
#NOTE: Deploy neutron
|
#NOTE: Deploy neutron
|
||||||
tee /tmp/neutron.yaml << EOF
|
tee /tmp/neutron.yaml << EOF
|
||||||
@ -114,7 +105,7 @@ if [[ "$FEATURE_GATES" =~ (,|^)tf(,|$) ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -22,10 +22,7 @@ fi
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_LIBVIRT:="$(./tools/deployment/common/get-values-overrides.sh libvirt)"}
|
: ${OSH_EXTRA_HELM_ARGS_LIBVIRT:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c libvirt ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} libvirt
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -34,3 +31,6 @@ helm upgrade --install libvirt ${HELM_CHART_ROOT_PATH}/libvirt \
|
|||||||
--set conf.ceph.enabled=${CEPH_ENABLED} \
|
--set conf.ceph.enabled=${CEPH_ENABLED} \
|
||||||
${OSH_EXTRA_HELM_ARGS:=} \
|
${OSH_EXTRA_HELM_ARGS:=} \
|
||||||
${OSH_EXTRA_HELM_ARGS_LIBVIRT}
|
${OSH_EXTRA_HELM_ARGS_LIBVIRT}
|
||||||
|
|
||||||
|
#NOTE: DO NOT wait for pods are ready, because libvirt depends
|
||||||
|
# on neutron ovs agent pods or ovn controller pods
|
||||||
|
@ -15,10 +15,7 @@ set -xe
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_OPENVSWITCH:="$(./tools/deployment/common/get-values-overrides.sh openvswitch)"}
|
: ${OSH_EXTRA_HELM_ARGS_OPENVSWITCH:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c openvswitch ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} openvswitch
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install openvswitch ${HELM_CHART_ROOT_PATH}/openvswitch \
|
helm upgrade --install openvswitch ${HELM_CHART_ROOT_PATH}/openvswitch \
|
||||||
@ -27,4 +24,4 @@ helm upgrade --install openvswitch ${HELM_CHART_ROOT_PATH}/openvswitch \
|
|||||||
${OSH_EXTRA_HELM_ARGS_OPENVSWITCH}
|
${OSH_EXTRA_HELM_ARGS_OPENVSWITCH}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
@ -15,12 +15,9 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_GLANCE:="$(./tools/deployment/common/get-values-overrides.sh glance)"}
|
: ${OSH_EXTRA_HELM_ARGS_GLANCE:="$(helm osh get-values-overrides -c glance ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make glance
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
: ${GLANCE_BACKEND:="pvc"}
|
: ${GLANCE_BACKEND:="pvc"}
|
||||||
@ -43,7 +40,7 @@ helm upgrade --install glance ./glance \
|
|||||||
${OSH_EXTRA_HELM_ARGS_GLANCE}
|
${OSH_EXTRA_HELM_ARGS_GLANCE}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
openstack service list
|
openstack service list
|
||||||
|
@ -14,10 +14,7 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_HEAT:="$(./tools/deployment/common/get-values-overrides.sh heat)"}
|
: ${OSH_EXTRA_HELM_ARGS_HEAT:="$(helm osh get-values-overrides -c heat ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make heat
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -27,7 +24,7 @@ helm upgrade --install heat ./heat \
|
|||||||
${OSH_EXTRA_HELM_ARGS_HEAT}
|
${OSH_EXTRA_HELM_ARGS_HEAT}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -15,12 +15,9 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_HORIZON:="$(./tools/deployment/common/get-values-overrides.sh horizon)"}
|
: ${OSH_EXTRA_HELM_ARGS_HORIZON:="$(helm osh get-values-overrides -c horizon ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make horizon
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install horizon ./horizon \
|
helm upgrade --install horizon ./horizon \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -28,7 +25,7 @@ helm upgrade --install horizon ./horizon \
|
|||||||
${OSH_EXTRA_HELM_ARGS_HORIZON}
|
${OSH_EXTRA_HELM_ARGS_HORIZON}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
||||||
./tools/deployment/common/run-helm-tests.sh horizon
|
./tools/deployment/common/run-helm-tests.sh horizon
|
||||||
|
@ -15,12 +15,9 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_KEYSTONE:="$(./tools/deployment/common/get-values-overrides.sh keystone)"}
|
: ${OSH_EXTRA_HELM_ARGS_KEYSTONE:="$(helm osh get-values-overrides -c keystone ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make keystone
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install keystone ./keystone \
|
helm upgrade --install keystone ./keystone \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -28,7 +25,7 @@ helm upgrade --install keystone ./keystone \
|
|||||||
${OSH_EXTRA_HELM_ARGS_KEYSTONE:=}
|
${OSH_EXTRA_HELM_ARGS_KEYSTONE:=}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
sleep 30 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx
|
sleep 30 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make magnum
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install magnum ./magnum \
|
helm upgrade --install magnum ./magnum \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -25,7 +22,7 @@ helm upgrade --install magnum ./magnum \
|
|||||||
${OSH_EXTRA_HELM_ARGS_MAGNUM}
|
${OSH_EXTRA_HELM_ARGS_MAGNUM}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -15,12 +15,9 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_MANILA:="$(./tools/deployment/common/get-values-overrides.sh manila)"}
|
: ${OSH_EXTRA_HELM_ARGS_MANILA:="$(helm osh get-values-overrides -c manila ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="no"}
|
: ${RUN_HELM_TESTS:="no"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make manila
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install --debug manila ./manila \
|
helm upgrade --install --debug manila ./manila \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -28,4 +25,4 @@ helm upgrade --install --debug manila ./manila \
|
|||||||
${OSH_EXTRA_HELM_ARGS_MANILA:=}
|
${OSH_EXTRA_HELM_ARGS_MANILA:=}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack 1800
|
helm osh wait-for-pods openstack 1800
|
||||||
|
@ -15,9 +15,6 @@ set -xe
|
|||||||
|
|
||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make mistral
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install mistral ./mistral \
|
helm upgrade --install mistral ./mistral \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -29,7 +26,7 @@ helm upgrade --install mistral ./mistral \
|
|||||||
${OSH_EXTRA_HELM_ARGS_MISTRAL}
|
${OSH_EXTRA_HELM_ARGS_MISTRAL}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment
|
#NOTE: Validate Deployment
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -34,4 +34,4 @@ helm upgrade --install nfs-provisioner ${OSH_INFRA_PATH}/nfs-provisioner \
|
|||||||
${OSH_EXTRA_HELM_ARGS_NFS_PROVISIONER}
|
${OSH_EXTRA_HELM_ARGS_NFS_PROVISIONER}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh nfs
|
helm osh wait-for-pods nfs
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make octavia
|
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
|
||||||
: ${OSH_LB_AMPHORA_IMAGE_NAME:="amphora-x64-haproxy"}
|
: ${OSH_LB_AMPHORA_IMAGE_NAME:="amphora-x64-haproxy"}
|
||||||
@ -115,7 +113,7 @@ helm upgrade --install octavia ./octavia \
|
|||||||
${OSH_EXTRA_HELM_ARGS_OCTAVIA}
|
${OSH_EXTRA_HELM_ARGS_OCTAVIA}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -17,10 +17,7 @@ export FEATURE_GATES="ovn"
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_OPENVSWITCH:="$(./tools/deployment/common/get-values-overrides.sh openvswitch)"}
|
: ${OSH_EXTRA_HELM_ARGS_OPENVSWITCH:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c openvswitch ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} openvswitch
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -30,4 +27,4 @@ helm upgrade --install openvswitch ${HELM_CHART_ROOT_PATH}/openvswitch \
|
|||||||
${OSH_EXTRA_HELM_ARGS_OPENVSWITCH}
|
${OSH_EXTRA_HELM_ARGS_OPENVSWITCH}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
@ -18,7 +18,7 @@ export FEATURE_GATES="ovn"
|
|||||||
: ${RUN_HELM_TESTS:="yes"}
|
: ${RUN_HELM_TESTS:="yes"}
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(./tools/deployment/common/get-values-overrides.sh nova)"}
|
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(helm osh get-values-overrides -c nova ${FEATURES})"}
|
||||||
|
|
||||||
tee /tmp/pvc-ceph-client-key.yaml << EOF
|
tee /tmp/pvc-ceph-client-key.yaml << EOF
|
||||||
AQAk//BhgQMXDxAAPwH86gbDjEEpmXC4s2ontw==
|
AQAk//BhgQMXDxAAPwH86gbDjEEpmXC4s2ontw==
|
||||||
@ -26,20 +26,13 @@ EOF
|
|||||||
kubectl -n openstack create secret generic pvc-ceph-client-key --from-file=key=/tmp/pvc-ceph-client-key.yaml || true
|
kubectl -n openstack create secret generic pvc-ceph-client-key --from-file=key=/tmp/pvc-ceph-client-key.yaml || true
|
||||||
rm -f /tmp/pvc-ceph-client-key.yaml
|
rm -f /tmp/pvc-ceph-client-key.yaml
|
||||||
|
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make nova
|
|
||||||
|
|
||||||
helm upgrade --install nova ./nova \
|
helm upgrade --install nova ./nova \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
${OSH_EXTRA_HELM_ARGS:=} \
|
${OSH_EXTRA_HELM_ARGS:=} \
|
||||||
${OSH_EXTRA_HELM_ARGS_NOVA}
|
${OSH_EXTRA_HELM_ARGS_NOVA}
|
||||||
|
|
||||||
# Get overrides
|
# Get overrides
|
||||||
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(./tools/deployment/common/get-values-overrides.sh placement)"}
|
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(helm osh get-values-overrides -c placement ${FEATURES})"}
|
||||||
|
|
||||||
# Lint and package
|
|
||||||
make placement
|
|
||||||
|
|
||||||
# Deploy
|
# Deploy
|
||||||
helm upgrade --install placement ./placement \
|
helm upgrade --install placement ./placement \
|
||||||
@ -48,10 +41,7 @@ helm upgrade --install placement ./placement \
|
|||||||
${OSH_EXTRA_HELM_ARGS_PLACEMENT}
|
${OSH_EXTRA_HELM_ARGS_PLACEMENT}
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(./tools/deployment/common/get-values-overrides.sh neutron)"}
|
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(helm osh get-values-overrides -c neutron ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make neutron
|
|
||||||
|
|
||||||
helm upgrade --install neutron ./neutron \
|
helm upgrade --install neutron ./neutron \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -60,7 +50,7 @@ helm upgrade --install neutron ./neutron \
|
|||||||
${OSH_EXTRA_HELM_ARGS_NEUTRON}
|
${OSH_EXTRA_HELM_ARGS_NEUTRON}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
./tools/deployment/common/run-helm-tests.sh nova
|
./tools/deployment/common/run-helm-tests.sh nova
|
||||||
./tools/deployment/common/run-helm-tests.sh neutron
|
./tools/deployment/common/run-helm-tests.sh neutron
|
||||||
|
@ -17,10 +17,7 @@ export FEATURE_GATES="ovn"
|
|||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
: ${OSH_EXTRA_HELM_ARGS_OVN:="$(./tools/deployment/common/get-values-overrides.sh ovn)"}
|
: ${OSH_EXTRA_HELM_ARGS_OVN:="$(helm osh get-values-overrides -p ${HELM_CHART_ROOT_PATH} -c ovn ${FEATURES})"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make -C ${HELM_CHART_ROOT_PATH} ovn
|
|
||||||
|
|
||||||
tee /tmp/ovn.yaml << EOF
|
tee /tmp/ovn.yaml << EOF
|
||||||
volume:
|
volume:
|
||||||
@ -46,4 +43,4 @@ helm upgrade --install ovn ${HELM_CHART_ROOT_PATH}/ovn \
|
|||||||
${OSH_EXTRA_HELM_ARGS_OVN}
|
${OSH_EXTRA_HELM_ARGS_OVN}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make senlin
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install senlin ./senlin \
|
helm upgrade --install senlin ./senlin \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -25,7 +22,7 @@ helm upgrade --install senlin ./senlin \
|
|||||||
${OSH_EXTRA_HELM_ARGS_SENLIN}
|
${OSH_EXTRA_HELM_ARGS_SENLIN}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
|
@ -14,12 +14,9 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Get the over-rides to use
|
#NOTE: Get the over-rides to use
|
||||||
: ${OSH_EXTRA_HELM_ARGS_TACKER:="$(./tools/deployment/common/get-values-overrides.sh tacker)"}
|
: ${OSH_EXTRA_HELM_ARGS_TACKER:="$(helm osh get-values-overrides -c tacker ${FEATURES})"}
|
||||||
: ${RUN_HELM_TESTS:="no"}
|
: ${RUN_HELM_TESTS:="no"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
|
||||||
make tacker
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
helm upgrade --install tacker ./tacker \
|
helm upgrade --install tacker ./tacker \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
@ -27,4 +24,4 @@ helm upgrade --install tacker ./tacker \
|
|||||||
${OSH_EXTRA_HELM_ARGS_TACKER}
|
${OSH_EXTRA_HELM_ARGS_TACKER}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh openstack
|
helm osh wait-for-pods openstack
|
||||||
|
@ -74,6 +74,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/common/ingress.sh
|
- ./tools/deployment/common/ingress.sh
|
||||||
- - ./tools/deployment/component/common/rabbitmq.sh
|
- - ./tools/deployment/component/common/rabbitmq.sh
|
||||||
@ -99,6 +100,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/common/ingress.sh
|
- ./tools/deployment/common/ingress.sh
|
||||||
- - ./tools/deployment/component/common/rabbitmq.sh
|
- - ./tools/deployment/component/common/rabbitmq.sh
|
||||||
@ -128,6 +130,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/common/cert-manager.sh
|
- ./tools/deployment/common/cert-manager.sh
|
||||||
- ./tools/deployment/common/ingress.sh
|
- ./tools/deployment/common/ingress.sh
|
||||||
@ -148,6 +151,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/component/ceph/ceph.sh
|
- ./tools/deployment/component/ceph/ceph.sh
|
||||||
- ./tools/deployment/component/ceph/ceph-ns-activate.sh
|
- ./tools/deployment/component/ceph/ceph-ns-activate.sh
|
||||||
@ -170,6 +174,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/component/ceph/ceph-rook.sh
|
- ./tools/deployment/component/ceph/ceph-rook.sh
|
||||||
- ./tools/deployment/component/ceph/ceph-adapter-rook.sh
|
- ./tools/deployment/component/ceph/ceph-adapter-rook.sh
|
||||||
@ -206,6 +211,7 @@
|
|||||||
run_helm_tests: "yes"
|
run_helm_tests: "yes"
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/common/ingress.sh
|
- ./tools/deployment/common/ingress.sh
|
||||||
- export GLANCE_BACKEND=memory; ./tools/deployment/component/common/openstack.sh
|
- export GLANCE_BACKEND=memory; ./tools/deployment/component/common/openstack.sh
|
||||||
@ -225,6 +231,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/common/ingress.sh
|
- ./tools/deployment/common/ingress.sh
|
||||||
- ./tools/deployment/component/common/mariadb.sh
|
- ./tools/deployment/component/common/mariadb.sh
|
||||||
@ -240,6 +247,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/common/cert-manager.sh
|
- ./tools/deployment/common/cert-manager.sh
|
||||||
- ./tools/deployment/component/ceph/ceph.sh
|
- ./tools/deployment/component/ceph/ceph.sh
|
||||||
@ -271,6 +279,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/component/common/ingress.sh
|
- ./tools/deployment/component/common/ingress.sh
|
||||||
- - ./tools/deployment/component/common/mariadb.sh
|
- - ./tools/deployment/component/common/mariadb.sh
|
||||||
@ -299,6 +308,7 @@
|
|||||||
feature_gates: netpol
|
feature_gates: netpol
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/component/common/ingress.sh
|
- ./tools/deployment/component/common/ingress.sh
|
||||||
- ./tools/deployment/common/lockdown-netpol.sh
|
- ./tools/deployment/common/lockdown-netpol.sh
|
||||||
@ -329,6 +339,7 @@
|
|||||||
feature_gates: netpol
|
feature_gates: netpol
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/component/ceph/ceph.sh
|
- ./tools/deployment/component/ceph/ceph.sh
|
||||||
- ./tools/deployment/component/ceph/ceph-ns-activate.sh
|
- ./tools/deployment/component/ceph/ceph-ns-activate.sh
|
||||||
@ -351,6 +362,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/prepare-k8s.sh
|
- ./tools/deployment/common/prepare-k8s.sh
|
||||||
|
- ./tools/deployment/common/prepare-charts.sh
|
||||||
- ./tools/deployment/common/setup-client.sh
|
- ./tools/deployment/common/setup-client.sh
|
||||||
- ./tools/deployment/component/common/ingress.sh
|
- ./tools/deployment/component/common/ingress.sh
|
||||||
- - ./tools/deployment/component/common/rabbitmq.sh
|
- - ./tools/deployment/component/common/rabbitmq.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user