-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Move java21 over so we can add java17 for debian13 #1855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -136,11 +136,14 @@ function cmd_lint () { | |
| } | ||
|
|
||
| function cmd_update_java_archives () { | ||
| source scripts/update_java_archives.sh | ||
| old_version=$(get_java_version) | ||
| generate_java_archives > private/repos/java.MODULE.bazel | ||
| new_version=$(get_java_version) | ||
| source knife.d/update_java_archives.sh | ||
| old_version=$(get_java_version 21) | ||
| generate_java_archives 21 > private/repos/java_temurin/java_21.MODULE.bazel | ||
| new_version=$(get_java_version 21) | ||
| update_test_versions_java21 $old_version $new_version | ||
|
|
||
| # java 17 set up | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we don't actually have java17 builds yet for debian13, and we need to update this when we do. |
||
| generate_java_archives 17 > private/repos/java_temurin/java_17.MODULE.bazel | ||
| } | ||
|
|
||
| function cmd_update_node_archives () { | ||
|
|
@@ -168,7 +171,7 @@ function cmd_update_node_archives () { | |
| done | ||
|
|
||
| joined_versions=$(IFS=, ; echo "${versions[*]}") | ||
| node scripts/update_node_archives.js "$joined_versions" | ||
| node knife.d/update_node_archives.js "$joined_versions" | ||
| } | ||
|
|
||
|
|
||
|
|
@@ -177,6 +180,9 @@ function cmd_test () { | |
| echo "" | ||
|
|
||
| local arch=$(uname -m) | ||
| if [ ${arch} == "x86_64" ]; then | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. uname works funny, so convert to debian arch names |
||
| arch="amd64" | ||
| fi | ||
|
|
||
| echo "💡 only including image tests for $arch" | ||
| echo "" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| "repositories for java" | ||
loosebazooka marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| include("//private/repos/java_temurin:java_17.MODULE.bazel") | ||
| include("//private/repos/java_temurin:java_21.MODULE.bazel") | ||
|
|
||
| java = use_extension("//private/extensions:java.bzl", "java") | ||
| use_repo( | ||
| java, | ||
| "java_versions", | ||
| "temurin17_jdk_amd64", | ||
| "temurin17_jdk_arm64", | ||
| "temurin17_jdk_ppc64le", | ||
| "temurin17_jre_amd64", | ||
| "temurin17_jre_arm64", | ||
| "temurin17_jre_ppc64le", | ||
| "temurin21_jdk_amd64", | ||
| "temurin21_jdk_arm64", | ||
| "temurin21_jdk_ppc64le", | ||
| "temurin21_jre_amd64", | ||
| "temurin21_jre_arm64", | ||
| "temurin21_jre_ppc64le" | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| "repositories for java 17" | ||
|
|
||
| #VERSION 17.0.16 | ||
|
|
||
| java = use_extension("//private/extensions:java.bzl", "java") | ||
| java.archive( | ||
| name = "temurin17_jre_amd64", | ||
| architecture = "amd64", | ||
| plain_version = "17.0.16", | ||
| sha256 = "2885b944da3793144d4a86a29524f4d7b68ba155f5c08afa444a3b40f7071892", | ||
| strip_prefix = "jdk-17.0.16+8-jre", | ||
| urls = ["https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.16%2B8/OpenJDK17U-jre_x64_linux_hotspot_17.0.16_8.tar.gz"], | ||
| version = "17.0.16+8", | ||
| ) | ||
| java.archive( | ||
| name = "temurin17_jdk_amd64", | ||
| architecture = "amd64", | ||
| plain_version = "17.0.16", | ||
| sha256 = "166774efcf0f722f2ee18eba0039de2d685b350ee14d7b69e6f83437dafd2af1", | ||
| strip_prefix = "jdk-17.0.16+8", | ||
| urls = ["https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.16%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.16_8.tar.gz"], | ||
| version = "17.0.16+8", | ||
| ) | ||
| java.archive( | ||
| name = "temurin17_jre_arm64", | ||
| architecture = "arm64", | ||
| plain_version = "17.0.16", | ||
| sha256 = "98f9d60be880b6ec551f5f1fcd784971aa573e8d8f5b9923fb0148c25afcd161", | ||
| strip_prefix = "jdk-17.0.16+8-jre", | ||
| urls = ["https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.16%2B8/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.16_8.tar.gz"], | ||
| version = "17.0.16+8", | ||
| ) | ||
| java.archive( | ||
| name = "temurin17_jdk_arm64", | ||
| architecture = "arm64", | ||
| plain_version = "17.0.16", | ||
| sha256 = "423416447885d9e45f96dd9e0b2c1367da5e1b0353e187cfdf9388c9820ac147", | ||
| strip_prefix = "jdk-17.0.16+8", | ||
| urls = ["https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.16%2B8/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.16_8.tar.gz"], | ||
| version = "17.0.16+8", | ||
| ) | ||
| java.archive( | ||
| name = "temurin17_jre_ppc64le", | ||
| architecture = "ppc64le", | ||
| plain_version = "17.0.16", | ||
| sha256 = "a0a3e94b278a869a2a03802cd549ca0ecdfe1f568175a8ddac113613ee9a8bb9", | ||
| strip_prefix = "jdk-17.0.16+8-jre", | ||
| urls = ["https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.16%2B8/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.16_8.tar.gz"], | ||
| version = "17.0.16+8", | ||
| ) | ||
| java.archive( | ||
| name = "temurin17_jdk_ppc64le", | ||
| architecture = "ppc64le", | ||
| plain_version = "17.0.16", | ||
| sha256 = "eb020f74e00870379522be0b44fc6322c2214e77971c258400c8b5af704d5c0a", | ||
| strip_prefix = "jdk-17.0.16+8", | ||
| urls = ["https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.16%2B8/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.16_8.tar.gz"], | ||
| version = "17.0.16+8", | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't do jetty builds anymore