Merge branch '2.2.x' into 2.3.x

pull/23585/head
Phillip Webb 4 years ago
commit a47bc41fe3

@ -8,7 +8,8 @@ artifactory-server: "https://repo.spring.io"
branch: "2.3.x" branch: "2.3.x"
milestone: "2.3.x" milestone: "2.3.x"
build-name: "spring-boot" build-name: "spring-boot"
pipeline-name: "spring-boot" pipeline-name: "spring-boot-2.3.x"
ci-image-name: "spring-boot-ci-23x"
concourse-url: "https://ci.spring.io" concourse-url: "https://ci.spring.io"
bintray-subject: "spring" bintray-subject: "spring"
bintray-repo: "jars" bintray-repo: "jars"

@ -132,24 +132,24 @@ resources:
uri: ((github-repo)) uri: ((github-repo))
branch: ((branch)) branch: ((branch))
paths: ["ci/images/*"] paths: ["ci/images/*"]
- name: spring-boot-ci-image - name: ci-image
type: docker-image type: docker-image
icon: docker icon: docker
source: source:
<<: *docker-resource-source <<: *docker-resource-source
repository: ((docker-hub-organization))/spring-boot-ci-image repository: ((docker-hub-organization))/((ci-image-name))
- name: spring-boot-jdk11-ci-image - name: ci-image-jdk11
type: docker-image type: docker-image
icon: docker icon: docker
source: source:
<<: *docker-resource-source <<: *docker-resource-source
repository: ((docker-hub-organization))/spring-boot-jdk11-ci-image repository: ((docker-hub-organization))/((ci-image-name))-jdk11
- name: spring-boot-jdk15-ci-image - name: ci-image-jdk15
type: docker-image type: docker-image
icon: docker icon: docker
source: source:
<<: *docker-resource-source <<: *docker-resource-source
repository: ((docker-hub-organization))/spring-boot-jdk15-ci-image repository: ((docker-hub-organization))/((ci-image-name))-jdk15
- name: artifactory-repo - name: artifactory-repo
type: artifactory-resource type: artifactory-resource
icon: package-variant icon: package-variant
@ -199,44 +199,44 @@ resources:
icon: clock-outline icon: clock-outline
source: { interval: "24h" } source: { interval: "24h" }
jobs: jobs:
- name: build-spring-boot-ci-images - name: build-ci-images
plan: plan:
- get: ci-images-git-repo - get: ci-images-git-repo
trigger: true trigger: true
- in_parallel: - in_parallel:
- put: spring-boot-ci-image - put: ci-image
params: params:
build: ci-images-git-repo/ci/images build: ci-images-git-repo/ci/images
dockerfile: ci-images-git-repo/ci/images/spring-boot-ci-image/Dockerfile dockerfile: ci-images-git-repo/ci/images/ci-image/Dockerfile
- put: spring-boot-jdk11-ci-image - put: ci-image-jdk11
params: params:
build: ci-images-git-repo/ci/images build: ci-images-git-repo/ci/images
dockerfile: ci-images-git-repo/ci/images/spring-boot-jdk11-ci-image/Dockerfile dockerfile: ci-images-git-repo/ci/images/ci-image-jdk11/Dockerfile
- put: spring-boot-jdk15-ci-image - put: ci-image-jdk15
params: params:
build: ci-images-git-repo/ci/images build: ci-images-git-repo/ci/images
dockerfile: ci-images-git-repo/ci/images/spring-boot-jdk15-ci-image/Dockerfile dockerfile: ci-images-git-repo/ci/images/ci-image-jdk15/Dockerfile
- name: detect-jdk-updates - name: detect-jdk-updates
plan: plan:
- get: git-repo - get: git-repo
- get: every-wednesday - get: every-wednesday
trigger: true trigger: true
- get: spring-boot-ci-image - get: ci-image
- in_parallel: - in_parallel:
- task: detect-jdk8-update - task: detect-jdk8-update
image: spring-boot-ci-image image: 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
- task: detect-jdk11-update - task: detect-jdk11-update
image: spring-boot-ci-image image: 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
- task: detect-jdk15-update - task: detect-jdk15-update
image: spring-boot-ci-image image: 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
@ -246,10 +246,10 @@ jobs:
- get: git-repo - get: git-repo
- get: every-wednesday - get: every-wednesday
trigger: true trigger: true
- get: spring-boot-ci-image - get: ci-image
- do: - do:
- task: detect-ubuntu-image-updates - task: detect-ubuntu-image-updates
image: spring-boot-ci-image image: 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
@ -258,10 +258,10 @@ jobs:
- get: git-repo - get: git-repo
- get: every-wednesday - get: every-wednesday
trigger: true trigger: true
- get: spring-boot-ci-image - get: ci-image
- do: - do:
- task: detect-docker-updates - task: detect-docker-updates
image: spring-boot-ci-image image: 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
@ -269,14 +269,14 @@ jobs:
serial: true serial: true
public: true public: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
trigger: true trigger: true
- put: repo-status-build - put: repo-status-build
params: { state: "pending", commit: "git-repo" } params: { state: "pending", commit: "git-repo" }
- do: - do:
- task: build-project - task: build-project
image: spring-boot-ci-image image: ci-image
<<: *build-project-task-params <<: *build-project-task-params
on_failure: on_failure:
do: do:
@ -304,7 +304,7 @@ jobs:
serial: true serial: true
public: true public: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
resource: git-pull-request resource: git-pull-request
trigger: true trigger: true
@ -315,7 +315,7 @@ jobs:
path: git-repo path: git-repo
status: pending status: pending
- task: build-project - task: build-project
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/build-pr-project.yml file: git-repo/ci/tasks/build-pr-project.yml
timeout: ((task-timeout)) timeout: ((task-timeout))
on_success: on_success:
@ -332,14 +332,14 @@ jobs:
serial: true serial: true
public: true public: true
plan: plan:
- get: spring-boot-jdk11-ci-image - get: ci-image-jdk11
- get: git-repo - get: git-repo
trigger: true trigger: true
- put: repo-status-jdk11-build - put: repo-status-jdk11-build
params: { state: "pending", commit: "git-repo" } params: { state: "pending", commit: "git-repo" }
- do: - do:
- task: build-project - task: build-project
image: spring-boot-jdk11-ci-image image: ci-image-jdk11
<<: *build-project-task-params <<: *build-project-task-params
on_failure: on_failure:
do: do:
@ -357,7 +357,7 @@ jobs:
serial: true serial: true
public: true public: true
plan: plan:
- get: spring-boot-jdk15-ci-image - get: ci-image-jdk15
- get: git-repo - get: git-repo
trigger: true trigger: true
- put: repo-status-jdk15-build - put: repo-status-jdk15-build
@ -406,11 +406,11 @@ jobs:
- name: stage-milestone - name: stage-milestone
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- task: stage - task: stage
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/stage.yml file: git-repo/ci/tasks/stage.yml
params: params:
RELEASE_TYPE: M RELEASE_TYPE: M
@ -425,11 +425,11 @@ jobs:
- name: stage-rc - name: stage-rc
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- task: stage - task: stage
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/stage.yml file: git-repo/ci/tasks/stage.yml
params: params:
RELEASE_TYPE: RC RELEASE_TYPE: RC
@ -444,11 +444,11 @@ jobs:
- name: stage-release - name: stage-release
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- task: stage - task: stage
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/stage.yml file: git-repo/ci/tasks/stage.yml
params: params:
RELEASE_TYPE: RELEASE RELEASE_TYPE: RELEASE
@ -463,7 +463,7 @@ jobs:
- name: promote-milestone - name: promote-milestone
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: artifactory-repo - get: artifactory-repo
@ -473,7 +473,7 @@ jobs:
download_artifacts: false download_artifacts: false
save_build_info: true save_build_info: true
- task: promote - task: promote
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/promote.yml file: git-repo/ci/tasks/promote.yml
params: params:
RELEASE_TYPE: M RELEASE_TYPE: M
@ -492,7 +492,7 @@ jobs:
- name: promote-rc - name: promote-rc
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: artifactory-repo - get: artifactory-repo
@ -502,7 +502,7 @@ jobs:
download_artifacts: false download_artifacts: false
save_build_info: true save_build_info: true
- task: promote - task: promote
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/promote.yml file: git-repo/ci/tasks/promote.yml
params: params:
RELEASE_TYPE: RC RELEASE_TYPE: RC
@ -521,7 +521,7 @@ jobs:
- name: promote-release - name: promote-release
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: artifactory-repo - get: artifactory-repo
@ -531,7 +531,7 @@ jobs:
download_artifacts: false download_artifacts: false
save_build_info: true save_build_info: true
- task: promote - task: promote
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/promote.yml file: git-repo/ci/tasks/promote.yml
params: params:
RELEASE_TYPE: RELEASE RELEASE_TYPE: RELEASE
@ -540,7 +540,7 @@ jobs:
- name: sync-to-maven-central - name: sync-to-maven-central
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: ci-image
- get: git-repo - get: git-repo
- get: artifactory-repo - get: artifactory-repo
trigger: true trigger: true
@ -549,7 +549,7 @@ jobs:
download_artifacts: false download_artifacts: false
save_build_info: true save_build_info: true
- task: sync-to-maven-central - task: sync-to-maven-central
image: spring-boot-ci-image image: ci-image
file: git-repo/ci/tasks/sync-to-maven-central.yml file: git-repo/ci/tasks/sync-to-maven-central.yml
params: params:
<<: *bintray-task-params <<: *bintray-task-params
@ -566,11 +566,11 @@ jobs:
tag: generated-release-notes/tag tag: generated-release-notes/tag
body: generated-release-notes/release-notes.md body: generated-release-notes/release-notes.md
groups: groups:
- name: "Build" - name: "builds"
jobs: ["build", "jdk11-build", "jdk15-build", "windows-build"] jobs: ["build", "jdk11-build", "jdk15-build", "windows-build"]
- name: "Release" - name: "releases"
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"] jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
- name: "CI Images" - name: "ci-images"
jobs: ["build-spring-boot-ci-images", "detect-docker-updates", "detect-jdk-updates", "detect-ubuntu-image-updates"] jobs: ["build-ci-images", "detect-docker-updates", "detect-jdk-updates", "detect-ubuntu-image-updates"]
- name: "Build Pull Requests" - name: "pull-requests"
jobs: ["build-pull-requests"] jobs: ["build-pull-requests"]

Loading…
Cancel
Save