Skip to content

Commit 3ef4f5d

Browse files
create a proposed pipeline diagram (#68)
1 parent 7a736bd commit 3ef4f5d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/PIPELINE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,34 @@ sequenceDiagram
3030
JFA->>Art: Upstream dependency
3131
ADO->>ACR: Build & publish container
3232
33+
```
34+
35+
## Proposed Pipeline
36+
37+
This represents the next iteration of the pipeline, simplifying the process by removing Azure DevOps and JFrog Artifactory,
38+
but more importantly allow the owners of the repository to have full control of the pipeline and publishing the actual artefact that they produce and is used.
39+
40+
The GitHub Actions workflow will handle building and publishing both the application artefact and the Docker image to Azure Container Registry (ACR).
41+
42+
```mermaid
43+
sequenceDiagram
44+
participant Dev as Developer
45+
participant Repo as (Micro)Service Repository
46+
participant GH as GitHub Actions
47+
participant Art as Azure Artifacts (Public)
48+
participant ACR as Azure Container Registry
49+
50+
Dev->>Repo: Pull Request
51+
Repo->>GH: Various Actions Workflows are triggered
52+
note right of GH: Actions Workflows are run in parallel
53+
GH->>GH: Security Scans (CodeQL, Trufflehog, Gitleaks)
54+
GH->>GH: Linting & Static Code Analysis
55+
GH->>GH: Unit & Integration Tests
56+
GH->>GH: Build (Gradle)
57+
58+
note right of GH: All assurance workflow steps are complete
59+
GH->>Art: Publish artefact [DRAFT] (versioned via git tag & commit SHA)
60+
note right of GH: The build and publish of the image is one step via the<br/>custom action "docker/build-push-action" but is represented<br/>here as two steps for readability
61+
GH->>GH: Build Docker image (versioned via git tag & commit SHA)
62+
GH->>ACR: Publish container
3363
```

0 commit comments

Comments
 (0)