summaryrefslogtreecommitdiffstats
path: root/docs/release/scenario-lifecycle/workflows.rst
blob: c07b0f708f4024e18d98d24a80b67629fb12f6e5 (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
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. (c) 2017 OPNFV Ulrich Kleber (Huawei)


Workflows
----------

Summary
^^^^^^^^

The general principle can be summarized by the following diagram:

.. figure:: pdf-and-sdf.png

Workflows for Scenario Owners
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The scenario owner creates the descriptor file based on the template.

.. figure:: create-sdf.png

Create new scenario from scratch
+++++++++++++++++++++++++++++++++++++++++++++++++

This workflow will be exceptional.
Most scenarios can easier start as children of an existing scenario;
thus the author (scenario owner) can derive the SDF from the parent.
But scenarios introducing new technologies affecting the whole architecture,
e.g.containers, or higher level scenarios (e.g.MANO and Multisite which
reference existing scenarios) can start without a parent.

The following steps need to be done:

  #. (Project team) Define set of components that need to be deployed
  #. (Project) Find installers that can deploy the components
  #. (Project&installer&CI) Agree on new keywords in SDF (e.g. component, feature name)
  #. (Project) Assign owner
  #. (Owner) Edit SDF, submit to octopus repo
  #. (Owner) register scenario to participate in release as appropriate
  #. (Owner&CI-team) Adapt jenkins triggers, so new scenario can be scheduled in valid installer/POD/Options combination(s).
  #. (Installer-team) test deployment of components
  #. (Project-team) Define test cases; register in test db

Create child scenario by adding feature to existing scenario
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Add additional installer to a specific scenario
++++++++++++++++++++++++++++++++++++++++++++++++

Add additional hardware or availability option to a scenario
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Merge child scenario back to parent
++++++++++++++++++++++++++++++++++++

Promote specific scenario to generic scenario
++++++++++++++++++++++++++++++++++++++++++++++

Introduce SDF for existing Danube/Euphrates scenarios
++++++++++++++++++++++++++++++++++++++++++++++++++++++


Workflows for Installers
^^^^^^^^^^^^^^^^^^^^^^^^^

Workflows for CI Tools
^^^^^^^^^^^^^^^^^^^^^^^^^^