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