Reinstate CI image builds for 2.0.x pipeline

This commit is contained in:
Andy Wilkinson 2018-04-10 16:46:44 +01:00
parent 729f07907f
commit d8b2a17e1c
1 changed files with 21 additions and 0 deletions

View File

@ -21,6 +21,12 @@ resources:
password: ((github-password))
branch: ((branch))
ignore_paths: ["ci/images/*"]
- name: ci-images-git-repo
type: git
source:
uri: ((github-repo))
branch: ((branch))
paths: ["ci/images/*"]
- name: spring-boot-ci-image
type: docker-image
source:
@ -60,6 +66,19 @@ resources:
from: ((email-from))
to: ((email-to))
jobs:
- name: build-spring-boot-ci-images
plan:
- get: ci-images-git-repo
trigger: true
- put: spring-boot-ci-image
params:
build: ci-images-git-repo/ci/images/spring-boot-ci-image
- put: spring-boot-jdk9-ci-image
params:
build: ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
- put: spring-boot-jdk10-ci-image
params:
build: ci-images-git-repo/ci/images/spring-boot-jdk10-ci-image
- name: build
serial: true
public: true
@ -306,3 +325,5 @@ groups:
jobs: ["build", "jdk9-build", "jdk10-build"]
- name: "Release"
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
- name: "CI Images"
jobs: ["build-spring-boot-ci-images"]