Add heat to the centralized tests repository

Change-Id: I24a6b34b4e308ae16347b6da7577b9f9891b49d2
This commit is contained in:
Marc Gariepy 2016-11-17 09:39:15 -05:00
parent 45d8c44cd9
commit 3d11658c90
2 changed files with 52 additions and 0 deletions

33
test-install-heat.yml Normal file
View File

@ -0,0 +1,33 @@
---
# Copyright 2015, Rackspace US, Inc.
#
# 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.
- name: Playbook for deploying heat
hosts: heat_all
user: root
gather_facts: true
pre_tasks:
- include: ensure-rabbitmq.yml
vhost_name: "{{ heat_rabbitmq_vhost }}"
user_name: "{{ heat_rabbitmq_userid }}"
user_password: "{{ heat_rabbitmq_password }}"
when: "{{ groups['rabbitmq_all'] is defined }}"
- include: create-grant-db.yml
db_name: "{{ heat_galera_database }}"
db_password: "{{ heat_container_mysql_password }}"
roles:
- role: "{{ heat_rolename | default('os_heat') }}"
vars_files:
- test-vars.yml

View File

@ -301,6 +301,25 @@ swift_proxy_server_conf_overrides:
# For testing always use pretend_min_part_hours_passed
swift_pretend_min_part_hours_passed: True
# Heat specific settings
heat_venv_tag: "testing"
heat_developer_mode: True
heat_git_install_branch: master
heat_requirements_git_install_branch: master
heat_service_password: secrete
heat_stack_domain_admin_password: secrete
heat_auth_encryption_key: 32characterslongboguskeyvaluefoo
heat_container_mysql_password: "SuperSecrete"
heat_galera_address: "{{ test_galera_host }}"
heat_galera_user: heat
heat_galera_database: heat
heat_rabbitmq_servers: "{{ rabbitmq_servers }}"
heat_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"
heat_rabbitmq_port: "{{ rabbitmq_port }}"
heat_rabbitmq_password: "{{ rabbitmq_password }}"
heat_rabbitmq_userid: heat
heat_rabbitmq_vhost: /heat
# Ironic specific settings
ironic_venv_tag: "testing"
ironic_developer_mode: True