github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/35/fail/35-fail.yaml (about) 1 apiVersion: argoproj.io/v1alpha1 2 kind: Workflow 3 metadata: 4 generateName: dag-primay-branch- 5 spec: 6 entrypoint: statis 7 templates: 8 - name: a 9 container: 10 image: docker/whalesay:latest 11 command: [ cowsay ] 12 args: [ "hello world" ] 13 - name: b 14 retryStrategy: 15 limit: "2" 16 container: 17 image: alpine:latest 18 command: [ sh, -c ] 19 args: [ "sleep 30; echo haha" ] 20 - name: c 21 retryStrategy: 22 limit: "3" 23 container: 24 image: alpine:latest 25 command: [ sh, -c ] 26 args: [ "echo intentional failure; exit 2" ] 27 - name: d 28 container: 29 image: docker/whalesay:latest 30 command: [ cowsay ] 31 args: [ "hello world" ] 32 - name: statis 33 dag: 34 failFast: false 35 tasks: 36 - name: A 37 template: a 38 - name: B 39 depends: "A" 40 template: b 41 - name: C 42 depends: "A" 43 template: c 44 - name: D 45 depends: "B" 46 template: d 47 - name: E 48 depends: "D" 49 template: d