blob: 3048f58608a9e9fa316d2e700788f34498494453 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# concourse
A versioned catalogue of re-usable Concourse bits
## Usage
Include the following resource in the pipeline where you wish to consume a
task:
```yaml
- name: concourse
type: git
source:
uri: https://git.segundo.io/concourse
```
To use a task, ensure that you `get: concourse` earlier in your plan. Remember
to perform any input/output mapping from the generic names _inside_ the task
(on the left of the colon), to your specific names _outside_ the task (on the
right of the colon).
```yaml
jobs:
name: do-the-thing
plan:
- get: concourse-tasks
# ...
- task: tarball-files
file: concourse-tasks/tar/task.yml
input_mapping: { input: your-directory }
output_mapping: { output: name-you-want }
params:
INCLUDE: file1 file2
TARBALL_NAME: my-tarball
```
|