github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/testflight/fixtures/wait-for-intercept.yml (about)

     1  jobs:
     2  - name: wait
     3    plan:
     4    - task: wait-for-intercept
     5      config:
     6        platform: linux
     7  
     8        image_resource:
     9          type: mock
    10          source: {mirror_self: true}
    11  
    12        run:
    13          path: sh
    14          args:
    15          - -c
    16          - |
    17            until test -f /tmp/stop-waiting; do
    18              echo 'waiting for /tmp/stop-waiting to exist'
    19              sleep 1
    20            done
    21  
    22            echo done