screwdriver-cd / screwdriver

An open source build platform designed for continuous delivery.
http://screwdriver.cd
Other
1.02k stars 169 forks source link

Pipelines that start with ~pr cannot trigger ~sd #1780

Open wahapo opened 5 years ago

wahapo commented 5 years ago

What happened: Pipelines that start with ~pr cannot trigger ~sd.

What you expected to happen: If there is no security problem, we want to trigger to ~sd job.

How to reproduce it: Create yaml like below.

annotations:
  screwdriver.cd/chainPR: true
jobs:
  main:
    requires: [ ~pr ]
annotations:
  screwdriver.cd/chainPR: true
jobs:
  test:
    requires: [ ~sd@1:main ]
tkyi commented 5 years ago

Should be okay, but curious on use case. What do you think, @jithin1987 ?

gladenjoy commented 4 years ago

I want this feature. The use case that I want to do is to run a visual regression test on a different pipeline with different secrets when PR Open.