-In the example below, an event triggering a build will cause `Hello-World` to start immediately. The remainder of the jobs will wait. When `Hello-World` completes, both `I-Have-Code` and `Run-In-A-Container` will start. That is because both `I-Have-Code` and `Run-In-A-Container` require `Hello-World` to complete successfully before they can start. Next, the approval job called `Hold-For-Approval` will become available when both `I-Have-Code` and `Run-In-A-Container` complete. The `Hold-For-Approval` job is slightly different from the others. It represents a manual intervention to allow the workflow to continue. While the workflow is waiting for a user (through the CircleCI UI or API) to approve the job, all state is preserved based on the original triggering event. CircleCI understands that Approval jobs may take hours or even days before completing - although we suggest hours over days. Once `Hold-For-Approval` completes through a manual intervention, the final job `Now-Complete` will run.
0 commit comments