document usage of etags in an aws flow for ungoogled chromium

This commit is contained in:
Emil Lerch 2020-11-25 12:28:39 -08:00
parent 1d7f98f8d6
commit 431168ab22
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

61
aws-flow.txt Normal file
View File

@ -0,0 +1,61 @@
+---------------------------+
| |
| Cloudwatch Events (cron) |
| |
+------------+--------------+
|
|
+-----------------------+ |
| | |
| SSM Parameter Store | +----v-----+ +---------+
| | | | Etag for change detect | |
+----------------------++ | Lambda +----------------------------> | DDB |
| | | | |
| +----+-----+ +---------+
+------------+ |Build Params |
| | | v
| Gitea | | +------+--------+
| | | | |
+-----+------+ | | EventBridge |
| | | |
Mirror repo | | +------+--------+
| | |
v | v +---------------+
+-----+------+ | +-------+--------+ Image push | |
| | | | +----------------+-----------------> | Docker Repo |
| GitHub +--+---------> | CodeBuild | ----- | | |
| | | (Docker build) | | | +---------------+
+-----+------+ +-------+--------+ | | +----------------------+
^ | | | Notification | |
| |Notification | +-----------------> | Slack (via Chatbot) |
| | | | | |
| +----v-----+ | | +----------------------+
| | | | | +--------+
| | SNS | | | Artifacts | |
| | | | +-----------------> | S3 |
| +----+-----+ | | |
| | | +-+------+
| v | |
| -----+-----+ | |
| | | | Get image Version |
| | Lambda | <--------|------------------------------+
| | | |
| +----+-----+ |
| | |
| v |
| +-------+-------+ |
| | | |
| | EventBridge | |
| | (input transf)| |
| +-------+-------+ |
| | | This section could
| | | probably be orchestrated via
| | | CodePipeline
| v |
| Version repo +-------+--------+ | I found no use for CodeDeploy
+-----------------------+ +-------------------> | | | here
| | | CodeBuild | |
| SSM Parameter Store +----------------------> | (repo update) | |
| | Dragons found re:ssh +----------------+ -----
+-----------------------+ keys - CB strips \n