You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/configuration/ci-cd.rst
+8-3
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,20 @@ Concepts
6
6
========
7
7
8
8
The CI/CD system developed for managing Kayobe based OpenStack clouds is composed of four main components; workflows, runners, OpenBao and kayobe automation.
9
+
9
10
Firstly, the workflows are files which describe a series of tasks to be performed in relation to the deployed cloud.
10
11
These workflows are executed on request, on schedule or in response to an event such as a pull request being opened.
12
+
11
13
The workflows are designed to carry out various day-to-day activites such as; running Tempest tests, configuring running services or displaying the change to configuration files if a pull request is merged.
12
14
Secondly, in order for the workflows to run against a cloud we would need private runners present within the cloud positioned in such a way they can reach the internal network and public API.
13
15
Deployment of private runners is supported by all major providers with the use of community developed Ansible roles.
16
+
14
17
Thirdly, OpenBao is used to store secrets on the same virtual machine the runners are hosted within.
15
18
This provides a secure way of storing secrets and variables which can be accessed by the runners when executing workflows and ensures that secrets never have to leave the cloud.
19
+
16
20
Finally, due to the requirement that we support various different platforms tooling in the form of `Kayobe automation <https://github.com/stackhpc/kayobe-automation/>`__ was developed.
17
21
This tooling is not tied to any single CI/CD platform as all tasks are a series of shell script and Ansible playbooks which are designed to run in a purpose build kayobe container.
22
+
18
23
This is complemented by the use of an Ansible collection known as `stackhpc.kayobe_workflows <https://github.com/stackhpc/ansible-collection-kayobe-workflows/>`__ which aims to provide users with a quick and easy way of customising all workflows to fit within a customer's cloud.
19
24
20
25
Currently we support the creation and deployment of workflows for GitHub with Gitlab support being actively worked upon.
@@ -315,7 +320,7 @@ In order to enable JWT support the following steps must be carried out within th
315
320
316
321
2. Run :code:`sudo docker exec -it bao sh`
317
322
318
-
3. Run :code:`export BAO_AUTH_ADDR=http://127.0.0.1:8200`
323
+
3. Run :code:`export BAO_ADDR=http://127.0.0.1:8200`
319
324
320
325
4. Run :code:`bao login` and use root token
321
326
@@ -349,7 +354,7 @@ In order to enable JWT support the following steps must be carried out within th
0 commit comments