Skip to content

Commit

Permalink
Bump jdk for netconf scandium tests
Browse files Browse the repository at this point in the history
Bump openjdk to 21 for scandium, also update script to set JAVA_HOME.

Change-Id: Iaff3395df1a47ad3ee936a3ed2e1d38f0494eb5b
Signed-off-by: lubos-cicut <[email protected]>
  • Loading branch information
lubos-cicut committed Aug 21, 2024
1 parent 680eebd commit 97134e8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
11 changes: 7 additions & 4 deletions jjb/integration/integration-set-variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@ else
KARAF_PROJECT="integration"
fi

if [ "$JDKVERSION" = 'openjdk17' ]; then
if [ "$JDKVERSION" = 'openjdk21' ]; then
echo "Preparing for JRE Version 21"
JAVA_HOME="/usr/lib/jvm/java-21-openjdk-amd64"
elif [ "$JDKVERSION" = 'openjdk17' ]; then
echo "Preparing for JRE Version 17"
JAVA_HOME="/usr/lib/jvm/java-17-openjdk"
JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"
elif [ "$JDKVERSION" = 'openjdk11' ]; then
echo "Preparing for JRE Version 11"
JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
elif [ "$JDKVERSION" = 'openjdk8' ]; then
echo "Preparing for JRE Version 8"
JAVA_HOME="/usr/lib/jvm/java-1.8.0"
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
fi

echo "Karaf artifact is ${KARAF_ARTIFACT}"
Expand Down
2 changes: 1 addition & 1 deletion jjb/netconf/netconf-clustering-scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
stream:
- scandium:
branch: "master"
jre: "openjdk17"
jre: "openjdk21"
- calcium:
branch: "7.0.x"
jre: "openjdk17"
Expand Down
2 changes: 1 addition & 1 deletion jjb/netconf/netconf-clustering.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
stream:
- scandium:
branch: "master"
jre: "openjdk17"
jre: "openjdk21"
- calcium:
branch: "7.0.x"
jre: "openjdk17"
Expand Down
2 changes: 1 addition & 1 deletion jjb/netconf/netconf-csit-callhome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
stream:
- scandium:
branch: "master"
jre: "openjdk17"
jre: "openjdk21"
- calcium:
branch: "7.0.x"
jre: "openjdk17"
Expand Down
4 changes: 2 additions & 2 deletions jjb/netconf/netconf-scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
stream:
- scandium:
branch: "master"
jre: "openjdk17"
jre: "openjdk21"
- calcium:
branch: "7.0.x"
jre: "openjdk17"
Expand Down Expand Up @@ -56,7 +56,7 @@
stream:
- master:
branch: "master"
jre: "openjdk17"
jre: "openjdk21"
robot-options:
"-v USE_NETCONF_CONNECTOR:False -v SCHEMA_MODEL:juniper -v\
\ INIT_DEVICE_COUNT:1000 -v MAX_DEVICE_COUNT:3000 -v DEVICE_INCREMENT:500\
Expand Down
4 changes: 2 additions & 2 deletions jjb/netconf/netconf-userfeatures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
stream:
- scandium:
branch: "master"
jre: "openjdk17"
jre: "openjdk21"
- calcium:
branch: "7.0.x"
jre: "openjdk17"
Expand All @@ -30,7 +30,7 @@
- all:
scope: "all"

tools_system_image: "ZZCI - Ubuntu 18.04 - docker - x86_64 - 20240801-040132.691"
tools_system_image: "ZZCI - Ubuntu 20.04 - docker - x86_64 - 20240801-160217.825"

# Features to install
install-features: >
Expand Down

0 comments on commit 97134e8

Please sign in to comment.