From 6df86cdffe3d92b493926140076686c6352c432c Mon Sep 17 00:00:00 2001 From: Gael Chamoulaud Date: Wed, 13 Nov 2019 09:55:35 +0100 Subject: [PATCH] Add groups.yaml containing Validation Groups definition This file will be the source of reference for all the groups used by tripleo-Validations. It will be deployed next to the playbooks/roles[1] in order to parsed by the TripleO Validator CLI and its new subcommand[2]. It will also be the reference for the tripleo-validations documentation and will be automated in a follow up patch. [1] - /usr/share/openstack-tripleo-validations/groups.yaml [2] - openstack tripleo validator group list Change-Id: I56b9d39c113cfb30695fe8cf2740ae147b0dd3e4 --- groups.yaml | 34 ++++++++++++++++++++++++++++++++++ setup.cfg | 1 + 2 files changed, 35 insertions(+) create mode 100644 groups.yaml diff --git a/groups.yaml b/groups.yaml new file mode 100644 index 000000000..c04bf79e9 --- /dev/null +++ b/groups.yaml @@ -0,0 +1,34 @@ +--- +no-op: + - description: >- + Validations which will run a no-op operation to verify that the workflow is + working as it supposed to, it will run in both the Undercloud and Overcloud + Nodes. +prep: + - description: >- + Validations check the hardware configuration of the Undercloud node and + should be run before **openstack undercloud install**. +openshift-on-openstack: + - description: >- + Validations which will check that the environment meets the requirements + to be able to deploy OpenShift on OpenStack. +pre-introspection: + - description: >- + Validations which should be run before the nodes introspection using + Ironic Inspector. +pre-deployment: + - description: >- + Validations which should be executed before **openstack overcloud + deploy**. +post-deployment: + - description: >- + Validations which should be executed after the Overcloud deployment has + finished. +pre-upgrade: + - description: >- + Validations which try to validate your OpenStack deployment before you + upgrade it. +post-upgrade: + - description: >- + Validations which try to validate your OpenStack deployment after you + upgrade it. diff --git a/setup.cfg b/setup.cfg index 8563ea1ca..da0b12575 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,6 +27,7 @@ scripts = data_files = share/openstack-tripleo-validations/ = hosts.sample + share/openstack-tripleo-validations/ = groups.yaml share/openstack-tripleo-validations/roles = roles/* share/openstack-tripleo-validations/playbooks = playbooks/* share/openstack-tripleo-validations/callback_plugins = callback_plugins/*