/
pipeline.yml
60 lines (56 loc) · 1.51 KB
/
pipeline.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
---
jobs:
- name: embed
public: true
plan:
- aggregate:
- get: boshrelease
trigger: false
- get: resource-image
passed: [resource-image]
params: {rootfs: true}
trigger: true
- task: embed-image-blob
config:
platform: linux
image: docker:///concourse/concourse-ci
inputs:
- {name: boshrelease, path: .}
- {name: resource-image}
run:
path: ./src/ci/scripts/embed_image_blob.sh
args: [resource-image, flowdock-concourse-notification-resource]
params:
access_key_id: {{aws-access-key-id}}
secret_access_key: {{aws-secret-access-key}}
- put: boshrelease
params:
repository: embed-image-blob
rebase: true
- name: resource-image
public: true
plan:
- get: flowdock-concourse-notification-resource
trigger: true
- put: resource-image
params:
build: flowdock-concourse-notification-resource
resources:
- name: flowdock-concourse-notification-resource
type: git
source:
uri: https://github.com/starkandwayne/flowdock-concourse-notification-resource.git
branch: master
- name: boshrelease
type: git
source:
uri: git@github.com:starkandwayne/flowdock-concourse-notification-boshrelease.git
branch: master
private_key: {{github-private-key}}
- name: resource-image
type: docker-image
source:
email: {{docker-hub-email}}
username: {{docker-hub-username}}
password: {{docker-hub-password}}
repository: fearoffish/flowdock-concourse-notification-resource