An example pipeline for the gate resource.
The gates branch of this repo contains the state of all gates used in this pipeline.
This pipeline has the following gates:
a-gate: a simple gateb-gate: another simple gateauto-gate: an auto-gate with items that automatically close when a combination of items passed through gatesaandb
This example pipeline has the following jobs. To see an example flow, trigger the jobs in the same order as they are described below.
In a real pipeline, job triggers would of course come from some other source, e.g. a completed build step or a changed source repository.
push-agenerates a random item passing througha-gatepush-bgenerates a random item passing throughb-gatepush-autogategenerates an autoclose item inauto-gatethat depends on the last two item that passed througha-gateandb-gaterespectivelyautoclose-autogateupdates the autoclose items inauto-gateechotriggers for every item passing throughauto-gateand simply prints its contents
