izelnakri / gitea-argo-glue

Design doc + implementation of a gitea <-> argo CI/CD flow + notifications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design doc

https://git.izelnakri.com - Gitea server that hosts the code

each push calls a webhook to ->

POST https://proxy.izelnakri.com/submit-workflows

this pushes to:

POST https://argo.izelnakri.com [with workflow ns/name, server-token and git repo and branch label]

when argo finishes the workflow:

sends details to ->

POST https://proxy.izelnakri.com/workflow-results

this sends a PR comment of the test results if there is an open PR.

On develop + master argo CI when passes creates a hashed container on harbor registry(https://registry.izelnakri.com).

pushes the commit to https://git.izelnakri.com and finalizes the workflow and runs argo cd webhook, makes a request to:

https://cd.izelnakri.com

ArgoCD keeps a history of releases for rollback, auditing and deployment in GitOps way.

ENV variables

$HOST_NAME, $ARGO_SERVER, $ARGO_SERVER_TOKEN, $WORKFLOW_NAME, $WORKFLOW_NAMESPACE, $ADMIN_EMAIL

About

Design doc + implementation of a gitea <-> argo CI/CD flow + notifications


Languages

Language:JavaScript 98.1%Language:Dockerfile 1.9%