pkg/e2e/fixtures/cascade/compose.yaml
raw| 1 | services: |
| 2 | running: |
| 3 | image: alpine |
| 4 | command: sleep infinity |
| 5 | init: true |
| 6 | |
| 7 | exit: |
| 8 | image: alpine |
| 9 | command: /bin/true |
| 10 | depends_on: |
| 11 | running: |
| 12 | condition: service_started |
| 13 | |
| 14 | fail: |
| 15 | image: alpine |
| 16 | command: sh -c "return 111" |
| 17 | depends_on: |
| 18 | exit: |
| 19 | condition: service_completed_successfully |