agent icon indicating copy to clipboard operation
agent copied to clipboard

Support for artifact configuration at the pipeline step level

Open andreeaflorescu opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. We run multiple pipelines on the same hosts. We also don't allow hooks to be overwritten at runtime as per the security recommendations here: https://buildkite.com/docs/agent/v3/securing#disabling-local-hooks. This leaves us with only one choice for specifying where to upload artifacts: global hooks configuration. This approach does not work well for us because we have multiple pipelines with different requirements. We either need to do some plumbing at the environment level and check what pipeline is being called and based on that to export the appropriate configuration, but it is rather cumbersome.

Describe the solution you'd like I would like to be able to specify the artifact configuration via the environment variables at the pipeline step level ideally (or at least at the pipeline level alternatively).

Describe alternatives you've considered Having one host per pipeline -> does not scale well because we need beefy hosts to test our code (i.e. bare metal instances) Plumbing this at the environment level could work but it means we need to update this for each newly introduced pipeline, so it is increasing our operational load.

Additional context N/A

andreeaflorescu avatar Oct 20 '22 10:10 andreeaflorescu

Hi Andreea, thank you for the feature request! This seems pretty reasonable to me. I've added a ticket to our backlog. In the meantime, PRs are welcome.

DrJosh9000 avatar Nov 08 '22 02:11 DrJosh9000