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

Polish pipeline YAML

parent 7e64f970
...@@ -183,17 +183,17 @@ jobs: ...@@ -183,17 +183,17 @@ jobs:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- in_parallel: - in_parallel:
- task: detect-jdk8-update - task: detect-jdk8-update
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-jdk-updates.yml file: git-repo/ci/tasks/detect-jdk-updates.yml
params: params:
<<: *github-task-params <<: *github-task-params
JDK_VERSION: java8 JDK_VERSION: java8
image: spring-boot-ci-image
- task: detect-jdk11-update - task: detect-jdk11-update
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-jdk-updates.yml file: git-repo/ci/tasks/detect-jdk-updates.yml
params: params:
<<: *github-task-params <<: *github-task-params
JDK_VERSION: java11 JDK_VERSION: java11
image: spring-boot-ci-image
- name: detect-ubuntu-image-updates - name: detect-ubuntu-image-updates
plan: plan:
- get: git-repo - get: git-repo
...@@ -202,10 +202,10 @@ jobs: ...@@ -202,10 +202,10 @@ jobs:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- do: - do:
- task: detect-ubuntu-image-updates - task: detect-ubuntu-image-updates
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-ubuntu-image-updates.yml file: git-repo/ci/tasks/detect-ubuntu-image-updates.yml
params: params:
<<: *github-task-params <<: *github-task-params
image: spring-boot-ci-image
- name: detect-docker-updates - name: detect-docker-updates
plan: plan:
- get: git-repo - get: git-repo
...@@ -214,10 +214,10 @@ jobs: ...@@ -214,10 +214,10 @@ jobs:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- do: - do:
- task: detect-docker-updates - task: detect-docker-updates
image: spring-boot-ci-image
file: git-repo/ci/tasks/detect-docker-updates.yml file: git-repo/ci/tasks/detect-docker-updates.yml
params: params:
<<: *github-task-params <<: *github-task-params
image: spring-boot-ci-image
- name: build - name: build
serial: true serial: true
public: true public: true
...@@ -229,21 +229,21 @@ jobs: ...@@ -229,21 +229,21 @@ jobs:
params: { state: "pending", commit: "git-repo" } params: { state: "pending", commit: "git-repo" }
- do: - do:
- task: build-project - task: build-project
<<: *build-project-task-params
image: spring-boot-ci-image image: spring-boot-ci-image
<<: *build-project-task-params
- in_parallel: - in_parallel:
- task: build-samples - task: build-samples
timeout: ((task-timeout))
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/build-samples.yml file: git-repo/ci/tasks/build-samples.yml
- task: build-integration-tests
timeout: ((task-timeout)) timeout: ((task-timeout))
- task: build-integration-tests
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml file: git-repo/ci/tasks/build-integration-tests.yml
- task: build-deployment-tests
timeout: ((task-timeout)) timeout: ((task-timeout))
- task: build-deployment-tests
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
on_failure: on_failure:
do: do:
- put: repo-status-build - put: repo-status-build
...@@ -288,22 +288,22 @@ jobs: ...@@ -288,22 +288,22 @@ jobs:
path: git-repo path: git-repo
status: pending status: pending
- task: build-project - task: build-project
timeout: ((task-timeout))
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/build-pr-project.yml file: git-repo/ci/tasks/build-pr-project.yml
timeout: ((task-timeout))
- in_parallel: - in_parallel:
- task: build-samples - task: build-samples
timeout: ((task-timeout))
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/build-samples.yml file: git-repo/ci/tasks/build-samples.yml
- task: build-integration-tests
timeout: ((task-timeout)) timeout: ((task-timeout))
- task: build-integration-tests
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml file: git-repo/ci/tasks/build-integration-tests.yml
- task: build-deployment-tests
timeout: ((task-timeout)) timeout: ((task-timeout))
- task: build-deployment-tests
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
on_success: on_success:
put: git-pull-request put: git-pull-request
params: params:
...@@ -325,21 +325,21 @@ jobs: ...@@ -325,21 +325,21 @@ jobs:
params: { state: "pending", commit: "git-repo" } params: { state: "pending", commit: "git-repo" }
- do: - do:
- task: build-project - task: build-project
<<: *build-project-task-params
image: spring-boot-jdk11-ci-image image: spring-boot-jdk11-ci-image
<<: *build-project-task-params
- in_parallel: - in_parallel:
- task: build-samples - task: build-samples
timeout: ((task-timeout))
image: spring-boot-jdk11-ci-image image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-samples.yml file: git-repo/ci/tasks/build-samples.yml
- task: build-integration-tests
timeout: ((task-timeout)) timeout: ((task-timeout))
- task: build-integration-tests
image: spring-boot-jdk11-ci-image image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml file: git-repo/ci/tasks/build-integration-tests.yml
- task: build-deployment-tests
timeout: ((task-timeout)) timeout: ((task-timeout))
- task: build-deployment-tests
image: spring-boot-jdk11-ci-image image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
on_failure: on_failure:
do: do:
- put: repo-status-jdk11-build - 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