buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

Make "source" a standard step filter #507

Closed moensch closed 4 years ago

moensch commented 5 years ago

So far the only filter we have for steps is branches. We find ourselves often writing pipelines where we do different things depending on whether they're running as a schedule or via webhook or via ui. Today, we always do dynamic pipelines. Though it would be awesome if we didn't have to do that but instead use something like this in a step:

steps:
 - label: foo
   command: something
   sources: 'ui|schedule'

Or sources: '!ui'

moensch commented 4 years ago

I see this is now available as part of conditionals.