buildkite / agent-stack-k8s

Spin up an autoscaling stack of Buildkite Agents on Kubernetes
MIT License
79 stars 30 forks source link

Upload artifacts from artifact_paths as part of job execution #251

Closed triarius closed 8 months ago

triarius commented 8 months ago

This removes the artifacts container and makes each job container upload artifacts.

Each job container runs buildkite-agent bootstrap with a command phase. Searching artifact paths and uploading the results is part of the definition of the command phase.

So this should fix #203. To verify this, I've added an integration test that an artifact is uploaded from a job container whose command fails.

Fixes: #203 Closes: #238