Skip to content

Commit

Permalink
Merge pull request #305 from anthonydahanne/19to20
Browse files Browse the repository at this point in the history
Replace Java 19 with 20
  • Loading branch information
dmikusa authored Mar 27, 2023
2 parents 35c7d75 + 6c1f012 commit 49db4ad
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
12 changes: 6 additions & 6 deletions .github/pipeline-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update JDK 19
name: Update JDK 20
"on":
schedule:
- cron: 0 5 * * 1-5
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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 }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update JRE 19
name: Update JRE 20
"on":
schedule:
- cron: 0 5 * * 1-5
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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 }}
20 changes: 10 additions & 10 deletions buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 49db4ad

Please sign in to comment.