openstack-helm/tools/gate/playbooks/ironic-deploy.yaml
Tin Lam 3af7c353df Change zuul path
This patch set updates the paths so OSH-addons gate
can take advantage of the paths set up here.

Change-Id: I4f0f6ebb19042d035bd70deb26b557814cc0d2d1
Signed-off-by: Tin Lam <tin@irrational.io>
2018-04-25 14:45:15 +00:00

119 lines
4.1 KiB
YAML

# 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: Deploy Packages
shell: |
set -xe;
./tools/deployment/baremetal/000-install-packages.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Setup Nodes
shell: |
set -xe;
./tools/deployment/baremetal/005-setup-nodes.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy clients
shell: |
set -xe;
./tools/deployment/baremetal/010-setup-client.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy ingress
shell: |
set -xe;
./tools/deployment/baremetal/020-ingress.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy Ceph
shell: |
set -xe;
./tools/deployment/baremetal/030-ceph.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Setup openstack namespace for ceph
shell: |
set -xe;
./tools/deployment/baremetal/035-ceph-ns-activate.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy MariaDB
shell: |
set -xe;
./tools/deployment/baremetal/040-mariadb.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy RabbitMQ
shell: |
set -xe;
./tools/deployment/baremetal/050-rabbitmq.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy Memcached
shell: |
set -xe;
./tools/deployment/baremetal/060-memcached.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy Keystone
shell: |
set -xe;
./tools/deployment/baremetal/080-keystone.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy Glance
shell: |
set -xe;
./tools/deployment/baremetal/090-glance.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy Hea
shell: |
set -xe;
./tools/deployment/baremetal/100-heat.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy Compute Kit
shell: |
set -xe;
./tools/deployment/baremetal/110-compute-kit.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Create baremetal host aggregate
shell: |
set -xe;
./tools/deployment/baremetal/800-create-baremetal-host-aggregate.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Register baremetal nodes
shell: |
set -xe;
./tools/deployment/baremetal/810-register-baremetal-nodes.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Create baremetal flavor
shell: |
set -xe;
./tools/deployment/baremetal/820-create-baremetal-flavor.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
- name: Deploy Node
shell: |
set -xe;
./tools/deployment/baremetal/900-use-it.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"