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

     1  ---
     2  resources:
     3  - name: no-certs
     4    type: time
     5    tags: ["no-certs"]
     6    source:
     7      interval: 29s
     8  - name: certs
     9    type: time
    10    tags: ["certs"]
    11    source:
    12      interval: 30s
    13  
    14  jobs:
    15  - name: use-em
    16    plan:
    17    - get: no-certs
    18      tags: ["no-certs"]
    19    - get: certs
    20      tags: ["certs"]
    21    - put: put-certs
    22      resource: certs
    23      tags: ["certs"]
    24    - task: failing-task-so-the-resource-containers-stay
    25      tags: ["certs"]
    26      config:
    27        platform: linux
    28  
    29        image_resource:
    30          type: mock
    31          source: {mirror_self: true}
    32  
    33        run:
    34          path: sh
    35          args: ["-c", "exit 1"]
    36