Test using integrated build
In order to do a more complete verification of any patches, we add a full uncontainerised OpenStack deployment to do the functional testing using the integrated repo. This replaces the previous functional test mechanism. Any additional role tests are left as-is. They will require some extra implementation in the integrated build before they can be transferred. This also includes a fix in the role which starts using the os_quota role as the version of Ansible we ship has resolved that bug. In addition, the container network name added a trailing addres which caused the lookup to fail. This resolves that issue so the configuration file can be dropped cleanly. Depends-On: https://review.openstack.org/647840 Depends-On: https://review.openstack.org/648502 Depends-On: https://review.openstack.org/648551 Depends-On: https://review.openstack.org/648579 Depends-On: https://review.openstack.org/648793 Change-Id: I689c679c91c5d516cb8285077c7d3c7c064c9112
This commit is contained in:
parent
eee659d342
commit
ea21d76875
@ -25,24 +25,17 @@
|
|||||||
{{ (octavia_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable']) }}
|
{{ (octavia_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable']) }}
|
||||||
block:
|
block:
|
||||||
- name: Setup the service project quota
|
- name: Setup the service project quota
|
||||||
# The os_quota module has a bug that it always requires a
|
os_quota:
|
||||||
# configured cinder service to work, so we use the CLI instead.
|
cloud: default
|
||||||
# TODO(_xgerman):
|
name: "{{ octavia_service_project_name }}"
|
||||||
# Use the os_quota module once the issue is resolved.
|
cores: "{{ octavia_num_cores }}"
|
||||||
shell: >-
|
instances: "{{ octavia_num_instances }}"
|
||||||
openstack quota set
|
ram: "{{ octavia_ram }}"
|
||||||
--os-cloud default
|
server_groups: "{{ octavia_num_server_groups }}"
|
||||||
--cores {{ octavia_num_cores }}
|
server_group_members: "{{ octavia_num_server_group_members }}"
|
||||||
--instances {{ octavia_num_instances }}
|
security_group: "{{ octavia_num_secgroups }}"
|
||||||
--ram {{ octavia_ram }}
|
security_group_rule: "{{ octavia_num_security_group_rules }}"
|
||||||
--server-groups {{ octavia_num_server_groups }}
|
port: "{{ octavia_num_ports }}"
|
||||||
--server-group-members {{ octavia_num_server_group_members }}
|
|
||||||
--secgroups {{ octavia_num_secgroups }}
|
|
||||||
--ports {{ octavia_num_ports }}
|
|
||||||
--secgroup-rules {{ octavia_num_security_group_rules }}
|
|
||||||
{{ octavia_service_project_name }}
|
|
||||||
tags:
|
|
||||||
- skip_ansible_lint
|
|
||||||
|
|
||||||
- name: Create Octavia security group
|
- name: Create Octavia security group
|
||||||
os_security_group:
|
os_security_group:
|
||||||
|
37
zuul.d/jobs.yaml
Normal file
37
zuul.d/jobs.yaml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: openstack-ansible-deploy-aio_metal_octavia-centos-7
|
||||||
|
parent: openstack-ansible-deploy-aio
|
||||||
|
nodeset: centos-7
|
||||||
|
vars:
|
||||||
|
action: deploy
|
||||||
|
scenario: aio_metal_octavia
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: openstack-ansible-deploy-aio_metal_octavia-opensuse-150
|
||||||
|
parent: openstack-ansible-deploy-aio
|
||||||
|
nodeset: opensuse-150
|
||||||
|
vars:
|
||||||
|
action: deploy
|
||||||
|
scenario: aio_metal_octavia
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: openstack-ansible-deploy-aio_metal_octavia-ubuntu-bionic
|
||||||
|
parent: openstack-ansible-deploy-aio
|
||||||
|
nodeset: ubuntu-bionic
|
||||||
|
vars:
|
||||||
|
action: deploy
|
||||||
|
scenario: aio_metal_octavia
|
@ -15,18 +15,17 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
|
- openstack-ansible-linters
|
||||||
- publish-openstack-docs-pti
|
- publish-openstack-docs-pti
|
||||||
- release-notes-jobs-python3
|
- release-notes-jobs-python3
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-ansible-linters
|
- openstack-ansible-deploy-aio_metal_octavia-centos-7
|
||||||
- openstack-ansible-functional-ubuntu-xenial
|
- openstack-ansible-deploy-aio_metal_octavia-ubuntu-bionic
|
||||||
- openstack-ansible-functional-ubuntu-bionic
|
|
||||||
experimental:
|
experimental:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-ansible-integrated-deploy-aio
|
- openstack-ansible-deploy-aio_metal_octavia-opensuse-150
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-ansible-linters
|
- openstack-ansible-deploy-aio_metal_octavia-centos-7
|
||||||
- openstack-ansible-functional-ubuntu-xenial
|
- openstack-ansible-deploy-aio_metal_octavia-ubuntu-bionic
|
||||||
- openstack-ansible-functional-ubuntu-bionic
|
|
||||||
|
Loading…
Reference in New Issue
Block a user