forked from cloudfoundry/persi-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-image-build.yml
170 lines (142 loc) · 3.87 KB
/
docker-image-build.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
#! this pipeline is deprecated and only kept in case that we need to bring it back
#! as of 10/04/2024 none of these images should still be used in our CI.
---
#! This pipeline is manually set
#!
#! To set pipeline manually run:
#! fly set-pipeline -p volume-services-docker-image-build -c docker-image-build.yml
# ************************************
# Secrets we need to run this pipeline
# ************************************
dockerhub_username: &dockerhub_username ((dockerhub.username))
dockerhub_password: &dockerhub_password ((dockerhub.password))
# Used to upload to docker hub the images built by this pipeline. The password is set via the dockerhub UI.
# **************
# End of secrets
# **************
resources:
- name: nightly
type: time
source:
start: 12:00 AM
stop: 1:00 AM
location: America/Los_Angeles
- name: persi-ci
type: git
source:
paths:
- dockerfiles/*
uri: https://github.com/cloudfoundry/persi-ci
branch: master
- name: mapfs-tests-docker-image
type: docker-image
source:
repository: cfpersi/mapfs-tests
username: *dockerhub_username
password: *dockerhub_password
- name: nfs-driver-integration-tests-docker-image
type: docker-image
source:
repository: cfpersi/nfs-integration-tests
username: *dockerhub_username
password: *dockerhub_password
- name: bosh-release-test-docker-image
type: docker-image
source:
repository: cfpersi/bosh-release-tests
username: *dockerhub_username
password: *dockerhub_password
- name: nfs-unit-tests-docker-image
type: docker-image
source:
repository: cfpersi/nfs-unit-tests
username: *dockerhub_username
password: *dockerhub_password
- name: smb-unit-tests-docker-image
type: docker-image
source:
repository: cfpersi/smb-unit-tests
username: *dockerhub_username
password: *dockerhub_password
- name: nfs-cats-docker-image
type: docker-image
source:
repository: cfpersi/nfs-cats
username: *dockerhub_username
password: *dockerhub_password
- name: smb-volume-release
type: git
source:
paths:
- dockerfiles/*
branch: master
uri: https://github.com/cloudfoundry/smb-volume-release.git
- name: nfs-volume-release
type: git
source:
paths:
- dockerfiles/*
branch: master
uri: https://github.com/cloudfoundry/nfs-volume-release.git
- name: mapfs-release
type: git
source:
paths:
- dockerfiles/*
branch: master
uri: https://github.com/cloudfoundry/mapfs-release.git
jobs:
- name: build-nfs-driver-integration-tests-docker-image
plan:
- get: nightly
trigger: true
- get: nfs-volume-release
trigger: true
- put: nfs-driver-integration-tests-docker-image
params:
build: nfs-volume-release/dockerfiles/nfs-integration-tests
- name: build-bosh-release-test-docker-image
plan:
- get: nightly
trigger: true
- get: persi-ci
trigger: true
- put: bosh-release-test-docker-image
params:
build: persi-ci/dockerfiles/bosh-release-tests
- name: build-nfs-unit-tests-docker-image
plan:
- get: nightly
trigger: true
- get: nfs-volume-release
trigger: true
- put: nfs-unit-tests-docker-image
params:
build: nfs-volume-release/dockerfiles/nfs-unit-tests
- name: build-nfs-cats-docker-image
plan:
- get: nightly
trigger: true
- get: nfs-volume-release
trigger: true
- put: nfs-cats-docker-image
params:
build: nfs-volume-release/dockerfiles/nfs-cats
- name: build-mapfs-tests-docker-image
plan:
- get: nightly
trigger: true
- get: mapfs-release
trigger: true
- put: mapfs-tests-docker-image
params:
build: mapfs-release/dockerfiles/tests
- name: build-smb-unit-tests-docker-image
plan:
- get: nightly
trigger: true
- get: smb-volume-release
trigger: true
- put: smb-unit-tests-docker-image
params:
build: smb-volume-release/dockerfiles/smb-unit-tests