github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/topgun/pipelines/interruptible.yml (about)

     1  jobs:
     2  - name: interruptible-job
     3    interruptible: true
     4    plan:
     5    - task: wait-forever
     6      timeout: 1h
     7      config:
     8        platform: linux
     9  
    10        image_resource:
    11          type: mock
    12          source: {mirror_self: true}
    13  
    14        run:
    15          path: sh
    16          args:
    17          - -c
    18          - |
    19            while sleep 1; do
    20              echo waiting forever...
    21            done