Skip to content

Commit 585688c

Browse files
committed
Sample graphs for docs
1 parent 1115c17 commit 585688c

File tree

3 files changed

+104
-0
lines changed

3 files changed

+104
-0
lines changed

scripts/release/dev_workflow.mmd

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
%%{
2+
init: {
3+
'flowchart': {
4+
'htmlLabels': true
5+
}
6+
}
7+
}%%
8+
flowchart LR
9+
%% ─────────────── Build stage ───────────────
10+
subgraph Build ["Build"]
11+
direction LR
12+
CONTAINER_IMAGES["<b>Build Container Images</b><br/>Arch: multi<br/>Signing: yes<br/>Tag: <code>build_id</code><br/>Registry: ECR dev"]
13+
KUBECTL_MONGODB["<b>Build kubectl-mongodb</b><br/>Arch: multi<br/>Signing: yes<br/>Tag: <code>build_id</code><br/>Store: S3 dev<br/>"]
14+
HELM_CHARTS["<b>Helm charts</b><br/>Signing: yes<br/>Tag: <code>build_id</code><br/>Registry: OCI ECR dev"]
15+
OLM_BUNDLES["<b>Openshift Bundles</b><br/>Push to dev S3<br/>Tag: <code>build_id</code>"]
16+
end
17+
18+
%% ─────────────── Test stage ───────────────
19+
subgraph Testing ["Testing"]
20+
direction LR
21+
TESTS["Run e2e tests"]
22+
OLM_TESTS["Run OLM e2e tests"]
23+
end
24+
25+
%% ─────────────── Dependencies ───────────────
26+
27+
Build --> Testing

scripts/release/staging_workflow.mmd

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
config:
3+
flowchart:
4+
htmlLabels: true
5+
---
6+
flowchart TD
7+
%% ─────────────── Build stage ───────────────
8+
subgraph Build["Build"]
9+
CONTAINER_IMAGES["<b>Build Container Images</b><br>Arch: multi<br>Signing: yes<br>Tag: <code>commit_sha</code><br>Registry: quay.io staging"]
10+
KUBECTL_MONGODB["<b>Build kubectl-mongodb</b><br>Arch: multi<br>Signing: yes<br>Tag: <code>commit_sha</code><br>Store: S3 staging/commit_sha<br>"]
11+
HELM_CHARTS["<b>Helm charts</b><br>Signing: yes<br>Tag: <code>commit_sha</code><br>Registry: OCI quay.io staging"]
12+
OLM_BUNDLES["<b>Openshift Bundles</b><br>Preflight: yes<br>Tag: <code>commit_sha</code><br>Store: S3 staging/commit_sha"]
13+
RELEASE_NOTES["<b>Generate Release Notes</b><br>Store: S3 staging/commit_sha"]
14+
RELATED_VERSIONS_JSON["<b>Generate related_versions.json</b><br>Store: S3 staging/commit_sha"]
15+
end
16+
17+
%% ─────────────── Test stage ───────────────
18+
subgraph Testing["Testing"]
19+
TESTS["<b>Run e2e tests</b>"]
20+
CODE_SNIPPETS["<b>Run code snippets</b><br>Save outputs: yes<br>Store: S3 staging/commit_sha"]
21+
OLM_TESTS["<b>Run OLM e2e tests</b>"]
22+
end
23+
24+
%% ─────────────── SBOM Generation ───────────────
25+
subgraph SBOM ["SBOM Generation"]
26+
IMAGE_SBOM["<b>Images SBOM</b><br/>CycloneDX"]
27+
KUBECTL_SBOM["<b>Kubectl SBOM</b>"]
28+
AUGUMENTED_SBOM["<b>Augment SBOMs</b><br/>with&nbsp;Kondukto<br>Store: S3 staging/commit_sha"]
29+
end
30+
31+
%% ─────────────── Dependencies ───────────────
32+
CONTAINER_IMAGES --> TESTS & OLM_TESTS & IMAGE_SBOM & CODE_SNIPPETS
33+
KUBECTL_MONGODB --> TESTS & KUBECTL_SBOM & CODE_SNIPPETS
34+
IMAGE_SBOM & KUBECTL_SBOM --> AUGUMENTED_SBOM
35+
HELM_CHARTS --> TESTS & CODE_SNIPPETS
36+
OLM_BUNDLES --> OLM_TESTS
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
config:
3+
flowchart:
4+
htmlLabels: true
5+
---
6+
flowchart LR
7+
%% ─────────────── Build stage ───────────────
8+
subgraph Build["Build"]
9+
direction LR
10+
CONTAINER_IMAGES["<b>Build Container Images</b><br>Arch: multi<br>Signing: yes<br>Tag: <code>commit_sha</code><br>Registry: quay.io staging"]
11+
KUBECTL_MONGODB["<b>Build kubectl-mongodb</b><br>Arch: multi<br>Signing: yes<br>Tag: <code>commit_sha</code><br>Store: S3 staging/commit_sha<br>"]
12+
HELM_CHARTS["<b>Helm charts</b><br>Signing: yes<br>Tag: <code>commit_sha</code><br>Registry: OCI quay.io staging"]
13+
OLM_BUNDLES["<b>Openshift Bundles</b><br>Preflight: yes<br>Tag: <code>commit_sha</code><br>Store: S3 staging/commit_sha"]
14+
end
15+
16+
%% ─────────────── Other stage ───────────────
17+
subgraph Other["Other build artifacts"]
18+
direction LR
19+
RELEASE_NOTES["<b>Generate Release Notes</b><br>Store: S3 staging/commit_sha"]
20+
RELATED_VERSIONS_JSON["<b>Generate related_versions.json</b><br>Store: S3 staging/commit_sha"]
21+
end
22+
23+
%% ─────────────── Test stage ───────────────
24+
subgraph Testing["Testing"]
25+
direction LR
26+
TESTS["<b>Run e2e tests</b>"]
27+
OLM_TESTS["<b>Run OLM e2e tests</b>"]
28+
CODE_SNIPPETS["<b>Run code snippets</b><br>Save outputs: yes<br>Store: S3 staging/commit_sha"]
29+
end
30+
31+
%% ─────────────── SBOM Generation ───────────────
32+
subgraph SBOM ["SBOM Generation"]
33+
direction LR
34+
IMAGE_SBOM["<b>Container Images SBOM</b><br/>CycloneDX"]
35+
KUBECTL_SBOM["<b>Kubectl SBOM</b>"]
36+
AUGUMENTED_SBOM["<b>Augment SBOMs</b><br/>with&nbsp;Kondukto<br>Store: S3 staging/commit_sha"]
37+
end
38+
39+
%% ─────────────── Dependencies ───────────────
40+
Build --> Testing & SBOM
41+
IMAGE_SBOM & KUBECTL_SBOM --> AUGUMENTED_SBOM

0 commit comments

Comments
 (0)