pkg/e2e/fixtures/restart-test/compose.yaml
raw| 1 | services: |
| 2 | restart: |
| 3 | image: alpine |
| 4 | init: true |
| 5 | command: ash -c "if [[ -f /tmp/restart.lock ]] ; then sleep infinity; else touch /tmp/restart.lock; fi" |
| 6 | |
| 7 | test: |
| 8 | profiles: |
| 9 | - test |
| 10 | image: alpine |
| 11 | init: true |
| 12 | command: ash -c "if [[ -f /tmp/restart.lock ]] ; then sleep infinity; else touch /tmp/restart.lock; fi" |