|
|
|
|
@@ -86,14 +86,6 @@ resources:
|
|
|
|
|
username: ((docker-hub-username))
|
|
|
|
|
password: ((docker-hub-password))
|
|
|
|
|
tag: ((branch))
|
|
|
|
|
- name: spring-boot-jdk12-ci-image
|
|
|
|
|
type: docker-image
|
|
|
|
|
icon: docker
|
|
|
|
|
source:
|
|
|
|
|
repository: ((docker-hub-organization))/spring-boot-jdk12-ci-image
|
|
|
|
|
username: ((docker-hub-username))
|
|
|
|
|
password: ((docker-hub-password))
|
|
|
|
|
tag: ((branch))
|
|
|
|
|
- name: spring-boot-jdk13-ci-image
|
|
|
|
|
type: docker-image
|
|
|
|
|
icon: docker
|
|
|
|
|
@@ -126,14 +118,6 @@ resources:
|
|
|
|
|
access_token: ((github-ci-status-token))
|
|
|
|
|
branch: ((branch))
|
|
|
|
|
context: jdk11-build
|
|
|
|
|
- name: repo-status-jdk12-build
|
|
|
|
|
type: github-status-resource
|
|
|
|
|
icon: eye-check-outline
|
|
|
|
|
source:
|
|
|
|
|
repository: ((github-repo-name))
|
|
|
|
|
access_token: ((github-ci-status-token))
|
|
|
|
|
branch: ((branch))
|
|
|
|
|
context: jdk12-build
|
|
|
|
|
- name: repo-status-jdk13-build
|
|
|
|
|
type: github-status-resource
|
|
|
|
|
icon: eye-check-outline
|
|
|
|
|
@@ -171,10 +155,6 @@ jobs:
|
|
|
|
|
params:
|
|
|
|
|
build: ci-images-git-repo/ci/images
|
|
|
|
|
dockerfile: ci-images-git-repo/ci/images/spring-boot-jdk11-ci-image/Dockerfile
|
|
|
|
|
- put: spring-boot-jdk12-ci-image
|
|
|
|
|
params:
|
|
|
|
|
build: ci-images-git-repo/ci/images
|
|
|
|
|
dockerfile: ci-images-git-repo/ci/images/spring-boot-jdk12-ci-image/Dockerfile
|
|
|
|
|
- put: spring-boot-jdk13-ci-image
|
|
|
|
|
params:
|
|
|
|
|
build: ci-images-git-repo/ci/images
|
|
|
|
|
@@ -204,15 +184,6 @@ jobs:
|
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
|
JDK_VERSION: java11
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
- task: detect-jdk12-update
|
|
|
|
|
file: git-repo/ci/tasks/detect-jdk-updates.yml
|
|
|
|
|
params:
|
|
|
|
|
GITHUB_REPO: spring-boot
|
|
|
|
|
GITHUB_ORGANIZATION: spring-projects
|
|
|
|
|
GITHUB_PASSWORD: ((github-password))
|
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
|
JDK_VERSION: java12
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
- task: detect-jdk13-update
|
|
|
|
|
file: git-repo/ci/tasks/detect-jdk-updates.yml
|
|
|
|
|
params:
|
|
|
|
|
@@ -380,52 +351,6 @@ jobs:
|
|
|
|
|
silent: true
|
|
|
|
|
icon_emoji: ":concourse:"
|
|
|
|
|
username: concourse-ci
|
|
|
|
|
- name: jdk12-build
|
|
|
|
|
serial: true
|
|
|
|
|
public: true
|
|
|
|
|
plan:
|
|
|
|
|
- get: spring-boot-jdk12-ci-image
|
|
|
|
|
- get: git-repo
|
|
|
|
|
trigger: true
|
|
|
|
|
- put: repo-status-jdk12-build
|
|
|
|
|
params: { state: "pending", commit: "git-repo" }
|
|
|
|
|
- do:
|
|
|
|
|
- task: build-project
|
|
|
|
|
privileged: true
|
|
|
|
|
timeout: ((task-timeout))
|
|
|
|
|
image: spring-boot-jdk12-ci-image
|
|
|
|
|
file: git-repo/ci/tasks/build-project.yml
|
|
|
|
|
- in_parallel:
|
|
|
|
|
- task: build-smoke-tests
|
|
|
|
|
timeout: ((task-timeout))
|
|
|
|
|
image: spring-boot-jdk12-ci-image
|
|
|
|
|
file: git-repo/ci/tasks/build-smoke-tests.yml
|
|
|
|
|
- task: build-integration-tests
|
|
|
|
|
timeout: ((task-timeout))
|
|
|
|
|
image: spring-boot-jdk12-ci-image
|
|
|
|
|
file: git-repo/ci/tasks/build-integration-tests.yml
|
|
|
|
|
- task: build-deployment-tests
|
|
|
|
|
timeout: ((task-timeout))
|
|
|
|
|
image: spring-boot-jdk12-ci-image
|
|
|
|
|
file: git-repo/ci/tasks/build-deployment-tests.yml
|
|
|
|
|
on_failure:
|
|
|
|
|
do:
|
|
|
|
|
- put: repo-status-jdk12-build
|
|
|
|
|
params: { state: "failure", commit: "git-repo" }
|
|
|
|
|
- put: slack-alert
|
|
|
|
|
params:
|
|
|
|
|
text: ":concourse-failed: <https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} failed!>"
|
|
|
|
|
silent: true
|
|
|
|
|
icon_emoji: ":concourse:"
|
|
|
|
|
username: concourse-ci
|
|
|
|
|
- put: repo-status-jdk12-build
|
|
|
|
|
params: { state: "success", commit: "git-repo" }
|
|
|
|
|
- put: slack-alert
|
|
|
|
|
params:
|
|
|
|
|
text: ":concourse-succeeded: <https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} was successful!>"
|
|
|
|
|
silent: true
|
|
|
|
|
icon_emoji: ":concourse:"
|
|
|
|
|
username: concourse-ci
|
|
|
|
|
- name: jdk13-build
|
|
|
|
|
serial: true
|
|
|
|
|
public: true
|
|
|
|
|
@@ -674,7 +599,7 @@ jobs:
|
|
|
|
|
body: generated-release-notes/release-notes.md
|
|
|
|
|
groups:
|
|
|
|
|
- name: "Build"
|
|
|
|
|
jobs: ["build", "jdk11-build", "jdk12-build", "jdk13-build", "windows-build"]
|
|
|
|
|
jobs: ["build", "jdk11-build", "jdk13-build", "windows-build"]
|
|
|
|
|
- name: "Release"
|
|
|
|
|
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
|
|
|
|
|
- name: "CI Images"
|
|
|
|
|
|