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/continuous-integration.md
+9-4
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ their jobs used by the k8s-cluster-api-provider project. Then, jobs link Ansible
27
27
tasks for actual CI testing.
28
28
29
29
See relevant CI configuration files:
30
+
30
31
```text
31
32
├── .zuul.yaml
32
33
├── playbooks
@@ -78,7 +79,7 @@ This section describes Zuul jobs defined within the k8s-cluster-api-provider pro
78
79
- It runs a sonobuoy conformance test against Kubernetes cluster spawned by k8s-cluster-api-provider scripts
79
80
- This job is a child job of `openstack-access-base` that ensures OpenStack credentials
80
81
availability in Zuul worker node. Parent job also defines a Zuul semaphore `semaphore-openstack-access`,
81
-
that ensures that only one `openstack-access-base`job (or its children) can run at a time
82
+
that ensures that a maximum of three `openstack-access-base`jobs (or their children) can run at a time
82
83
- See a high level `k8s-cluster-api-provider-e2e-conformance` job steps:
83
84
- Pre-run playbook `dependencies.yaml` installs project prerequisites, e.g. opentofu, yq, etc.
84
85
- Main playbook `e2e.yaml` spawns a k8s cluster, runs sonobuoy conformance test, and cleans created infrastructure, all by k8s-cluster-api-provider scripts
@@ -88,15 +89,15 @@ This section describes Zuul jobs defined within the k8s-cluster-api-provider pro
88
89
- It runs a sonobuoy quick test against Kubernetes cluster spawned by k8s-cluster-api-provider scripts
89
90
- This job is a child job of `openstack-access-base` that ensures OpenStack credentials
90
91
availability in Zuul worker node. Parent job also defines a Zuul semaphore `semaphore-openstack-access`,
91
-
that ensures that only one `openstack-access-base`job (or its children) can run at a time
92
+
that ensures that a maximum of three `openstack-access-base`jobs (or their children) can run at a time
92
93
- See a high level `k8s-cluster-api-provider-e2e-quick` job steps:
93
94
- Pre-run playbook `dependencies.yaml` installs project prerequisites, e.g. opentofu, yq, etc.
94
95
- Main playbook `e2e.yaml` spawns a k8s cluster, runs sonobuoy quick test, and cleans created infrastructure, all by k8s-cluster-api-provider scripts
95
96
- Cleanup-run playbook `cleanup.yaml` runs `ospurge`, cleanup created application credentials and keypair to ensure that multiple e2e runs do not interfere
96
97
97
98
### Secrets
98
99
99
-
The parent job `openstack-access-base`, from which e2e jobs inherit, defines secret variable `openstack-application-credential`.
100
+
The parent job `openstack-access-base`, from which e2e jobs inherit, defines secret variable `openstack-application-credential`.
100
101
This secret is stored directly in the [SCS/zuul-config repository](https://github.com/SovereignCloudStack/zuul-config/blob/main/zuul.d/secrets.yaml) in an encrypted form.
101
102
It contains OpenStack application credentials to access the OpenStack project dedicated for CI testing.
102
103
@@ -106,11 +107,13 @@ So only SCS Zuul instance is able to decrypt it (read the [docs](https://zuul-ci
106
107
If you want to re-generate the mentioned secret or add another one using SCS/zuul-config repository RSA key, follow the below instructions:
107
108
108
109
- Install zuul-client
110
+
109
111
```bash
110
112
pip install zuul-client
111
113
```
112
114
113
115
- Encrypt "super-secret" string by the SCS/zuul-config repository public key from SCS Zuul
0 commit comments