# 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. - hosts: primary tasks: - name: Setup OS and K8s Clients shell: | set -xe; cd "${OSH_PATH}" ./tools/deployment/developer/nfs/020-setup-client.sh environment: OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}" OSH_PATH: "{{ zuul_osh_relative_path | default('') }}" args: chdir: "{{ zuul.project.src_dir }}" - name: Deploy Ingress shell: | set -xe; cd "${OSH_PATH}" ./tools/deployment/developer/nfs/030-ingress.sh environment: OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}" OSH_PATH: "{{ zuul_osh_relative_path | default('') }}" args: chdir: "{{ zuul.project.src_dir }}" - name: Deploy NFS shell: | set -xe; cd "${OSH_PATH}" ./tools/deployment/developer/nfs/040-nfs-provisioner.sh environment: OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}" OSH_PATH: "{{ zuul_osh_relative_path | default('') }}" OSH_INFRA_PATH: "../openstack-helm-infra/" args: chdir: "{{ zuul.project.src_dir }}" - name: Deploy Mariadb shell: | set -xe; cd "${OSH_PATH}" ./tools/deployment/developer/nfs/050-mariadb.sh environment: OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}" OSH_PATH: "{{ zuul_osh_relative_path | default('') }}" args: chdir: "{{ zuul.project.src_dir }}" - name: Deploy RabbitMQ shell: | set -xe; cd "${OSH_PATH}" ./tools/deployment/developer/nfs/060-rabbitmq.sh environment: OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}" OSH_PATH: "{{ zuul_osh_relative_path | default('') }}" args: chdir: "{{ zuul.project.src_dir }}" - name: Deploy Memcached shell: | set -xe; cd "${OSH_PATH}" ./tools/deployment/developer/nfs/070-memcached.sh environment: OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}" OSH_PATH: "{{ zuul_osh_relative_path | default('') }}" args: chdir: "{{ zuul.project.src_dir }}" - name: Deploy Keystone shell: | set -xe; cd "${OSH_PATH}" ./tools/deployment/developer/nfs/080-keystone.sh environment: OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}" OSH_PATH: "{{ zuul_osh_relative_path | default('') }}" args: chdir: "{{ zuul.project.src_dir }}" - name: Check Kubernetes Keystone Auth shell: | set -xe; ./tools/deployment/keystone-auth/check.sh args: chdir: "{{ zuul.project.src_dir }}"