This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.yml
60 lines (55 loc) · 1.42 KB
/
ci.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
# common params for building a docker image
x-params-put: &x-params-put
build: concoursefiles-git/
tag_as_latest: true
resources:
- name: concoursefiles-git
type: git
source:
uri: https://github.com/barrucadu/concoursefiles.git
- name: ci-base-image
type: docker-image
source:
repository: ci-registry:5000/ci-base
insecure_registries: ["ci-registry:5000"]
- name: ci-agent-image
type: docker-image
source:
repository: ci-registry:5000/ci-agent
insecure_registries: ["ci-registry:5000"]
- name: ci-resource-rsync-image
type: docker-image
source:
repository: ci-registry:5000/ci-resource-rsync
insecure_registries: ["ci-registry:5000"]
jobs:
- name: ci-base
serial: true
plan:
- get: concoursefiles-git
- put: ci-base-image
params:
<<: *x-params-put
dockerfile: concoursefiles-git/Dockerfile.ci-base
- name: ci-agent
serial: true
plan:
- aggregate:
- get: concoursefiles-git
- get: ci-base-image
trigger: true
- put: ci-agent-image
params:
<<: *x-params-put
dockerfile: concoursefiles-git/Dockerfile.ci-agent
- name: ci-resource-rsync
serial: true
plan:
- aggregate:
- get: concoursefiles-git
- get: ci-base-image
trigger: true
- put: ci-resource-rsync-image
params:
<<: *x-params-put
dockerfile: concoursefiles-git/Dockerfile.ci-resource-rsync