EmbarkStudios / k8s-buildkite-plugin

Run any buildkite build step as a Kubernetes Job
https://embark.dev
Apache License 2.0
49 stars 19 forks source link

Change pod creation timeout to unique exit code #35

Closed keith closed 3 years ago

keith commented 3 years ago

If the pod isn't created before the timeout is reached, this adds a unique exit code so users can automatically retry in this case. Without this it exits 1 which is difficult to differentiate between a real job error in most cases. Ideally buildkite would show a timeout in this case since this timeout is derived from that, but it's seems to race that