Polish pipeline YAML
This commit is contained in:
parent
7e64f9709a
commit
0957c7460b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue