Add blazar base jobs

This introduces the most basic jobs for blazar, and makes
sure blazar passes lint tests.

This reverts commit a5b35ebf11,
effectively re-enabling zuul jobs, and adapts the role
to our latest standards (The lint tests were failing, as
the passwords were logged while setting up Blazar server)

Functional testing starts with -nv only. However, in this
commit we added the necessary `rabbitmq_all` group to
the infra1 group, to help further functional testing.

Co-Authored-By: Taseer Ahmed <taseer94@gmail.com>
Change-Id: Ic2560b53aebf69e4784ce56db6929fe010e6b11e
This commit is contained in:
Jean-Philippe Evrard 2018-05-29 12:09:47 +02:00
parent b471d4ce3d
commit a9ff199983
5 changed files with 33 additions and 1 deletions

View File

@ -1,4 +1,6 @@
OpenStack-Ansible Blazar
========================
Ansible role that will install and configure Blazar, resource reservation for OpenStack.
Ansible role that will install and configure Blazar, a resource reservation service for OpenStack.
The documentation for the role can also be found at
`<https://docs.openstack.org/openstack-ansible-os_blazar/latest/>`_

0
run_tests.sh Normal file → Executable file
View File

View File

@ -29,6 +29,7 @@
until: add_service|success
retries: 5
delay: 2
no_log: true
# Create an admin user
- name: Ensure blazar user
@ -47,6 +48,7 @@
until: add_service|success
retries: 5
delay: 10
no_log: true
# Add role to the user
- name: Ensure blazar user to admin role
@ -65,6 +67,7 @@
until: add_service|success
retries: 5
delay: 10
no_log: true
# Create an endpoint
- name: Ensure blazar endpoint
@ -91,3 +94,4 @@
delay: 10
tags:
- blazar-setup
no_log: true

View File

@ -13,6 +13,9 @@ infra1
[memcached_all]
infra1
[rabbitmq_all]
infra1
[service_all:children]
galera_all
memcached_all

23
zuul.d/project.yaml Normal file
View File

@ -0,0 +1,23 @@
---
# Copyright 2018, taseer94@gmail.com
#
# 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.
- project:
check:
jobs:
- openstack-ansible-linters
- openstack-ansible-functional-ubuntu-xenial-nv
gate:
jobs:
- openstack-ansible-linters