summaryrefslogtreecommitdiffstats
path: root/docs/xci-criterias-cls.rst
blob: 0a0f8f97eabfe20d6b7216266f8b44bc298262ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.. _xci-criterias-cls:

.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. SPDX-License-Identifier: CC-BY-4.0
.. (c) Fatih Degirmenci (fatih.degirmenci@ericsson.com)

=============================================
XCI Promotion Criterias and Confidence Levels
=============================================

This document is structured in a way to explain the current Promotion Criterias and Confidence
Levels XCI uses to test and promote the scenarios. This is followed by other chapters to
start the conversation around how these criterias can be improved depending on the features
and scenarios that are onboarded to XCI or declared interest in participating.

The expectation is to update this document collaboratively with the feature projects, scenario
owners, XCI team, test projects and release management to find right/sufficient/necessary
level of testing that are relevant to the features and scenarios.

This document should be seen as guidance for the projects taking part in XCI until
the OPNFV CD-Based Release Model and the criterias set for the CI Loops for that track
become available. Until this happens, CI Loops will be constructed/updated by taking input
from this document to provide feedback to the projects based on the test scope set by the
projects themselves.

The CD-Based Release Model will supersede the information and criterias set in this document.

Existing CI Loops and Promotion Criterias
=========================================

XCI determined various CI Loops that run for the scenarios that take part in XCI.
These loops are

* verify
* post-merge

Currently, XCI uses verify and post-merge loops to verify the changes and promote
the scenarios to the next loop in the CI Flow as candidates. The details of what
is done by each loop currently are listed below.

verify
------

The changes and subsequent patches enter this pipeline and get verified against
the most basic criteria OPNFV has.

* virtual noha deployment
* functest healthcheck

The checks done within this loop is common for all the scenarios and features no matter if
they are OpenStack or Kubernetes scenarios.

The changes that get Verified+1 from this pipeline is deemed to be good and
can be merged to master if there is sufficient +2 votes from the XCI and/or project committers.

post-merge
----------

The changes that are merged to master enter this pipeline and get verified
against the same criteria as the verify pipeline.

* virtual noha deployment
* functest healthcheck

The checks done within this loop is common for all the scenarios no matter if
they are OpenStack or Kubernetes scenarios.

The changes that are successfully verified get promoted for the next loop in
the pipeline.

Evolving CI Loops and Promotion Criterias
=========================================

TBD