github.com/chenbh/concourse/v6@v6.4.2/testflight/fixtures/put-inputs.yml (about) 1 --- 2 resources: 3 - name: specified-input 4 type: mock 5 source: 6 initial_version: v1 7 8 - name: all-input 9 type: mock 10 source: 11 initial_version: v1 12 13 - name: map-input 14 type: mock 15 source: 16 initial_version: v1 17 18 - name: some-resource 19 type: mock 20 source: 21 initial_version: v1 22 23 jobs: 24 - name: job-using-specified-inputs 25 plan: 26 - get: specified-input 27 - get: all-input 28 - put: some-resource 29 inputs: [specified-input] 30 - task: failing-task 31 config: 32 platform: linux 33 image_resource: 34 type: mock 35 source: {mirror_self: true} 36 run: 37 path: sh 38 args: ["-c", "exit 1"] 39 40 - name: job-using-all-inputs 41 plan: 42 - get: specified-input 43 - get: all-input 44 - put: some-resource 45 inputs: all 46 - task: failing-task 47 config: 48 platform: linux 49 image_resource: 50 type: mock 51 source: {mirror_self: true} 52 run: 53 path: sh 54 args: ["-c", "exit 1"] 55 56 - name: job-using-empty-inputs 57 plan: 58 - get: specified-input 59 - get: all-input 60 - put: some-resource 61 inputs: [] 62 - task: failing-task 63 config: 64 platform: linux 65 image_resource: 66 type: mock 67 source: {mirror_self: true} 68 run: 69 path: sh 70 args: ["-c", "exit 1"] 71 72 - name: job-using-no-inputs 73 plan: 74 - get: specified-input 75 - get: all-input 76 - put: some-resource 77 - task: failing-task 78 config: 79 platform: linux 80 image_resource: 81 type: mock 82 source: {mirror_self: true} 83 run: 84 path: sh 85 args: ["-c", "exit 1"] 86 87 - name: job-using-detect-inputs-simple 88 plan: 89 - get: specified-input 90 - get: all-input 91 - put: some-resource 92 inputs: detect 93 params: 94 specified: specified-input/something 95 not_there: does-not-exist 96 - task: failing-task 97 config: 98 platform: linux 99 image_resource: 100 type: mock 101 source: {mirror_self: true} 102 run: 103 path: sh 104 args: ["-c", "exit 1"] 105 106 - name: job-using-detect-inputs-complex 107 plan: 108 - get: specified-input 109 - get: all-input 110 - get: map-input 111 - put: some-resource 112 inputs: detect 113 params: 114 specified: [[specified-input/something, 123456], [does-not-exist]] 115 map_param: 116 some-input: map-input/input 117 no: does-not-exist-too 118 - task: failing-task 119 config: 120 platform: linux 121 image_resource: 122 type: mock 123 source: {mirror_self: true} 124 run: 125 path: sh 126 args: ["-c", "exit 1"]