Debian Codegraph @

pkg/e2e/fixtures/start-fail/start-depends_on-long-lived.yaml

raw
1 services:
2 safe:
3 image: 'alpine'
4 init: true
5 command: ['/bin/sh', '-c', 'sleep infinity'] # never exiting
6 failure:
7 image: 'alpine'
8 init: true
9 command: ['/bin/sh', '-c', 'sleep 1 ; echo "exiting with error" ; exit 42']
10 test:
11 image: 'alpine'
12 init: true
13 command: ['/bin/sh', '-c', 'sleep 99999 ; echo "tests are OK"'] # very long job
14 depends_on: [safe]