Conditional CI DAG
Problem to solve
I have a project. It has jobs A
, B
, and C
. A
must run before B
which must run before C
. Thus, B
needs A
and C
needs B
.
However, in some cases, A
is skipped, but B
is still run. Our current solution is to exit A
early in this case.
I am aware that this simple example could be easily solved by using stages, but the real example (which I cannot share) requires DAG CI to run in a reasonable amount of time.
Intended users
Further details
Proposal
I would like to be able to specify conditional needs. MVP is something like the syntax for only
/extends
. Ideally, I would like syntax like rules
.
Permissions and Security
Documentation
Testing
What does success look like, and how can we measure that?
A
is conditional on rules
, B
needs A
, and B
still runs when A
is not run.