openstack-ansible-galera_se.../tests/test.yml

57 lines
1.8 KiB
YAML

---
# 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.
# Prepare the user ssh keys
- include: test-prepare-keys.yml
# Prepare the host
- include: test-prepare-host.yml
# Run container clean up and build
- include: test-prepare-containers.yml
# Install Galera server
- include: test-install-galera-server.yml
vars:
message: "===== Running Current MariaDB Deployment ====="
# Run functional tests
- include: test-galera-server-functional.yml
############################# UPGRADE TESTING #############################
# Run container clean up and build
- include: test-prepare-containers.yml
# Install previous version of Galera server
- include: test-install-galera-server.yml
vars:
message: "===== Running MariaDB 5.5 Deployment for Upgrade ====="
galera_mariadb_server_package: "mariadb-galera-server-5.5"
galera_apt_repo_url: "https://mirror.rackspace.com/mariadb/repo/5.5/ubuntu"
# Run initial functional tests
- include: test-galera-server-functional.yml
# Perform upgrade of Galera server
- include: test-install-galera-server.yml
vars:
message: "===== Running MariaDB 5.5 to Current Upgrade ====="
galera_ignore_cluster_state: true
galera_upgrade: true
# Run final functional tests
- include: test-galera-server-functional.yml