diff --git a/tools/deployment/multinode/160-barbican.sh b/tools/deployment/multinode/160-barbican.sh new file mode 100755 index 0000000000..ed801be760 --- /dev/null +++ b/tools/deployment/multinode/160-barbican.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Copyright 2017 The Openstack-Helm Authors. +# +# 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 -xe + +#NOTE: Deploy command +helm install ./barbican \ + --namespace=openstack \ + --name=barbican \ + --set pod.replicas.api=1 + +#NOTE: Wait for deploy +./tools/deployment/common/wait-for-pods.sh openstack + +#NOTE: Validate Deployment info +export OS_CLOUD=openstack_helm +openstack service list +sleep 30 +helm test barbican diff --git a/tools/gate/playbooks/multinode-deploy.yaml b/tools/gate/playbooks/multinode-deploy.yaml index 3ad10491a6..1ff1510ae9 100644 --- a/tools/gate/playbooks/multinode-deploy.yaml +++ b/tools/gate/playbooks/multinode-deploy.yaml @@ -126,3 +126,9 @@ ./tools/deployment/multinode/150-heat.sh args: chdir: "{{ zuul.project.src_dir }}" + - name: Deploy Barbican + shell: | + set -xe; + ./tools/deployment/multinode/160-barbican.sh + args: + chdir: "{{ zuul.project.src_dir }}"