-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use mermaid to draw simple cicd flowchart * Remove outdated information about very old and deprecated helm charts
- Loading branch information
Showing
1 changed file
with
12 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,17 @@ | ||
# CI/CD | ||
|
||
:warning: WIP | ||
The CI/CD pipeline is defined in the [cicd.yml](cicd.yml) file. | ||
|
||
When deploying with [Helm repository](https://github.com/didx-xyz/cloud_api_helm), symlink the `./shared` dir inside `./helm/Chart/assets/shared`: | ||
|
||
```sh | ||
git clone [email protected]:didx-xyz/cloud_api_helm.git helm/Chart | ||
mkdir helm/Chart/assets | ||
cd helm/Chart/assets | ||
ln -s ../../../shared . | ||
```mermaid | ||
--- | ||
title: CI/CD Pipeline | ||
--- | ||
flowchart LR | ||
Format(Check code<br>formatting) ---> Build(Build/Push all<br>Docker Images) | ||
Unit(Run Unit Tests) ---> Build(Build/Push all<br>Docker Images) | ||
Build ---> Local(Deploy and Test local<br>ephemeral k8s) | ||
Build ---> Deploy(Deploy and Test EKS) | ||
``` | ||
|
||
From the root of this repo: | ||
|
||
```sh | ||
PROJECTS=( | ||
ledger-nodes | ||
ledger-browser | ||
tails-server | ||
governance-ga-agent | ||
governance-trust-registry | ||
governance-multitenant-web | ||
governance-multitenant-agent | ||
governance-endorser | ||
) | ||
|
||
for PROJECT in "${PROJECTS[@]}"; do | ||
helm -n app upgrade --install --atomic --timeout=300s \ | ||
$PROJECT \ | ||
-f "./helm/Values/$PROJECT.yaml" \ | ||
./helm/Chart/. | ||
done | ||
``` | ||
Refer to the [helm](../../helm) directory for the Helm charts and Helmfile | ||
configs to deploy acapy-cloud. |