An open API service indexing awesome lists of open source software.

https://github.com/caitlinelfring/argo-ci

Demo using Argo workflows and Argo Events to build a GitHub CI tool
https://github.com/caitlinelfring/argo-ci

argo argo-events argo-workflows ci kubernetes

Last synced: 5 days ago
JSON representation

Demo using Argo workflows and Argo Events to build a GitHub CI tool

Awesome Lists containing this project

README

          

# argo-ci

Demo of using [Argo Workflows](https://argoproj.github.io/projects/argo) with [Argo Events](https://argoproj.github.io/projects/argo-events) to build a CI tool for Github.

```bash
make init

# expose github gateway
ngrok start -config ngrok.yml --all

# update the github event source with the publicly-exposed url via ngrok
kubectl edit eventsource -n argo-events github-event-source
# edit spec.github.example.webhook.url to match the https endpoint provided by ngrok
# (use the url that's forwarding to 12000)
# also update to whatever repo you want it to control the webhooks for

# you will also need to update the URL in `.argo/ci.yaml` for the status check (use the url that's forwarding to 2746)
```

Go to and add a new bucket named `artifacts` (default creds)

## Troubleshooting

```bash
# tail gateway logs
kubectl logs -f -n argo-events -l gateway-name=github-gateway --all-containers

# tail sensor logs
kubectl logs -f -l owner-name=github-sensor -n argo-events

# delete all workflows
kubectl delete workflow -n argo-events --all
```