|
4 | 4 | username: ((github-username)) |
5 | 5 | password: ((github-password)) |
6 | 6 | branch: ((branch)) |
7 | | - docker-resource-source: &docker-resource-source |
| 7 | + registry-image-resource-source: ®istry-image-resource-source |
8 | 8 | username: ((docker-hub-username)) |
9 | 9 | password: ((docker-hub-password)) |
10 | 10 | tag: ((milestone)) |
@@ -144,20 +144,20 @@ resources: |
144 | 144 | type: registry-image |
145 | 145 | icon: docker |
146 | 146 | source: |
147 | | - <<: *docker-resource-source |
148 | | - repository: ((docker-hub-organization))/((ci-image-name)) |
| 147 | + <<: *registry-image-resource-source |
| 148 | + repository: ((docker-hub-organization))/spring-boot-ci |
149 | 149 | - name: ci-image-jdk11 |
150 | 150 | type: registry-image |
151 | 151 | icon: docker |
152 | 152 | source: |
153 | | - <<: *docker-resource-source |
154 | | - repository: ((docker-hub-organization))/((ci-image-name))-jdk11 |
| 153 | + <<: *registry-image-resource-source |
| 154 | + repository: ((docker-hub-organization))/spring-boot-ci-jdk11 |
155 | 155 | - name: ci-image-jdk15 |
156 | 156 | type: registry-image |
157 | 157 | icon: docker |
158 | 158 | source: |
159 | | - <<: *docker-resource-source |
160 | | - repository: ((docker-hub-organization))/((ci-image-name))-jdk15 |
| 159 | + <<: *registry-image-resource-source |
| 160 | + repository: ((docker-hub-organization))/spring-boot-ci-jdk15 |
161 | 161 | - name: artifactory-repo |
162 | 162 | type: artifactory-resource |
163 | 163 | icon: package-variant |
@@ -211,19 +211,39 @@ jobs: |
211 | 211 | plan: |
212 | 212 | - get: ci-images-git-repo |
213 | 213 | trigger: true |
| 214 | + - get: git-repo |
| 215 | + - in_parallel: |
| 216 | + - task: build-ci-image |
| 217 | + privileged: true |
| 218 | + file: git-repo/ci/tasks/build-ci-image.yml |
| 219 | + output_mapping: |
| 220 | + image: ci-image |
| 221 | + vars: |
| 222 | + ci-image-name: ci-image |
| 223 | + - task: build-ci-image-jdk11 |
| 224 | + privileged: true |
| 225 | + file: git-repo/ci/tasks/build-ci-image.yml |
| 226 | + output_mapping: |
| 227 | + image: ci-image-jdk11 |
| 228 | + vars: |
| 229 | + ci-image-name: ci-image-jdk11 |
| 230 | + - task: build-ci-image-jdk15 |
| 231 | + privileged: true |
| 232 | + file: git-repo/ci/tasks/build-ci-image.yml |
| 233 | + output_mapping: |
| 234 | + image: ci-image-jdk15 |
| 235 | + vars: |
| 236 | + ci-image-name: ci-image-jdk15 |
214 | 237 | - in_parallel: |
215 | 238 | - put: ci-image |
216 | 239 | params: |
217 | | - build: ci-images-git-repo/ci/images |
218 | | - dockerfile: ci-images-git-repo/ci/images/ci-image/Dockerfile |
| 240 | + image: ci-image/image.tar |
219 | 241 | - put: ci-image-jdk11 |
220 | 242 | params: |
221 | | - build: ci-images-git-repo/ci/images |
222 | | - dockerfile: ci-images-git-repo/ci/images/ci-image-jdk11/Dockerfile |
| 243 | + image: ci-image-jdk11/image.tar |
223 | 244 | - put: ci-image-jdk15 |
224 | 245 | params: |
225 | | - build: ci-images-git-repo/ci/images |
226 | | - dockerfile: ci-images-git-repo/ci/images/ci-image-jdk15/Dockerfile |
| 246 | + image: ci-image-jdk15/image.tar |
227 | 247 | - name: detect-jdk-updates |
228 | 248 | plan: |
229 | 249 | - get: git-repo |
|
0 commit comments