Skip to content

Commit

Permalink
More SVG=>Mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
cjllanwarne committed Aug 14, 2024
1 parent cb494c9 commit 3561795
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
38 changes: 36 additions & 2 deletions dev-docs/services/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ sequenceDiagram
deactivate CIB
PVM-->>PB: Done
deactivate PVM
PB-->>CI: Detects completion
CI->>Github: Update github check
```


## Merging PRs to the `main` branch

When a PR state changes, it will cause the `github_changed` flag to become dirty.
Expand Down Expand Up @@ -199,7 +199,41 @@ permissions. For example: `/batches?q=user+%3D+ci%0D%0Adeploy+%3D+1`

The image below shows the CI deployment timeline:

![CI Testing Timeline](ci-deploy.svg)
```mermaid
sequenceDiagram
participant Github
box Kubernetes (PROD: 'default' namespace)
participant CI as PROD CI Service (default namespace)
participant PB as PROD Batch (default namespace)
end
box GCE (PROD VMs)
participant PVM as PROD VMs
end
Github->>CI: Notify 'main' branch updated
CI->>PB: Submit CI deploy batch
activate PB
PB->>PVM: Submit build jobs
activate PVM
PVM-->>PB: Done
deactivate PVM
PB->>PVM: Submit deploy jobs
activate PVM
PVM->>PB: Redeploy batch service
PVM->>CI: Redeploy CI service
PVM-->>PB: Done
deactivate PVM
PB->>PVM: Submit test jobs
activate PVM
PVM->>PB: Submit test batches
PB->>PVM: Submit test batch jobs
activate PVM
PVM-->>PB: Validate results
deactivate PVM
PVM-->>PB: Done
deactivate PVM
PB-->>CI: Detects completion
```

## Issues

Expand Down
1 change: 0 additions & 1 deletion dev-docs/services/ci/ci-deploy.svg

This file was deleted.

1 change: 0 additions & 1 deletion dev-docs/services/ci/ci-tests.svg

This file was deleted.

0 comments on commit 3561795

Please sign in to comment.