Skip to content

Commit b034e08

Browse files
authored
Add Section for Docs regarding SCS Developers (#81)
* move to new place Signed-off-by: Max Wolfs <[email protected]> * add index page Signed-off-by: Max Wolfs <[email protected]> * remove old files Signed-off-by: Max Wolfs <[email protected]> * add new section Signed-off-by: Max Wolfs <[email protected]> * move zuul user guide Signed-off-by: Max Wolfs <[email protected]> --------- Signed-off-by: Max Wolfs <[email protected]>
1 parent 7133b67 commit b034e08

File tree

6 files changed

+57
-31
lines changed

6 files changed

+57
-31
lines changed

dev-docs/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Documentation for SCS Developers
2+
3+
Welcome to the Dev Docs. This section is primarily for SCS Developers and will contain documentation regarding the Development and Architecture of the Sovereign Cloud Stack and its components. You will find documents, explanations and guides regarding the tooling necessary for the development of SCS.
4+
5+
If you want to contribute you can reach out to us via our [Matrix Channel](https://matrix.to/#/!TiDqlLmEUaXqTemaLc:matrix.org?via=matrix.org).
File renamed without changes.

operations/iam/openstack-federation-via-oidc.md renamed to dev-docs/operations/iam/openstack-federation-via-oidc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ The following sections describe the setup.
2020
To allow SCS to consume identities managed in external IAM solutions,
2121
federation protocols like OpenID Connect or SAML can be used.
2222
Keystone currently makes use of third party apache modules like
23-
[mod\_auth\_openidc](https://github.com/OpenIDC/mod_auth_openidc),
24-
[mod\_oauth2](https://github.com/OpenIDC/mod_oauth2) and
25-
[mod\_auth\_mellon](https://github.com/UNINETT/mod_auth_mellon) to delegate
23+
[mod_auth_openidc](https://github.com/OpenIDC/mod_auth_openidc),
24+
[mod_oauth2](https://github.com/OpenIDC/mod_oauth2) and
25+
[mod_auth_mellon](https://github.com/UNINETT/mod_auth_mellon) to delegate
2626
authentication to a SSO IdP (i.e. SAML IdP or OpenID Connect provider).
2727

2828
In OpenStack the apache modules are configured using the

operations/operations/zuul-ci-cd-quickstart-user-guide.md renamed to dev-docs/operations/operations/zuul-ci-cd-quickstart-user-guide.md

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -115,56 +115,56 @@ Pipelines available in SCS Zuul:
115115

116116
#### 1. check
117117

118-
* event driven pipeline
119-
* runs if a pull request is created, changed or reopened
120-
* re-runs if a comment contains `recheck`
118+
- event driven pipeline
119+
- runs if a pull request is created, changed or reopened
120+
- re-runs if a comment contains `recheck`
121121

122122
#### 2. gate
123123

124-
* event driven pipeline
125-
* trigger events: pull_request_review, pull_request, check_run
124+
- event driven pipeline
125+
- trigger events: pull_request_review, pull_request, check_run
126126

127127
#### 3. post
128128

129-
* event driven pipeline
130-
* trigger event: post
129+
- event driven pipeline
130+
- trigger event: post
131131

132132
#### 4. tag
133133

134-
* event driven pipeline
135-
* trigger event: push
134+
- event driven pipeline
135+
- trigger event: push
136136

137137
#### 5. e2e-test
138138

139-
* event driven pipeline
140-
* trigger event: pull_request
139+
- event driven pipeline
140+
- trigger event: pull_request
141141

142142
#### 6. e2e-quick-test
143143

144-
* event driven pipeline
145-
* trigger event: pull_request
144+
- event driven pipeline
145+
- trigger event: pull_request
146146

147147
#### 7. unlabel-on-update-e2e-test
148148

149-
* event driven pipeline
150-
* trigger event: pull_request
149+
- event driven pipeline
150+
- trigger event: pull_request
151151

152152
#### 8. unlabel-on-update-e2e-quick-test
153153

154-
* event driven pipeline
155-
* trigger event: pull_request
154+
- event driven pipeline
155+
- trigger event: pull_request
156156

157157
#### 9. periodic-hourly
158158

159-
* time based pipeline that runs every hour
159+
- time based pipeline that runs every hour
160160

161161
#### 10. periodic-daily
162162

163-
* time based pipeline that runs every day at 3 o'clock am.
163+
- time based pipeline that runs every day at 3 o'clock am.
164164

165165
#### 11. compliance_check
166166

167-
* time based pipeline that runs every 15 minutes
167+
- time based pipeline that runs every 15 minutes
168168

169169
If you want to know more about pipelines: [See official documentation](https://zuul-ci.org/docs/zuul/latest/config/pipeline.html)
170170

@@ -200,7 +200,6 @@ First have a look on a basic job example:
200200
nodes:
201201
- name: ubuntu-jammy
202202
label: ubuntu-jammy
203-
204203
```
205204
206205
Each job needs a name that has to be unique within the whole tenant.
@@ -319,7 +318,6 @@ For a basic but working example the following content may be written into a `zuu
319318

320319
```yaml
321320
# zuul.yaml content
322-
323321
---
324322
- secret:
325323
name: mySecret
@@ -331,8 +329,8 @@ For a basic but working example the following content may be written into a `zuu
331329
name: myFirstTestJob
332330
parent: base
333331
secrets:
334-
- name: secretName # The name of the secret that is used within "playbooks/testPlaybook.yaml"
335-
secret: mySecret
332+
- name: secretName # The name of the secret that is used within "playbooks/testPlaybook.yaml"
333+
secret: mySecret
336334
run: playbooks/testPlaybook.yaml
337335
338336
- project:
@@ -352,7 +350,6 @@ Example playbook:
352350

353351
```yaml
354352
# playbooks/testPlaybook.yaml content
355-
356353
---
357354
- hosts: all
358355
tasks:

docusaurus.config.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ const config = {
7171
// ... other options
7272
},
7373
],
74+
[
75+
"@docusaurus/plugin-content-docs",
76+
{
77+
id: "dev-docs",
78+
path: "dev-docs",
79+
routeBasePath: "dev-docs",
80+
sidebarPath: require.resolve("./sidebarsDevDocs.js"),
81+
// ... other options
82+
},
83+
],
7484
[
7585
"@docusaurus/plugin-content-docs",
7686
{
@@ -102,8 +112,9 @@ const config = {
102112
},
103113
items: [
104114
// { to: '/blog', label: 'Blog', position: 'left' },
105-
{ to: "/docs", label: "Docs", position: "left" },
106115
{ to: "/standards", label: "Standards", position: "left" },
116+
{ to: "/docs", label: "For Operators", position: "left" },
117+
{ to: "/dev-docs", label: "For Developers", position: "left" },
107118
{ to: "/community", label: "Community", position: "left" },
108119
{ to: "/docs/faq", label: "FAQ", position: "left" },
109120
{
@@ -178,8 +189,8 @@ const config = {
178189
// @ts-ignore
179190
({
180191
hashed: true,
181-
docsDir: ["docs", "community", "standards"],
182-
docsRouteBasePath: ["docs", "community", "standards"],
192+
docsDir: ["docs", "community", "standards", "dev-docs"],
193+
docsRouteBasePath: ["docs", "community", "standards", "dev-docs"],
183194
}),
184195
],
185196
],

sidebarsDevDocs.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// @ts-check
2+
3+
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
4+
const sidebars = {
5+
devDocs: [
6+
{
7+
type: "autogenerated",
8+
dirName: ".", // '.' means the current docs folder
9+
},
10+
],
11+
};
12+
13+
module.exports = sidebars;

0 commit comments

Comments
 (0)