Pipeline steps are executed sequentially by default. You can optionally use the
depends_on keywork to describe your build steps as a directed acyclic graph. In the below example, steps
bar execute in parallel, and
baz executes once both steps complete.
kind: pipeline name: foo steps: - name: foo image: golang commands: - go build - go test - name: bar image: node commands: - npm install - npm test - name: baz image: plugins/slack settings: webhook: from_secret: webhook depends_on: - foo - bar
The above example is quite simple, but you could use this syntax to create very complex execution flows. The below diagram provides a visual representation of what a complex graph execution could look like: