Skip to content
This repository was archived by the owner on Apr 27, 2020. It is now read-only.

Commit 4fc4eb5

Browse files
Fix not to use old-style template vars in pipeline (#41)
1 parent fd38dbb commit 4fc4eb5

File tree

2 files changed

+43
-43
lines changed

2 files changed

+43
-43
lines changed

ci/pipeline.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# DO NOT MAKE CHANGES TO THIS FILE. Instead, modify ci/pipeline.yml.erb and
55
# execute build-pipeline-yml.
66
#
7-
# created: 2018-07-10T15:43:55+09:00
7+
# created: 2018-08-21T15:18:07+09:00
88
#
99
resource_types:
1010
- name: slack-notification
@@ -41,73 +41,73 @@ resources:
4141
- name: notify
4242
type: slack-notification
4343
source:
44-
url: {{slack-url}}
44+
url: ((slack-url))
4545

4646

4747
- name: kubernetes-resource-image-1.6
4848
type: docker-image
4949
source:
5050
repository: zlabjp/kubernetes-resource
5151
tag: "1.6"
52-
username: {{docker-username}}
53-
password: {{docker-password}}
52+
username: ((docker-username))
53+
password: ((docker-password))
5454

5555
- name: kubernetes-resource-image-1.7
5656
type: docker-image
5757
source:
5858
repository: zlabjp/kubernetes-resource
5959
tag: "1.7"
60-
username: {{docker-username}}
61-
password: {{docker-password}}
60+
username: ((docker-username))
61+
password: ((docker-password))
6262

6363
- name: kubernetes-resource-image-1.8
6464
type: docker-image
6565
source:
6666
repository: zlabjp/kubernetes-resource
6767
tag: "1.8"
68-
username: {{docker-username}}
69-
password: {{docker-password}}
68+
username: ((docker-username))
69+
password: ((docker-password))
7070

7171
- name: kubernetes-resource-image-1.9
7272
type: docker-image
7373
source:
7474
repository: zlabjp/kubernetes-resource
7575
tag: "1.9"
76-
username: {{docker-username}}
77-
password: {{docker-password}}
76+
username: ((docker-username))
77+
password: ((docker-password))
7878

7979
- name: kubernetes-resource-image-1.10
8080
type: docker-image
8181
source:
8282
repository: zlabjp/kubernetes-resource
8383
tag: "1.10"
84-
username: {{docker-username}}
85-
password: {{docker-password}}
84+
username: ((docker-username))
85+
password: ((docker-password))
8686

8787
- name: kubernetes-resource-image-1.11
8888
type: docker-image
8989
source:
9090
repository: zlabjp/kubernetes-resource
9191
tag: "1.11"
92-
username: {{docker-username}}
93-
password: {{docker-password}}
92+
username: ((docker-username))
93+
password: ((docker-password))
9494

9595
- name: kubernetes-resource-image-latest
9696
type: docker-image
9797
source:
9898
repository: zlabjp/kubernetes-resource
9999
tag: "latest"
100-
username: {{docker-username}}
101-
password: {{docker-password}}
100+
username: ((docker-username))
101+
password: ((docker-password))
102102

103103

104104
- name: kubernetes-resource-image-edge
105105
type: docker-image
106106
source:
107107
repository: zlabjp/kubernetes-resource
108108
tag: edge
109-
username: {{docker-username}}
110-
password: {{docker-password}}
109+
username: ((docker-username))
110+
password: ((docker-password))
111111

112112

113113
- name: stable-1.6
@@ -178,15 +178,15 @@ jobs:
178178
on_success:
179179
put: notify
180180
params:
181-
channel: {{slack-success-channel}}
181+
channel: ((slack-success-channel))
182182
username: concourse / kubernetes-resource-image-edge
183183
icon_emoji: ":dancing-penguin:"
184184
text: |
185185
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
186186
on_failure:
187187
put: notify
188188
params:
189-
channel: {{slack-failure-channel}}
189+
channel: ((slack-failure-channel))
190190
username: concourse / kubernetes-resource:edge
191191
icon_emoji: ":rage:"
192192
text: |
@@ -217,15 +217,15 @@ jobs:
217217
on_success:
218218
put: notify
219219
params:
220-
channel: {{slack-success-channel}}
220+
channel: ((slack-success-channel))
221221
username: concourse / kubernetes-resource-image-1.6
222222
icon_emoji: ":dancing-penguin:"
223223
text: |
224224
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
225225
on_failure:
226226
put: notify
227227
params:
228-
channel: {{slack-failure-channel}}
228+
channel: ((slack-failure-channel))
229229
username: concourse / kubernetes-resource-image-1.6
230230
icon_emoji: ":rage:"
231231
text: |
@@ -255,15 +255,15 @@ jobs:
255255
on_success:
256256
put: notify
257257
params:
258-
channel: {{slack-success-channel}}
258+
channel: ((slack-success-channel))
259259
username: concourse / kubernetes-resource-image-1.7
260260
icon_emoji: ":dancing-penguin:"
261261
text: |
262262
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
263263
on_failure:
264264
put: notify
265265
params:
266-
channel: {{slack-failure-channel}}
266+
channel: ((slack-failure-channel))
267267
username: concourse / kubernetes-resource-image-1.7
268268
icon_emoji: ":rage:"
269269
text: |
@@ -293,15 +293,15 @@ jobs:
293293
on_success:
294294
put: notify
295295
params:
296-
channel: {{slack-success-channel}}
296+
channel: ((slack-success-channel))
297297
username: concourse / kubernetes-resource-image-1.8
298298
icon_emoji: ":dancing-penguin:"
299299
text: |
300300
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
301301
on_failure:
302302
put: notify
303303
params:
304-
channel: {{slack-failure-channel}}
304+
channel: ((slack-failure-channel))
305305
username: concourse / kubernetes-resource-image-1.8
306306
icon_emoji: ":rage:"
307307
text: |
@@ -331,15 +331,15 @@ jobs:
331331
on_success:
332332
put: notify
333333
params:
334-
channel: {{slack-success-channel}}
334+
channel: ((slack-success-channel))
335335
username: concourse / kubernetes-resource-image-1.9
336336
icon_emoji: ":dancing-penguin:"
337337
text: |
338338
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
339339
on_failure:
340340
put: notify
341341
params:
342-
channel: {{slack-failure-channel}}
342+
channel: ((slack-failure-channel))
343343
username: concourse / kubernetes-resource-image-1.9
344344
icon_emoji: ":rage:"
345345
text: |
@@ -369,15 +369,15 @@ jobs:
369369
on_success:
370370
put: notify
371371
params:
372-
channel: {{slack-success-channel}}
372+
channel: ((slack-success-channel))
373373
username: concourse / kubernetes-resource-image-1.10
374374
icon_emoji: ":dancing-penguin:"
375375
text: |
376376
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
377377
on_failure:
378378
put: notify
379379
params:
380-
channel: {{slack-failure-channel}}
380+
channel: ((slack-failure-channel))
381381
username: concourse / kubernetes-resource-image-1.10
382382
icon_emoji: ":rage:"
383383
text: |
@@ -407,15 +407,15 @@ jobs:
407407
on_success:
408408
put: notify
409409
params:
410-
channel: {{slack-success-channel}}
410+
channel: ((slack-success-channel))
411411
username: concourse / kubernetes-resource-image-1.11
412412
icon_emoji: ":dancing-penguin:"
413413
text: |
414414
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
415415
on_failure:
416416
put: notify
417417
params:
418-
channel: {{slack-failure-channel}}
418+
channel: ((slack-failure-channel))
419419
username: concourse / kubernetes-resource-image-1.11
420420
icon_emoji: ":rage:"
421421
text: |
@@ -445,15 +445,15 @@ jobs:
445445
on_success:
446446
put: notify
447447
params:
448-
channel: {{slack-success-channel}}
448+
channel: ((slack-success-channel))
449449
username: concourse / kubernetes-resource-image-latest
450450
icon_emoji: ":dancing-penguin:"
451451
text: |
452452
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
453453
on_failure:
454454
put: notify
455455
params:
456-
channel: {{slack-failure-channel}}
456+
channel: ((slack-failure-channel))
457457
username: concourse / kubernetes-resource-image-latest
458458
icon_emoji: ":rage:"
459459
text: |

ci/pipeline.yml.erb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,25 @@ resources:
4646
- name: notify
4747
type: slack-notification
4848
source:
49-
url: {{slack-url}}
49+
url: ((slack-url))
5050

5151
<% kubernetes_versions.each do |version| %>
5252
- name: <%= image_resource_name(version) %>
5353
type: docker-image
5454
source:
5555
repository: zlabjp/kubernetes-resource
5656
tag: "<%= tag(version) %>"
57-
username: {{docker-username}}
58-
password: {{docker-password}}
57+
username: ((docker-username))
58+
password: ((docker-password))
5959
<% end %>
6060

6161
- name: kubernetes-resource-image-edge
6262
type: docker-image
6363
source:
6464
repository: zlabjp/kubernetes-resource
6565
tag: edge
66-
username: {{docker-username}}
67-
password: {{docker-password}}
66+
username: ((docker-username))
67+
password: ((docker-password))
6868

6969
<% kubernetes_versions.each do |version| %>
7070
- name: <%= version %>
@@ -99,15 +99,15 @@ jobs:
9999
on_success:
100100
put: notify
101101
params:
102-
channel: {{slack-success-channel}}
102+
channel: ((slack-success-channel))
103103
username: concourse / <%= image_resource_name("edge") %>
104104
icon_emoji: ":dancing-penguin:"
105105
text: |
106106
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
107107
on_failure:
108108
put: notify
109109
params:
110-
channel: {{slack-failure-channel}}
110+
channel: ((slack-failure-channel))
111111
username: concourse / kubernetes-resource:edge
112112
icon_emoji: ":rage:"
113113
text: |
@@ -138,15 +138,15 @@ jobs:
138138
on_success:
139139
put: notify
140140
params:
141-
channel: {{slack-success-channel}}
141+
channel: ((slack-success-channel))
142142
username: concourse / <%= image_resource_name(version) %>
143143
icon_emoji: ":dancing-penguin:"
144144
text: |
145145
Success! $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
146146
on_failure:
147147
put: notify
148148
params:
149-
channel: {{slack-failure-channel}}
149+
channel: ((slack-failure-channel))
150150
username: concourse / <%= image_resource_name(version) %>
151151
icon_emoji: ":rage:"
152152
text: |

0 commit comments

Comments
 (0)