Skip to content

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

License

Notifications You must be signed in to change notification settings

caitlinelfring/argo-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

argo-ci

Demo of using Argo Workflows with Argo Events to build a CI tool for Github.

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 http://localhost:9000 and add a new bucket named artifacts (default creds)

Troubleshooting

# 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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published