Skip to content

Instantly share code, notes, and snippets.

@jayco
Created November 5, 2020 21:38
Show Gist options
  • Save jayco/7480c1388753625e3a29d35f4d2b87bc to your computer and use it in GitHub Desktop.
Save jayco/7480c1388753625e3a29d35f4d2b87bc to your computer and use it in GitHub Desktop.
steps:
- label: "pre-gate step"
command: echo "pre-gate step"
- wait
- label: "Concurrency gate"
command: exit 0
concurrency_group: gate
concurrency: 1
- wait
- label: "1"
command: echo "2"
- label: "2"
command: echo "2"
- label: "3"
command: echo "3"
- label: "4"
command: echo "4"
- wait
- label: "Concurrency gate"
command: exit 0
concurrency_group: gate
concurrency: 1
- wait
- label: "after-gate step"
command: echo "after-gate step"
- wait
- label: "Concurrency gate two"
command: exit 0
concurrency_group: gate
concurrency: 1
- wait
- label: "5"
command: echo "5"
- label: "6"
command: echo "6"
- label: "7"
command: echo "7"
- label: "8"
command: echo "8"
- wait
- label: "Concurrency gate"
command: exit 0
concurrency_group: gate
concurrency: 1
- label: "do after gate two"
command: echo "do after gate two"
- wait: ~
continue_on_failure: true
- label: "fin"
command: echo "fin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment