Commit 0957c746 authored by Phillip Webb's avatar Phillip Webb

Polish pipeline YAML

parent 7e64f970
......@@ -183,17 +183,17 @@ jobs:
- get: spring-boot-ci-image
- in_parallel:
- task: detect-jdk8-update
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-jdk-updates.yml
params:
<<: *github-task-params
JDK_VERSION: java8
image: spring-boot-ci-image
- task: detect-jdk11-update
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-jdk-updates.yml
params:
<<: *github-task-params
JDK_VERSION: java11
image: spring-boot-ci-image
- name: detect-ubuntu-image-updates
plan:
- get: git-repo
......@@ -202,10 +202,10 @@ jobs:
- get: spring-boot-ci-image
- do:
- task: detect-ubuntu-image-updates
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-ubuntu-image-updates.yml
params:
<<: *github-task-params
image: spring-boot-ci-image
- name: detect-docker-updates
plan:
- get: git-repo
......@@ -214,10 +214,10 @@ jobs:
- get: spring-boot-ci-image
- do:
- task: detect-docker-updates
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-docker-updates.yml
params:
<<: *github-task-params
image: spring-boot-ci-image
- name: build
serial: true
public: true
......@@ -229,21 +229,21 @@ jobs:
params: { state: "pending", commit: "git-repo" }
- do:
- task: build-project
<<: *build-project-task-params
image: spring-boot-ci-image
<<: *build-project-task-params
- in_parallel:
- task: build-samples
timeout: ((task-timeout))
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-samples.yml
- task: build-integration-tests
timeout: ((task-timeout))
- task: build-integration-tests
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml
- task: build-deployment-tests
timeout: ((task-timeout))
- task: build-deployment-tests
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
on_failure:
do:
- put: repo-status-build
......@@ -288,22 +288,22 @@ jobs:
path: git-repo
status: pending
- task: build-project
timeout: ((task-timeout))
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-pr-project.yml
timeout: ((task-timeout))
- in_parallel:
- task: build-samples
timeout: ((task-timeout))
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-samples.yml
- task: build-integration-tests
timeout: ((task-timeout))
- task: build-integration-tests
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml
- task: build-deployment-tests
timeout: ((task-timeout))
- task: build-deployment-tests
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
on_success:
put: git-pull-request
params:
......@@ -325,21 +325,21 @@ jobs:
params: { state: "pending", commit: "git-repo" }
- do:
- task: build-project
<<: *build-project-task-params
image: spring-boot-jdk11-ci-image
<<: *build-project-task-params
- in_parallel:
- task: build-samples
timeout: ((task-timeout))
image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-samples.yml
- task: build-integration-tests
timeout: ((task-timeout))
- task: build-integration-tests
image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml
- task: build-deployment-tests
timeout: ((task-timeout))
- task: build-deployment-tests
image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
on_failure:
do:
- put: repo-status-jdk11-build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment