diff --git a/v/vert.x/vertx_ubi_8.5.sh b/v/vert.x/vertx_ubi_8.5.sh index 50acf324f3..660043ef09 100644 --- a/v/vert.x/vertx_ubi_8.5.sh +++ b/v/vert.x/vertx_ubi_8.5.sh @@ -2,7 +2,7 @@ # ----------------------------------------------------------------------------- # # Package : vert.x -# Version : 4.3.7 +# Version : 5.0.0 # Source repo : https://github.com/eclipse-vertx/vert.x # Tested on : UBI 8.6 # Language : JAVA @@ -19,12 +19,12 @@ # ---------------------------------------------------------------------------- PACKAGE_NAME=vert.x -PACKAGE_VERSION=${1:-4.3.7} +PACKAGE_VERSION=${1:-5.0.0} PACKAGE_URL=https://github.com/eclipse-vertx/vert.x.git yum update -y yum install git wget gcc gcc-c++ openssl -y -dnf install java-1.8.0-openjdk-devel -y +dnf install java-17-openjdk-devel -y dnf -y install maven @@ -38,13 +38,13 @@ cd $PACKAGE_NAME git checkout $PACKAGE_VERSION -if ! mvn package; then +if ! mvn package | tee build-quarkus.log; then echo "------------------$PACKAGE_NAME:build_fails---------------------------------------" echo "$PACKAGE_URL $PACKAGE_NAME" exit 1 fi -if ! mvn test; then +if ! mvn test | tee -a build-quarkus.log; then echo "------------------$PACKAGE_NAME:build_fails---------------------------------------" echo "$PACKAGE_URL $PACKAGE_NAME" exit 2 diff --git a/v/vert.x/vertx_ubi_9.6.sh b/v/vert.x/vertx_ubi_9.6.sh new file mode 100644 index 0000000000..2b0c1c9676 --- /dev/null +++ b/v/vert.x/vertx_ubi_9.6.sh @@ -0,0 +1,59 @@ + #!/bin/bash -e +# ----------------------------------------------------------------------------- +# +# Package : vert.x +# Version : 5.0.0 +# Source repo : https://github.com/eclipse-vertx/vert.x +# Tested on : UBI 9.6 +# Language : JAVA +# Ci-Check : True +# Script License: Apache License, Version 2 or later +# Maintainer : Karanam Santhosh +# +# Disclaimer: This script has been tested in root mode on given +# ========== platform using the mentioned version of the package. +# It may not work as expected with newer versions of the +# package and/or distribution. In such case, please +# contact "Maintainer" of this script. +# +# ---------------------------------------------------------------------------- + +PACKAGE_NAME=vert.x +PACKAGE_VERSION=${1:-5.0.0} +PACKAGE_URL=https://github.com/eclipse-vertx/vert.x.git + +yum update -y +yum install git wget gcc gcc-c++ -y +yum install openssl-devel -y +yum install java-17-openjdk java-17-openjdk-devel -y +export JAVA_HOME=/usr/lib/jvm/java-17-openjdk +export PATH=$JAVA_HOME/bin:$PATH + +dnf -y install maven + +if ! git clone $PACKAGE_URL; then + echo "------------------$PACKAGE_NAME:clone_fails---------------------------------------" + echo "$PACKAGE_URL $PACKAGE_NAME" + exit 0 +fi + +cd $PACKAGE_NAME + +git checkout $PACKAGE_VERSION + +if ! mvn package -Dtest='!FileSystemTest#testChownToRootFails'; then + echo "------------------$PACKAGE_NAME:build_fails---------------------------------------" + echo "$PACKAGE_URL $PACKAGE_NAME" + exit 1 +fi + +if ! mvn test -Dtest='!FileSystemTest#testChownToRootFails'; then + echo "------------------$PACKAGE_NAME:build_fails---------------------------------------" + echo "$PACKAGE_URL $PACKAGE_NAME" + exit 2 +fi + +#tests failing due to netty issue refer links for the same - +#https://github.com/netty/netty-tcnative/issues/531 +#https://github.com/eclipse-vertx/vert.x/issues/4227 +#https://github.com/netty/netty/issues/12432