Hi! I have a multi-pipeline build with triggers on events. No matter what event I pass into drone exec
, the first pipeline always gets called.
I’m guessing this is a side-effect of only running one pipeline at a time in the exec
command. However, I would expect the triggers to still be respected.
Here’s my .drone.yml file:
kind: pipeline
name: Triggered on push
steps:
- name: build
image: busybox
commands:
- echo push
trigger:
event:
- push
---
kind: pipeline
name: Triggered on tag
steps:
- name: build
image: busybox
commands:
- echo tag
trigger:
event:
- tag
And my output:
$ drone exec --event tag
[build:0] + echo push
[build:1] push
Thoughts? Thanks.