From 6c1f01220f77efe5a984d7c3db65c512709e5783 Mon Sep 17 00:00:00 2001 From: Anthony Dahanne Date: Mon, 27 Mar 2023 16:42:28 -0400 Subject: [PATCH] Replace Java 19 with 20 --- .github/pipeline-descriptor.yml | 12 +++++------ ...update-jdk-19.yml => pb-update-jdk-20.yml} | 16 +++++++-------- ...update-jre-19.yml => pb-update-jre-20.yml} | 16 +++++++-------- buildpack.toml | 20 +++++++++---------- 4 files changed, 32 insertions(+), 32 deletions(-) rename .github/workflows/{pb-update-jdk-19.yml => pb-update-jdk-20.yml} (91%) rename .github/workflows/{pb-update-jre-19.yml => pb-update-jre-20.yml} (91%) diff --git a/.github/pipeline-descriptor.yml b/.github/pipeline-descriptor.yml index 6a76493..69843d9 100644 --- a/.github/pipeline-descriptor.yml +++ b/.github/pipeline-descriptor.yml @@ -64,17 +64,17 @@ dependencies: with: type: headfull version: "17" -- name: JDK 19 +- name: JDK 20 id: jdk - version_pattern: "19\\.[\\d]+\\.[\\d]+" + version_pattern: "20\\.[\\d]+\\.[\\d]+" uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main with: type: jdk - version: "19" -- name: JRE 19 + version: "20" +- name: JRE 20 id: jre - version_pattern: "19\\.[\\d]+\\.[\\d]+" + version_pattern: "20\\.[\\d]+\\.[\\d]+" uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main with: type: headfull - version: "19" + version: "20" diff --git a/.github/workflows/pb-update-jdk-19.yml b/.github/workflows/pb-update-jdk-20.yml similarity index 91% rename from .github/workflows/pb-update-jdk-19.yml rename to .github/workflows/pb-update-jdk-20.yml index 84f7056..0649341 100644 --- a/.github/workflows/pb-update-jdk-19.yml +++ b/.github/workflows/pb-update-jdk-20.yml @@ -1,4 +1,4 @@ -name: Update JDK 19 +name: Update JDK 20 "on": schedule: - cron: 0 5 * * 1-5 @@ -45,7 +45,7 @@ jobs: uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main with: type: jdk - version: "19" + version: "20" - name: Update Buildpack Dependency id: buildpack run: | @@ -94,18 +94,18 @@ jobs: SHA256: ${{ steps.dependency.outputs.sha256 }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} - VERSION_PATTERN: 19\.[\d]+\.[\d]+ + VERSION_PATTERN: 20\.[\d]+\.[\d]+ - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> - body: Bumps `JDK 19` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. - branch: update/buildpack/jdk-19 + body: Bumps `JDK 20` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. + branch: update/buildpack/jdk-20 commit-message: |- - Bump JDK 19 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} + Bump JDK 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} - Bumps JDK 19 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}. + Bumps JDK 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}. delete-branch: true labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade signoff: true - title: Bump JDK 19 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} + title: Bump JDK 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} diff --git a/.github/workflows/pb-update-jre-19.yml b/.github/workflows/pb-update-jre-20.yml similarity index 91% rename from .github/workflows/pb-update-jre-19.yml rename to .github/workflows/pb-update-jre-20.yml index c9b9442..4813524 100644 --- a/.github/workflows/pb-update-jre-19.yml +++ b/.github/workflows/pb-update-jre-20.yml @@ -1,4 +1,4 @@ -name: Update JRE 19 +name: Update JRE 20 "on": schedule: - cron: 0 5 * * 1-5 @@ -45,7 +45,7 @@ jobs: uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main with: type: headfull - version: "19" + version: "20" - name: Update Buildpack Dependency id: buildpack run: | @@ -94,18 +94,18 @@ jobs: SHA256: ${{ steps.dependency.outputs.sha256 }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} - VERSION_PATTERN: 19\.[\d]+\.[\d]+ + VERSION_PATTERN: 20\.[\d]+\.[\d]+ - uses: peter-evans/create-pull-request@v4 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> - body: Bumps `JRE 19` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. - branch: update/buildpack/jre-19 + body: Bumps `JRE 20` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`. + branch: update/buildpack/jre-20 commit-message: |- - Bump JRE 19 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} + Bump JRE 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} - Bumps JRE 19 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}. + Bumps JRE 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}. delete-branch: true labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade signoff: true - title: Bump JRE 19 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} + title: Bump JRE 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }} token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} diff --git a/buildpack.toml b/buildpack.toml index 33f3011..1cad37a 100644 --- a/buildpack.toml +++ b/buildpack.toml @@ -223,28 +223,28 @@ api = "0.7" uri = "https://openjdk.java.net/legal/gplv2+ce.html" [[metadata.dependencies]] - cpes = ["cpe:2.3:a:oracle:jdk:19.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:azul:zulu:19.0.2:*:*:*:*:*:*:*"] + cpes = ["cpe:2.3:a:oracle:jdk:20.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:azul:zulu:20.0.0:*:*:*:*:*:*:*"] id = "jdk" name = "Azul Zulu JDK" - purl = "pkg:generic/azul-zulu-jdk@19.0.2?arch=amd64" - sha256 = "4a994aded1d9b35258d543a59d4963d2687a1094a818b79a21f00273fbbc5bca" + purl = "pkg:generic/azul-zulu-jdk@20.0.0?arch=amd64" + sha256 = "0386418db7f23ae677d05045d30224094fc13423593ce9cd087d455069893bac" stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"] - uri = "https://cdn.azul.com/zulu/bin/zulu19.32.13-ca-jdk19.0.2-linux_x64.tar.gz" - version = "19.0.2" + uri = "https://cdn.azul.com/zulu/bin/zulu20.28.85-ca-jdk20.0.0-linux_x64.tar.gz" + version = "20.0.0" [[metadata.dependencies.licenses]] type = "GPL-2.0 WITH Classpath-exception-2.0" uri = "https://openjdk.java.net/legal/gplv2+ce.html" [[metadata.dependencies]] - cpes = ["cpe:2.3:a:oracle:jre:19.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:azul:zulu:19.0.2:*:*:*:*:*:*:*"] + cpes = ["cpe:2.3:a:oracle:jre:20.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:azul:zulu:20.0.0:*:*:*:*:*:*:*"] id = "jre" name = "Azul Zulu JRE" - purl = "pkg:generic/azul-zulu-jre@19.0.2?arch=amd64" - sha256 = "a9dbb3e088a698d45b9fffef28154bf5e5fae59cbdf19e2bb4eeaefedb7568df" + purl = "pkg:generic/azul-zulu-jre@20.0.0?arch=amd64" + sha256 = "ece5e25913345581efbb1715db009d06671779608ec1dbb87ce3de9910518656" stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"] - uri = "https://cdn.azul.com/zulu/bin/zulu19.32.13-ca-jre19.0.2-linux_x64.tar.gz" - version = "19.0.2" + uri = "https://cdn.azul.com/zulu/bin/zulu20.28.85-ca-jre20.0.0-linux_x64.tar.gz" + version = "20.0.0" [[metadata.dependencies.licenses]] type = "GPL-2.0 WITH Classpath-exception-2.0"