|
|
@ -8,6 +8,10 @@ resource_types:
|
|
|
|
type: docker-image
|
|
|
|
type: docker-image
|
|
|
|
source:
|
|
|
|
source:
|
|
|
|
repository: pcfseceng/email-resource
|
|
|
|
repository: pcfseceng/email-resource
|
|
|
|
|
|
|
|
- name: pull-request
|
|
|
|
|
|
|
|
type: docker-image
|
|
|
|
|
|
|
|
source:
|
|
|
|
|
|
|
|
repository: jtarchie/pr
|
|
|
|
resources:
|
|
|
|
resources:
|
|
|
|
- name: git-repo
|
|
|
|
- name: git-repo
|
|
|
|
type: git
|
|
|
|
type: git
|
|
|
@ -17,6 +21,13 @@ resources:
|
|
|
|
password: ((github-password))
|
|
|
|
password: ((github-password))
|
|
|
|
branch: ((branch))
|
|
|
|
branch: ((branch))
|
|
|
|
ignore_paths: ["ci/images/*"]
|
|
|
|
ignore_paths: ["ci/images/*"]
|
|
|
|
|
|
|
|
- name: git-pull-request
|
|
|
|
|
|
|
|
type: pull-request
|
|
|
|
|
|
|
|
source:
|
|
|
|
|
|
|
|
access_token: ((github-access-token))
|
|
|
|
|
|
|
|
repo: ((github-repo-name))
|
|
|
|
|
|
|
|
base: ((branch))
|
|
|
|
|
|
|
|
ignore_paths: ["ci/*"]
|
|
|
|
- name: ci-images-git-repo
|
|
|
|
- name: ci-images-git-repo
|
|
|
|
type: git
|
|
|
|
type: git
|
|
|
|
source:
|
|
|
|
source:
|
|
|
@ -108,6 +119,46 @@ jobs:
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
"zip.type": "docs"
|
|
|
|
"zip.type": "docs"
|
|
|
|
"zip.deployed": "false"
|
|
|
|
"zip.deployed": "false"
|
|
|
|
|
|
|
|
- name: build-pull-requests
|
|
|
|
|
|
|
|
serial: true
|
|
|
|
|
|
|
|
plan:
|
|
|
|
|
|
|
|
- get: spring-boot-ci-image
|
|
|
|
|
|
|
|
- get: git-repo
|
|
|
|
|
|
|
|
resource: git-pull-request
|
|
|
|
|
|
|
|
trigger: true
|
|
|
|
|
|
|
|
version: every
|
|
|
|
|
|
|
|
- do:
|
|
|
|
|
|
|
|
- put: git-pull-request
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
path: git-repo
|
|
|
|
|
|
|
|
status: pending
|
|
|
|
|
|
|
|
- task: build-project
|
|
|
|
|
|
|
|
timeout: 1h30m
|
|
|
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
|
|
|
file: git-repo/ci/tasks/build-project.yml
|
|
|
|
|
|
|
|
- aggregate:
|
|
|
|
|
|
|
|
- task: build-samples
|
|
|
|
|
|
|
|
timeout: 1h30m
|
|
|
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
|
|
|
file: git-repo/ci/tasks/build-samples.yml
|
|
|
|
|
|
|
|
- task: build-integration-tests
|
|
|
|
|
|
|
|
timeout: 1h30m
|
|
|
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
|
|
|
file: git-repo/ci/tasks/build-integration-tests.yml
|
|
|
|
|
|
|
|
- task: build-deployment-tests
|
|
|
|
|
|
|
|
timeout: 1h30m
|
|
|
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
|
|
|
file: git-repo/ci/tasks/build-deployment-tests.yml
|
|
|
|
|
|
|
|
on_success:
|
|
|
|
|
|
|
|
put: git-pull-request
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
path: git-repo
|
|
|
|
|
|
|
|
status: success
|
|
|
|
|
|
|
|
on_failure:
|
|
|
|
|
|
|
|
put: git-pull-request
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
path: git-repo
|
|
|
|
|
|
|
|
status: failure
|
|
|
|
- name: jdk9-build
|
|
|
|
- name: jdk9-build
|
|
|
|
serial: true
|
|
|
|
serial: true
|
|
|
|
plan:
|
|
|
|
plan:
|
|
|
@ -259,3 +310,5 @@ groups:
|
|
|
|
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release"]
|
|
|
|
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release"]
|
|
|
|
- name: "CI Images"
|
|
|
|
- name: "CI Images"
|
|
|
|
jobs: ["build-spring-boot-ci-images"]
|
|
|
|
jobs: ["build-spring-boot-ci-images"]
|
|
|
|
|
|
|
|
- name: "Build Pull Requests"
|
|
|
|
|
|
|
|
jobs: ["build-pull-requests"]
|
|
|
|