[Feature Request] blockedBy is enabled for virtual jobs
What happened: Setting blockedBy to virtual job does not work
What you expected to happen: If the builds specified in blockedBy are already running, the virtual job will be completed after those builds are completed.
How to reproduce it: Set both of the following for one job
-
screwdriver.cd/virtualJobannotation -
blockedBy
This is a fundamental problem with how the virtual jobs are currently implemented (i.e., virtual jobs bypass the queue; therefore they are unable to really support any additional settings that normal jobs support). I think we should support the blockedBy setting for a virtual job, but to support this we should re-implement the virtual jobs. In essence, the virtual job should and support all of the features that a normal job supports, except that a virtual job has no steps that can be configured and should also not run any setup and teardown steps.