-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpipeline.generated.yml
118 lines (117 loc) · 2.36 KB
/
pipeline.generated.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
jobs:
- name: prepare
plan:
- get: git
trigger: true
- in_parallel:
- get: serverspec-container
trigger: true
- params:
build: git
cache: true
cache_tag: latest
dockerfile: git/Dockerfile.build
tag: git/.git/HEAD
tag_as_latest: true
put: dev-container
- file: git/pipeline/tasks/update-pipeline/task.yml
image: dev-container
params:
CI: true
CONCOURSE_PASSWORD: test
CONCOURSE_URL: http://web:8080
CONCOURSE_USER: test
task: update-pipeline
serial: true
- name: lint
plan:
- in_parallel:
- get: git
passed:
- prepare
trigger: true
- get: dev-container
passed:
- prepare
trigger: true
- in_parallel:
- file: git/pipeline/tasks/linter/task.yml
image: dev-container
params:
CI: true
TARGET: sh
task: lint-sh
- file: git/pipeline/tasks/linter/task.yml
image: dev-container
params:
CI: true
TARGET: js
task: lint-js
- file: git/pipeline/tasks/linter/task.yml
image: dev-container
params:
CI: true
TARGET: css
task: lint-css
- file: git/pipeline/tasks/linter/task.yml
image: dev-container
params:
CI: true
TARGET: docker
task: lint-docker
serial: true
- name: test
plan:
- in_parallel:
- get: git
passed:
- prepare
trigger: true
- get: dev-container
passed:
- prepare
trigger: true
- file: git/pipeline/tasks/tests/task.yml
image: dev-container
params:
CI: true
TARGET: js
task: test-js
serial: true
- name: build
plan:
- in_parallel:
- get: git
passed:
- lint
- test
trigger: true
- get: dev-container
passed:
- lint
- test
trigger: true
- file: git/pipeline/tasks/build/task.yml
image: dev-container
params:
CI: true
task: build
serial: true
resources:
- name: git
source:
branch: master
uri: https://github.com/sirech/example-concourse-pipeline.git
type: git
- name: dev-container
source:
insecure_registries:
- registry:5000
repository: registry:5000/dev-container
tag: latest
type: docker-image
- name: serverspec-container
source:
repository: sirech/dind-ruby
tag: 2.6.3
type: docker-image