Add hook playbook install and test magnum capi driver

Change-Id: I3a7ee79c10c39cb805ed2134b21055d63786663d
This commit is contained in:
Jonathan Rosser 2024-01-23 12:13:43 +00:00
parent c03b0e7389
commit e03fc5a279
4 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1 @@
post_setup_openstack_hook: osa_ops.mcapi_vexxhost.install_and_test

View File

@ -1 +1 @@
tempest_tempest_install: False
tempest_install: False

View File

@ -31,6 +31,19 @@
functional_test_master_count: 1
functional_test_node_count: 1
functional_test_resources_network:
networks:
- name: 'public'
network_type: 'flat'
physical_network: 'physnet1'
external: True
project: 'admin'
subnets:
- name: 'public-subnet'
cidr: '172.29.248.0/22'
allocation_start: '172.29.249.110'
allocation_end: '172.29.249.200'
functional_test_resources_compute:
flavors:
- specs:
@ -84,6 +97,12 @@
import_role:
name: openstack.osa.install_defaults
- name: Create public network and subnet
include_role:
name: openstack.osa.openstack_resources
vars:
openstack_resources_network: "{{ functional_test_resources_network }}"
- name: Create image and flavors
include_role:
name: openstack.osa.openstack_resources

View File

@ -0,0 +1,19 @@
# Copyright 2024, BBC
#
# 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: Import installation playbook
import_playbook: osa_ops.mcapi_vexxhost.k8s_install
- name: Import test playbook
import_playbook: osa_ops.mcapi_vexxhost.functional_test