-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple.yaml
65 lines (59 loc) · 1.53 KB
/
simple.yaml
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
jobs:
- name: skydns
plan:
- do:
- aggregate:
- get: skydns-git
- get: skydns-container-src
# - task: skydns
# file: skydns-container-src/build.yaml
# - put: docker-skydns
# params:
# build: skydns-build
on_failure:
put: slack
params:
text: ":speak_no_evil: https://ci.desource.net/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME"
channel: "#general"
username: concourse
always_notify: true
icon_emoji: ":concourse:"
on_success:
put: slack
params:
text: ":monkey_face: https://ci.desource.net/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME"
channel: "#general"
username: concourse
always_notify: true
icon_emoji: ":concourse:"
resources:
- name: pipeline
type: git
source:
uri: https://github.com/desource/pipeline.git
- name: slack
type: slack-notification
source:
bump: 2
url: {{slack-notifications-url}}
- name: skydns-git
type: git
source:
uri: https://github.com/skynetservices/skydns.git
branch: 2.5.3a
- name: skydns-container-src
type: git
source:
uri: https://github.com/desource/container-skydns.git
tag: next
- name: docker-skydns
type: docker-image
source:
repository: quay.io/desource/skydns
username: {{quay-io-username}}
password: {{quay-io-password}}
resource_types:
- name: slack-notification
type: docker-image
source:
repository: quay.io/desource/slack-resource