Skip to content

Commit 8fa7b46

Browse files
authored
docs(workflows): Add sequence diagram for CI/CD shared actions (#48)
* docs(workflows): Add sequence diagram for CI/CD shared actions * chore: move sdlc to docs folder within workflows
1 parent 9540d85 commit 8fa7b46

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/CICD-with-shared-actions.md renamed to .github/workflows/docs/CICD-with-shared-actions.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,28 @@ A typical pipeline chains these reusable workflows:
1515

1616
Each step is independent and composable; you can run them all or just the subset your repo needs.
1717

18+
```mermaid
19+
sequenceDiagram
20+
participant WF as Caller Workflow
21+
participant SW1 as Execute Build (reusable)
22+
participant SW2 as Sign Artifacts (reusable)
23+
participant SW3 as Deploy Artifacts (reusable)
24+
participant GA as GitHub Artifacts
25+
participant JF as JFrog
26+
participant SW4 as Create Release Bundle (reusable)
27+
28+
WF->>SW1: uses reusable_execute-build (artifact-name=build-artifacts)
29+
SW1-->>GA: upload "build-artifacts"
30+
WF->>SW2: uses reusable_sign-artifacts (unsigned-artifacts=build-artifacts, artifact-name=signed-artifacts)
31+
SW2-->>GA: download "build-artifacts"
32+
SW2-->>GA: upload "signed-artifacts"
33+
WF->>SW3: uses reusable_deploy-artifacts (artifact-name=signed-artifacts, project/build-name/version)
34+
SW3-->>GA: download "signed-artifacts"
35+
SW3-->>JF: deploy via OIDC
36+
WF->>SW4: uses reusable_create-release-bundle (bundle-name, version, artifacts="name:version,...")
37+
SW4-->>JF: create bundle from published artifacts
38+
```
39+
1840
---
1941

2042
## Short example

0 commit comments

Comments
 (0)