Closed takahi-i closed 10 years ago
We get agreement to go with below style for a while.
global:
dummyOpt: true
pipeline:
- stage_name: command_stage_1
stage_type: command
command: echo "hello, world"
run_after:
- stage_name: command_stage_2_group_1
stage_type: command
command: echo "hello, world, command_stage_2_group_1"
- stage_name: command_stage_3_group_1
stage_type: command
command: echo "hello, world, command_stage_3_group_1"
- stage_name: command_stage_4
stage_type: command
command: echo "hello, world"
- stage_name: command_stage_5
stage_type: command
command: echo "hello, world, command_stage_3_group_1"
In this configuration, Individual task described as stage_name
is executed concurrently ruled by run_after
declaration.
So above configuration sample represents task dependency below:
The new configuration format represents the dependencies with the level of indentations. The following is a sample of new format.