Skip to content

Commit bc37a1b

Browse files
committed
add workflow image
1 parent c6b1f72 commit bc37a1b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

jekyll/_cci2/sample-config.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,11 @@ This example shows a sequential workflow with the `test` job configured to run o
380380
## Sample Configuration with Fan-in/Fan-out Workflow
381381
Below are two sample configurations for a Fan-in/Fan-out workflow.
382382

383-
For the Server/`2.0` config example, refer to [the complete demo repo on GitHub](https://github.com/CircleCI-Public/circleci-demo-workflows/blob/fan-in-fan-out/.circleci/config.yml) for details. Note that since a job can only run when its dependencies are satisfied it transitively requires the dependencies of all upstream jobs, this means only the immediate upstream dependencies need to be specified in the `requires:` blocks.
383+
For the Server/`2.0` config example, refer to [the complete demo repo on GitHub](https://github.com/CircleCI-Public/circleci-demo-workflows/blob/fan-in-fan-out/.circleci/config.yml) for details.
384+
385+
For the Cloud/`2.1` example, see the following workflow map:
386+
387+
![Fan-in-out]({{ site.baseurl }}/assets/img/docs/fan-in-out-example.png)
384388

385389
{:.tab.fan-in-our.Cloud}
386390
{% raw %}
@@ -625,11 +629,15 @@ workflows:
625629
```
626630
{% endraw %}
627631

632+
**Note:** a job can only run when its dependencies are satisfied therefore it requires the dependencies of all upstream jobs. This means only the immediate upstream dependencies need to be specified in the `requires:` blocks.
633+
628634
## Sample Configuration with Multiple Executor Types
629635

630636
It is possible to use multiple [executor types](https://circleci.com/docs/2.0/executor-types/)
631637
in the same workflow.
632638

639+
In `Example-1` each push will build and test the project on Linux, Windows and macOS.
640+
633641
In `Example-2` each push of an iOS project will be built on macOS, and additional iOS tools ([SwiftLint](https://github.com/realm/SwiftLint) and [Danger](https://github.com/danger/danger)) will be run in Docker.
634642

635643
{:.tab.multiple-executors.Example-1}
60.7 KB
Loading

0 commit comments

Comments
 (0)