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
- Host: GitHub
- URL: https://github.com/caitlinelfring/argo-ci
- Owner: caitlinelfring
- License: mit
- Created: 2020-05-01T19:15:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:19:09.000Z (over 3 years ago)
- Last Synced: 2025-10-30T18:02:53.602Z (8 months ago)
- Topics: argo, argo-events, argo-workflows, ci, kubernetes
- Language: Makefile
- Size: 366 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```