From 1bf7d25141406c0b37747175d4e25626f3c82945 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sat, 21 Mar 2020 13:56:41 +0100 Subject: [PATCH] Remove Java 13 CI job Closes gh-20578 --- ci/images/get-jdk-url.sh | 3 - .../spring-boot-jdk13-ci-image/Dockerfile | 11 --- ci/pipeline.yml | 77 +------------------ ci/scripts/detect-jdk-updates.sh | 4 - 4 files changed, 1 insertion(+), 94 deletions(-) delete mode 100644 ci/images/spring-boot-jdk13-ci-image/Dockerfile diff --git a/ci/images/get-jdk-url.sh b/ci/images/get-jdk-url.sh index 5fa09c71e03..fc23e6e8f86 100755 --- a/ci/images/get-jdk-url.sh +++ b/ci/images/get-jdk-url.sh @@ -8,9 +8,6 @@ case "$1" in java11) echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.6%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.6_10.tar.gz" ;; - java13) - echo "https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8/OpenJDK13U-jdk_x64_linux_hotspot_13.0.2_8.tar.gz" - ;; java14) echo "https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14%2B36/OpenJDK14U-jdk_x64_linux_hotspot_14_36.tar.gz" ;; diff --git a/ci/images/spring-boot-jdk13-ci-image/Dockerfile b/ci/images/spring-boot-jdk13-ci-image/Dockerfile deleted file mode 100644 index b9e18adb08f..00000000000 --- a/ci/images/spring-boot-jdk13-ci-image/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM ubuntu:bionic-20200219 - -ADD setup.sh /setup.sh -ADD get-jdk-url.sh /get-jdk-url.sh -RUN ./setup.sh java13 - -ENV JAVA_HOME /opt/openjdk -ENV PATH $JAVA_HOME/bin:$PATH -ADD docker-lib.sh /docker-lib.sh - -ENTRYPOINT [ "switch", "shell=/bin/bash", "--", "codep", "/bin/docker daemon" ] diff --git a/ci/pipeline.yml b/ci/pipeline.yml index b9a045125f0..0163de6bc70 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -86,14 +86,6 @@ resources: username: ((docker-hub-username)) password: ((docker-hub-password)) tag: 2.2.x -- name: spring-boot-jdk13-ci-image - type: docker-image - icon: docker - source: - repository: ((docker-hub-organization))/spring-boot-jdk13-ci-image - username: ((docker-hub-username)) - password: ((docker-hub-password)) - tag: 2.2.x - name: spring-boot-jdk14-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-jdk13-build - type: github-status-resource - icon: eye-check-outline - source: - repository: ((github-repo-name)) - access_token: ((github-ci-status-token)) - branch: ((branch)) - context: jdk13-build - name: repo-status-jdk14-build type: github-status-resource icon: eye-check-outline @@ -172,10 +156,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-jdk13-ci-image - params: - build: ci-images-git-repo/ci/images - dockerfile: ci-images-git-repo/ci/images/spring-boot-jdk13-ci-image/Dockerfile - put: spring-boot-jdk14-ci-image params: build: ci-images-git-repo/ci/images @@ -205,15 +185,6 @@ jobs: GITHUB_USERNAME: ((github-username)) JDK_VERSION: java11 image: spring-boot-ci-image - - task: detect-jdk13-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: java13 - image: spring-boot-ci-image - task: detect-jdk14-update file: git-repo/ci/tasks/detect-jdk-updates.yml params: @@ -396,52 +367,6 @@ jobs: silent: true icon_emoji: ":concourse:" username: concourse-ci -- name: jdk13-build - serial: true - public: true - plan: - - get: spring-boot-jdk13-ci-image - - get: git-repo - trigger: true - - put: repo-status-jdk13-build - params: { state: "pending", commit: "git-repo" } - - do: - - task: build-project - privileged: true - timeout: ((task-timeout)) - image: spring-boot-jdk13-ci-image - file: git-repo/ci/tasks/build-project.yml - - in_parallel: - - task: build-smoke-tests - timeout: ((task-timeout)) - image: spring-boot-jdk13-ci-image - file: git-repo/ci/tasks/build-smoke-tests.yml - - task: build-integration-tests - timeout: ((task-timeout)) - image: spring-boot-jdk13-ci-image - file: git-repo/ci/tasks/build-integration-tests.yml - - task: build-deployment-tests - timeout: ((task-timeout)) - image: spring-boot-jdk13-ci-image - file: git-repo/ci/tasks/build-deployment-tests.yml - on_failure: - do: - - put: repo-status-jdk13-build - params: { state: "failure", commit: "git-repo" } - - put: slack-alert - params: - text: ":concourse-failed: " - silent: true - icon_emoji: ":concourse:" - username: concourse-ci - - put: repo-status-jdk13-build - params: { state: "success", commit: "git-repo" } - - put: slack-alert - params: - text: ":concourse-succeeded: " - silent: true - icon_emoji: ":concourse:" - username: concourse-ci - name: jdk14-build serial: true public: true @@ -690,7 +615,7 @@ jobs: body: generated-release-notes/release-notes.md groups: - name: "Build" - jobs: ["build", "jdk11-build", "jdk13-build", "jdk14-build", "windows-build"] + jobs: ["build", "jdk11-build", "jdk14-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" diff --git a/ci/scripts/detect-jdk-updates.sh b/ci/scripts/detect-jdk-updates.sh index 42503f97913..103f4a4cb2b 100755 --- a/ci/scripts/detect-jdk-updates.sh +++ b/ci/scripts/detect-jdk-updates.sh @@ -9,10 +9,6 @@ case "$JDK_VERSION" in BASE_URL="https://api.adoptopenjdk.net/v3/assets/feature_releases/11" ISSUE_TITLE="Upgrade Java 11 version in CI image" ;; - java13) - BASE_URL="https://api.adoptopenjdk.net/v3/assets/feature_releases/13" - ISSUE_TITLE="Upgrade Java 13 version in CI image" - ;; java14) BASE_URL="https://api.adoptopenjdk.net/v3/assets/feature_releases/14" ISSUE_TITLE="Upgrade Java 14 version in CI image"