Shipping Agent listens for Github Deployment Events on a Webhook, and updates Kubernetes to deploy new code. While the update of the deployment is in progress Shipping Agent adds Github Deployment statuses to update the user.
Config is set up with environment variables.
Name | Description |
---|---|
GITHUB_WEBHOOK_SECRET |
The webhook secret see |
LOG_LEVEL |
The log level to use FATAL, ERROR, WARN, INFO or DEBUG. Defaults to WARN |
GITHUB_TOKEN |
The Github OAuth token used for notifications |
DEPLOY_TIMEOUT |
The length of time, in seconds before a deploy is marked as Errored, ensure that terminationGracePeriodSeconds on the kubernetes pod is larger or shipping_agent could be killed before the notification is sent. Defaults to 300 |